gnu: cagebreak: Update to 2.1.2.
* gnu/packages/wm.scm (cagebreak): Update to 2.1.2. Explicitly disable tests and substitute "/usr/share/". Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
43510204c6
commit
9f5f9ebc92
|
@ -2748,7 +2748,7 @@ shows a notification for the user on the screen.")
|
||||||
(define-public cagebreak
|
(define-public cagebreak
|
||||||
(package
|
(package
|
||||||
(name "cagebreak")
|
(name "cagebreak")
|
||||||
(version "2.0.1")
|
(version "2.1.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -2757,16 +2757,21 @@ shows a notification for the user on the screen.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0fxfmxl7p63l07lqb83q5lx16hm0rixcidghx00gp08x2yrgr4x9"))))
|
"09ky8wili3ym8qi4dasckdcdcvn4g6ak08dg0yccnwmnlwxiyps6"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-Dxwayland=true")
|
(list
|
||||||
|
#:configure-flags #~(list "-Dxwayland=true")
|
||||||
|
;; XXX: Running cagebreak tests need more tools, such as: clang-format,
|
||||||
|
;; shellcheck, git, gnupg ...
|
||||||
|
#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-data-dir
|
(add-after 'unpack 'fix-data-dir
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(substitute* "meson.build"
|
(substitute* '("cagebreak.c" "meson.build")
|
||||||
(("/etc/") (string-append (assoc-ref outputs "out") "/etc"))))))))
|
(("/etc/") (string-append #$output "/etc/"))
|
||||||
|
(("/usr/share/") (string-append #$output "/usr/share/"))))))))
|
||||||
(native-inputs (list pandoc pkg-config))
|
(native-inputs (list pandoc pkg-config))
|
||||||
(inputs (list libevdev pango wlroots))
|
(inputs (list libevdev pango wlroots))
|
||||||
(home-page "https://github.com/project-repo/cagebreak")
|
(home-page "https://github.com/project-repo/cagebreak")
|
||||||
|
|
Reference in New Issue