mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-04-16 11:04:33 +00:00
gnu: hyprland: Update to 0.28.0.
* rosenthal/packages/wm.scm (hyprland): Update to 0.28.0. <#:phases>: Substitute program paths. Substitute GIT_BRANCH, GIT_COMMIT_MESSAGE and GIT_TAG. [inputs]: Add pciutils. (wlroots-for-hyprland): Update to 0.16.0-669.e8d545a
This commit is contained in:
parent
1505b2d7b3
commit
b9eb466764
@ -84,8 +84,8 @@ command line tool called @code{udcli} that incorporates the library.")
|
|||||||
|
|
||||||
(define wlroots-for-hyprland
|
(define wlroots-for-hyprland
|
||||||
(let ((base wlroots)
|
(let ((base wlroots)
|
||||||
(revision "660")
|
(revision "669")
|
||||||
(commit "7791ffe0584c4ac13c170e1661ce33bdbd4a9b9e"))
|
(commit "e8d545a9770a2473db32e0a0bfa757b05d2af4f3"))
|
||||||
(package
|
(package
|
||||||
(inherit base)
|
(inherit base)
|
||||||
(name "wlroots")
|
(name "wlroots")
|
||||||
@ -98,7 +98,7 @@ command line tool called @code{udcli} that incorporates the library.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1q85iadv6rad97hm26amixr4zcp7kws57f438fnxg44v0saww56x"))))
|
"1pz8i3g24flswvv762jxnhff67jgl2nvqrj03f84fi1srf769zl2"))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(modify-inputs (package-propagated-inputs base)
|
(modify-inputs (package-propagated-inputs base)
|
||||||
(append libdisplay-info-for-hyprland libxcb xcb-util-renderutil)
|
(append libdisplay-info-for-hyprland libxcb xcb-util-renderutil)
|
||||||
@ -152,11 +152,11 @@ protocols used by Hyprland to bridge the aforementioned gap.")
|
|||||||
(base32 "14nijw02lb0c4h06adki0w7amgxg1m0qj48ds7iq4bq6fkl1m5l0"))))
|
(base32 "14nijw02lb0c4h06adki0w7amgxg1m0qj48ds7iq4bq6fkl1m5l0"))))
|
||||||
|
|
||||||
(define-public hyprland
|
(define-public hyprland
|
||||||
(let ((commit "b08b72358ad549fd066e5be0fc3aa4c9df367607"))
|
(let ((commit "9654749244117f7f150c6f2a2ce4dede6e8cbb25"))
|
||||||
(package
|
(package
|
||||||
(name "hyprland")
|
(name "hyprland")
|
||||||
;; NOTE: Remember to update commit hash ^
|
;; NOTE: Remember to update commit hash ^
|
||||||
(version "0.27.2")
|
(version "0.28.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -167,26 +167,38 @@ protocols used by Hyprland to bridge the aforementioned gap.")
|
|||||||
hyprland-portals-patch))
|
hyprland-portals-patch))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0jyp4amy5hryczxa73lc5dpvarqxb6r1zsrqzwffan1nrhhqzsyq"))))
|
"1ipg3f1js291vyh9888qsy5hgqqj10m8zzc1y8i1ihgikyzsqlmp"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:build-type "release"
|
(list #:build-type "release"
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-default-wallpaper-path
|
(add-after 'unpack 'fix-path
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/render/OpenGL.cpp"
|
(substitute* "src/render/OpenGL.cpp"
|
||||||
(("/usr") #$output))))
|
(("/usr") #$output))
|
||||||
|
(substitute* (find-files "src" "\\.cpp")
|
||||||
|
(("(execAndGet\\(\\(?\")\\<(cat|fc-list|lspci|nm)\\>"
|
||||||
|
_ pre cmd)
|
||||||
|
(format #f "~a~a"
|
||||||
|
pre
|
||||||
|
(search-input-file
|
||||||
|
inputs (string-append "/bin/" cmd)))))))
|
||||||
(add-after 'unpack 'substitute-meson-build
|
(add-after 'unpack 'substitute-meson-build
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "meson.build"
|
(substitute* "meson.build"
|
||||||
(("git") "true")
|
(("git") "true")
|
||||||
(("@GIT_DIRTY@") "")
|
(("@GIT_BRANCH@") "main")
|
||||||
(("@GIT_COMMIT_HASH@") #$commit)))))))
|
(("@GIT_COMMIT_HASH@") #$commit)
|
||||||
|
(("@GIT_COMMIT_MESSAGE@") "?")
|
||||||
|
(("@GIT_DIRTY@") ""))
|
||||||
|
(substitute* (find-files "src" "\\.cpp")
|
||||||
|
(("GIT_TAG") (format #f "\"v~a\"" #$version))))))))
|
||||||
(native-inputs (list gcc-12 jq pkg-config))
|
(native-inputs (list gcc-12 jq pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
(list hyprland-protocols
|
(list hyprland-protocols
|
||||||
pango
|
pango
|
||||||
|
pciutils
|
||||||
udis86-for-hyprland
|
udis86-for-hyprland
|
||||||
wlroots-for-hyprland))
|
wlroots-for-hyprland))
|
||||||
(home-page "https://hyprland.org")
|
(home-page "https://hyprland.org")
|
||||||
|
Loading…
Reference in New Issue
Block a user