|
|
@ -83,11 +83,11 @@ 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 "212") |
|
|
|
(revision "368") |
|
|
|
(commit "5f264a7d6c8af27d41ff440c05262b022c055593")) |
|
|
|
(commit "6830bfc17fd94709e2cdd4da0af989f102a26e59")) |
|
|
|
(package |
|
|
|
(package |
|
|
|
(inherit base) |
|
|
|
(inherit base) |
|
|
|
(name "wlroots-for-hyprland") |
|
|
|
(name "wlroots") |
|
|
|
(version (git-version "0.16.0" revision commit)) |
|
|
|
(version (git-version "0.16.0" revision commit)) |
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method git-fetch) |
|
|
|
(method git-fetch) |
|
|
@ -97,24 +97,15 @@ 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 |
|
|
|
"1qgdpigisgzvhf5m48v0vp21hn4fpljkjgij9wlmlmkv7rk2idj9")))) |
|
|
|
"13i83186hwpbghdflyqq1s762rqxzb75rj45c05vd6xx0f8j6q8q")))) |
|
|
|
(build-system meson-build-system) |
|
|
|
|
|
|
|
(arguments |
|
|
|
|
|
|
|
(list #:build-type "release" |
|
|
|
|
|
|
|
#:phases |
|
|
|
|
|
|
|
#~(modify-phases %standard-phases |
|
|
|
|
|
|
|
(add-after 'unpack 'fix-hwdata-path |
|
|
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys) |
|
|
|
|
|
|
|
(substitute* "backend/drm/meson.build" |
|
|
|
|
|
|
|
(("/usr/\\<(share/hwdata/pnp\\.ids)\\>" all path) |
|
|
|
|
|
|
|
(search-input-file inputs path)))))))) |
|
|
|
|
|
|
|
(propagated-inputs |
|
|
|
(propagated-inputs |
|
|
|
(modify-inputs (package-propagated-inputs base) |
|
|
|
(modify-inputs (package-propagated-inputs base) |
|
|
|
(append libdrm-2.4.115 libxcb xcb-util-renderutil) |
|
|
|
(append libdisplay-info-for-hyprland libxcb xcb-util-renderutil) |
|
|
|
(replace "libxkbcommon" libxkbcommon-minimal) |
|
|
|
|
|
|
|
(replace "pixman" pixman-0.42.2) |
|
|
|
(replace "pixman" pixman-0.42.2) |
|
|
|
(replace "wayland-protocols" wayland-protocols-1.31))) |
|
|
|
(replace "wayland-protocols" wayland-protocols-1.31))) |
|
|
|
(native-inputs (list `(,hwdata "pnp") pkg-config))))) |
|
|
|
(native-inputs |
|
|
|
|
|
|
|
(modify-inputs (package-native-inputs base) |
|
|
|
|
|
|
|
(replace "hwdata" `(,hwdata-for-hyprland "out"))))))) |
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprland-protocols |
|
|
|
(define-public hyprland-protocols |
|
|
|
(package |
|
|
|
(package |
|
|
@ -144,48 +135,57 @@ protocols used by Hyprland to bridge the aforementioned gap.") |
|
|
|
(origin |
|
|
|
(origin |
|
|
|
(method url-fetch) |
|
|
|
(method url-fetch) |
|
|
|
(uri (string-append "https://github.com/hyprwm/Hyprland" "/raw/" |
|
|
|
(uri (string-append "https://github.com/hyprwm/Hyprland" "/raw/" |
|
|
|
"2f6b37e1032fbacd506978e0098807e1b334aa5d" "/nix/" |
|
|
|
"72d2f33b34951b7f5be6cdbc302b1c6a33cbf60f" "/nix/" |
|
|
|
"meson-build.patch")) |
|
|
|
"meson-build.patch")) |
|
|
|
(file-name "hyprland-unbundle-wlroots.patch") |
|
|
|
(file-name "hyprland-unbundle-wlroots.patch") |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 "083r6a2pmnnrz1jz3g3ikx8dffs3ajdd49gawnh3skm59snanr2l")))) |
|
|
|
(base32 "1wj0kwvkkk2r7k18m9i2hdp9i9z7n330dib27jlbc8mjr96976y5")))) |
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprland |
|
|
|
(define-public hyprland |
|
|
|
(package |
|
|
|
(let ((commit "0432804b180dbdf7aed64a5bf71b912a937e2e04") |
|
|
|
(name "hyprland") |
|
|
|
(revision "2")) |
|
|
|
(version "0.21.0beta") |
|
|
|
(package |
|
|
|
(source (origin |
|
|
|
(name "hyprland") |
|
|
|
(method git-fetch) |
|
|
|
(version (git-version "0.25.0" revision commit)) |
|
|
|
(uri (git-reference |
|
|
|
(source (origin |
|
|
|
(url "https://github.com/hyprwm/Hyprland") |
|
|
|
(method git-fetch) |
|
|
|
(commit (string-append "v" version)))) |
|
|
|
(uri (git-reference |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(url "https://github.com/hyprwm/Hyprland") |
|
|
|
(patches (list hyprland-unbundle-wlroots-patch)) |
|
|
|
(commit commit))) |
|
|
|
(modules '((guix build utils))) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(snippet '(substitute* "meson.build" |
|
|
|
(patches (list hyprland-unbundle-wlroots-patch)) |
|
|
|
(("git") "true"))) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"1whxqn69yxzl04zbh0yccqwgjqrpzm7bxglpkfil889039g8vhjb")))) |
|
|
|
"0ff4lpg82bmxzlx8kb11shb550fqq8arp5gycg702qc9yjzsqnqi")))) |
|
|
|
(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-default-wallpaper-path |
|
|
|
(lambda _ |
|
|
|
(lambda _ |
|
|
|
(substitute* "src/render/OpenGL.cpp" |
|
|
|
(substitute* "src/render/OpenGL.cpp" |
|
|
|
(("/usr") #$output)))) |
|
|
|
(("/usr") #$output))))))) |
|
|
|
(add-after 'unpack 'substitute-meson-build |
|
|
|
(native-inputs (list gcc-12 jq pkg-config)) |
|
|
|
(lambda _ |
|
|
|
(inputs (list cairo hyprland-protocols pixman-0.42.2 wlroots-for-hyprland)) |
|
|
|
(substitute* "meson.build" |
|
|
|
(home-page "https://hyprland.org") |
|
|
|
(("git") "true") |
|
|
|
(synopsis "Dynamic tiling Wayland compositor based on wlroots") |
|
|
|
(("@GIT_DIRTY@") "") |
|
|
|
(description |
|
|
|
(("@GIT_COMMIT_HASH@") #$commit))))))) |
|
|
|
"@code{Hyprland} is a dynamic tiling Wayland compositor based on |
|
|
|
(native-inputs (list gcc-12 jq pkg-config)) |
|
|
|
|
|
|
|
(inputs |
|
|
|
|
|
|
|
(list hyprland-protocols |
|
|
|
|
|
|
|
pango |
|
|
|
|
|
|
|
udis86-for-hyprland |
|
|
|
|
|
|
|
wlroots-for-hyprland)) |
|
|
|
|
|
|
|
(home-page "https://hyprland.org") |
|
|
|
|
|
|
|
(synopsis "Dynamic tiling Wayland compositor based on wlroots") |
|
|
|
|
|
|
|
(description |
|
|
|
|
|
|
|
"@code{Hyprland} is a dynamic tiling Wayland compositor based on |
|
|
|
@code{wlroots} that doesn't sacrifice on its looks. It supports multiple |
|
|
|
@code{wlroots} that doesn't sacrifice on its looks. It supports multiple |
|
|
|
layouts, fancy effects, has a very flexible IPC model allowing for a lot of |
|
|
|
layouts, fancy effects, has a very flexible IPC model allowing for a lot of |
|
|
|
customization, and more.") |
|
|
|
customization, and more.") |
|
|
|
(license license:bsd-3))) |
|
|
|
(license license:bsd-3)))) |
|
|
|
|
|
|
|
|
|
|
|
;; No releases yet. |
|
|
|
;; No releases yet. |
|
|
|
(define-public grimblast |
|
|
|
(define-public grimblast |
|
|
|