mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: lxqt-config: Update to 0.14.1.
* gnu/packages/lxqt.scm (lxqt-config): Update to 0.14.1. [inputs]: Add eudev, libxi, xf86-input-libinput. [arguments]: Remove #:configure-flags. <#:phases>[patch-translations-dir]: New phase. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
6a75a1a561
commit
2493df4404
1 changed files with 20 additions and 6 deletions
|
@ -350,25 +350,28 @@ (define-public lxqt-admin
|
||||||
(define-public lxqt-config
|
(define-public lxqt-config
|
||||||
(package
|
(package
|
||||||
(name "lxqt-config")
|
(name "lxqt-config")
|
||||||
(version "0.13.0")
|
(version "0.14.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
|
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
|
||||||
version "/" name "-" version ".tar.xz"))
|
version "/" name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0rizhl2v41kpgp57a61r6nmwcdw8nh9hprrrf33nfrdw8hpwxb95"))))
|
(base32 "16k36knv6d72gg8hp7423l3ic43y3l3zbaf3spqn2a354y30myrg"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("kwindowsystem" ,kwindowsystem)
|
`(("eudev" ,eudev)
|
||||||
|
("kwindowsystem" ,kwindowsystem)
|
||||||
("libkscreen" ,libkscreen)
|
("libkscreen" ,libkscreen)
|
||||||
("liblxqt" ,liblxqt)
|
("liblxqt" ,liblxqt)
|
||||||
("libqtxdg" ,libqtxdg)
|
("libqtxdg" ,libqtxdg)
|
||||||
("libxcursor" ,libxcursor)
|
("libxcursor" ,libxcursor)
|
||||||
|
("libxi" ,libxi)
|
||||||
("qtbase" ,qtbase)
|
("qtbase" ,qtbase)
|
||||||
("qtsvg" ,qtsvg)
|
("qtsvg" ,qtsvg)
|
||||||
("qtx11extras" ,qtx11extras)
|
("qtx11extras" ,qtx11extras)
|
||||||
("solid" ,solid)
|
("solid" ,solid)
|
||||||
|
("xf86-input-libinput" ,xf86-input-libinput)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
|
@ -376,9 +379,6 @@ (define-public lxqt-config
|
||||||
("qttools" ,qttools)))
|
("qttools" ,qttools)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no tests
|
'(#:tests? #f ; no tests
|
||||||
#:configure-flags
|
|
||||||
;; TODO: prefetch translations files from 'lxqt-l10n'.
|
|
||||||
'("-DPULL_TRANSLATIONS=NO")
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-source
|
(add-after 'unpack 'patch-source
|
||||||
|
@ -386,6 +386,20 @@ (define-public lxqt-config
|
||||||
(substitute* '("src/CMakeLists.txt")
|
(substitute* '("src/CMakeLists.txt")
|
||||||
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
||||||
"DESTINATION \"etc/xdg"))
|
"DESTINATION \"etc/xdg"))
|
||||||
|
#t))
|
||||||
|
(add-after 'unpack 'patch-translations-dir
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* '("lxqt-config-file-associations/CMakeLists.txt"
|
||||||
|
"lxqt-config-brightness/CMakeLists.txt"
|
||||||
|
"lxqt-config-appearance/CMakeLists.txt"
|
||||||
|
"lxqt-config-locale/CMakeLists.txt"
|
||||||
|
"lxqt-config-monitor/CMakeLists.txt"
|
||||||
|
"lxqt-config-input/CMakeLists.txt"
|
||||||
|
"liblxqt-config-cursor/CMakeLists.txt"
|
||||||
|
"src/CMakeLists.txt")
|
||||||
|
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/lxqt/translations")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "https://lxqt.org")
|
(home-page "https://lxqt.org")
|
||||||
(synopsis "Tools to configure LXQt and the underlying operating system")
|
(synopsis "Tools to configure LXQt and the underlying operating system")
|
||||||
|
|
Loading…
Reference in a new issue