rosenthal: noctalia: Update to 5.0.0-beta1.

* modules/rosenthal/packages/wm.scm (rosenthal): Update to 5.0.0-beta1.
[arguments]: Enable tests.
[inputs]: Add wireplumber.
This commit is contained in:
Hilton Chain committed 2026-07-05 00:07:14 +08:00
1 parent 745ad5e88f
commit 6cf57b252d
1 file changed
+57 -65
+57 -65
View File
@@ -46,71 +46,63 @@
;; TODO: Unbundle dependencies under the third_party directory. ;; TODO: Unbundle dependencies under the third_party directory.
(define-public noctalia (define-public noctalia
(let ((commit "2070b4b70cd78931cbf87439acc2cc6dbdff4174") (package
(revision "1")) (name "noctalia")
(package (version "5.0.0-beta1")
(name "noctalia") (source (origin
(version (git-version "5.0.0" revision commit)) (method git-fetch)
(source (origin (uri (git-reference
(method git-fetch) (url "https://github.com/noctalia-dev/noctalia-shell")
(uri (git-reference (commit (string-append "v" version))))
(url "https://github.com/noctalia-dev/noctalia-shell") (file-name (git-file-name name version))
(commit commit))) (sha256
(file-name (git-file-name name version)) (base32
(sha256 "194fhlxn79d8hg0qgczk51jrbnifnvhgikz6npqirzb0kfifxyz9"))))
(base32 (build-system meson-build-system)
"18j09sck1pm8p4npvrpykjzvb4613j4k795vd1j637pq37vw759a")))) (arguments
(build-system meson-build-system) (list #:build-type "release"
(arguments #:phases
(list #:build-type "release" #~(modify-phases %standard-phases
;; FIXME: process_test fails with: (add-after 'unpack 'prepare-for-build
;; --8<---------------cut here---------------start------------->8--- (lambda _
;; stderr: ;; For reproducibility.
;; process_test: completion-only async command exit code was wrong (substitute* "meson.build"
;; process_test: completion-only async command stdout was wrong (("'-march=native', '-mtune=native',") ""))
;; --8<---------------cut here---------------end--------------->8--- ;; /bin/sh doesn't exist in the build environment.
#:tests? #f (substitute* "tests/process_test.cpp"
#:phases (("/bin/(sh)" _ cmd)
#~(modify-phases %standard-phases (which cmd))))))))
(add-after 'unpack 'prepare-for-build (native-inputs
(lambda _ (list pkg-config))
;; For reproducibility. (inputs
(substitute* "meson.build" (list cairo
(("'-march=native', '-mtune=native',") "")) curl
;; /bin/sh doesn't exist in the build environment. fontconfig
(substitute* "tests/process_test.cpp" freetype
(("/bin/(sh)" _ cmd) glib
(which cmd)))))))) gmp
(native-inputs mpfr
(list pkg-config)) harfbuzz
(inputs jemalloc
(list cairo (librsvg-for-system)
curl libqalculate
fontconfig libwebp
freetype libxkbcommon
glib libxml2
gmp linux-pam
mpfr mesa
harfbuzz pango
jemalloc pipewire
(librsvg-for-system) polkit
libqalculate sdbus-c++
libwebp wayland
libxkbcommon wayland-protocols-1.48
libxml2 wireplumber))
linux-pam (home-page "https://noctalia.dev/")
mesa (synopsis "Wayland shell and bar")
pango (description
pipewire "Noctalia is a lightweight Wayland shell and bar built directly on
polkit
sdbus-c++
wayland
wayland-protocols-1.48))
(home-page "https://noctalia.dev/")
(synopsis "Wayland shell and bar")
(description
"Noctalia is a lightweight Wayland shell and bar built directly on
Wayland and OpenGL ES, with no Qt or GTK dependency.") Wayland and OpenGL ES, with no Qt or GTK dependency.")
(license license:expat)))) (license license:expat)))
(define-deprecated-package noctalia-shell noctalia) (define-deprecated-package noctalia-shell noctalia)