rosenthal: noctalia: Update to 5.0.0-beta2.

* modules/rosenthal/packages/wm.scm (noctalia): Update to 5.0.0-beta2.
[inputs]: Add md4c, nlohmann-json, stb-image-resize2, stb-image-write,
tomlplusplus.
[arguments]: Adjust stb import path.
This commit is contained in:
Hilton Chain 2026-07-10 23:19:09 +08:00
parent 08ac8f2e93
commit 63d7c774dc
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -12,6 +12,7 @@
;; Guix build systems ;; Guix build systems
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
;; Guix packages ;; Guix packages
#:use-module (gnu packages cpp)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop) #:use-module (gnu packages freedesktop)
@ -22,10 +23,12 @@
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (gnu packages jemalloc) #:use-module (gnu packages jemalloc)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages markup)
#:use-module (gnu packages maths) #:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision) #:use-module (gnu packages multiprecision)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit) #:use-module (gnu packages polkit)
#:use-module (gnu packages stb)
#:use-module (gnu packages xdisorg) #:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)) #:use-module (gnu packages xml))
@ -48,7 +51,7 @@
(define-public noctalia (define-public noctalia
(package (package
(name "noctalia") (name "noctalia")
(version "5.0.0-beta1") (version "5.0.0-beta2")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -57,7 +60,7 @@
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"194fhlxn79d8hg0qgczk51jrbnifnvhgikz6npqirzb0kfifxyz9")))) "0lmshnybaiwb4s3lmp5jmbq589xlf9sy1bf9nirkk5s258ihgafa"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
(list #:build-type "release" (list #:build-type "release"
@ -71,7 +74,11 @@
;; /bin/sh doesn't exist in the build environment. ;; /bin/sh doesn't exist in the build environment.
(substitute* "tests/process_test.cpp" (substitute* "tests/process_test.cpp"
(("/bin/(sh)" _ cmd) (("/bin/(sh)" _ cmd)
(which cmd)))))))) (which cmd)))
;; Adjust stb import path for the Guix dependency.
(substitute* (cons "meson.build"
(find-files "src" "\\.cpp$"))
(("stb/stb") "stb")))))))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(inputs (inputs
@ -90,11 +97,16 @@
libxkbcommon libxkbcommon
libxml2 libxml2
linux-pam linux-pam
md4c
mesa mesa
nlohmann-json
pango pango
pipewire pipewire
polkit polkit
sdbus-c++ sdbus-c++
stb-image-resize2
stb-image-write
tomlplusplus
wayland wayland
wayland-protocols-1.48 wayland-protocols-1.48
wireplumber)) wireplumber))