This commit is contained in:
Daniel Ziltener 2024-04-03 16:13:09 +02:00
parent 79fee79362
commit 8434598518
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -36,6 +36,7 @@
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages hardware) #:use-module (gnu packages hardware)
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (gnu packages linux)
#:use-module (gnu packages pciutils) #:use-module (gnu packages pciutils)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
@ -165,7 +166,7 @@
(define-public hyprpaper (define-public hyprpaper
(package (package
(name "hyprpaper") (name "hyprpaper")
(version "0.5.0") (version "0.6.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -173,12 +174,25 @@
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(sha256 (sha256
(base32 (base32
"18z6yf3jxfpagyqa73j8imp9450xm4wp2f8rjjvlqbpd425yvhdm")))) "0bcb2jfnw5752h3lyflvl12v9m61yrdmff1ry2y98m42v1l6gb4s"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments
(list
#:phases #~(modify-phases %standard-phases
(add-before 'configure 'generate-protocols
(lambda _
(setenv "CC" "gcc")
(invoke "make" "protocols")))
(replace 'install
(lambda _
(invoke "cmake" "--install" ".")))
(delete 'check))))
(native-inputs (native-inputs
(list gcc-13 (list gcc-13
mesa
rosenthal:hyprland-protocols rosenthal:hyprland-protocols
wayland-protocols-for-hyprland wayland-protocols-for-hyprland
wlroots-for-hyprland
pkg-config)) pkg-config))
(inputs (inputs
(list cairo-for-hyprland (list cairo-for-hyprland
@ -187,11 +201,75 @@
libjpeg-turbo libjpeg-turbo
libwebp libwebp
rosenthal:hyprlang rosenthal:hyprlang
mesa
pango pango
wayland wayland))
wlroots-for-hyprland))
(home-page "https://github.com/hyprwm/hyprpaper") (home-page "https://github.com/hyprwm/hyprpaper")
(synopsis "Hyprpaper is a blazing fast wayland wallpaper utility with IPC controls") (synopsis "Hyprpaper is a blazing fast wayland wallpaper utility with IPC controls")
(description "Hyprpaper is a blazing fast wallpaper utility for Hyprland with the ability to dynamically change wallpapers through sockets. It will work on all wlroots-based compositors, though.") (description "Hyprpaper is a blazing fast wallpaper utility for Hyprland with the ability to dynamically change wallpapers through sockets. It will work on all wlroots-based compositors, though.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public hypridle
(package
(name "hypridle")
(version "0.1.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hyprwm/hypridle.git")
(commit (string-append "v" version))))
(sha256
(base32
"0k0izx34zp65lawl25n8my2m4yfql9zmfljlkz50k4yr8d9qbb31"))))
(build-system cmake-build-system)
(arguments
(list
#:phases #~(modify-phases %standard-phases
(delete 'check))))
(native-inputs
(list gcc-13
wayland-protocols-for-hyprland
pkg-config))
(inputs
(list rosenthal:hyprlang
sdbus-c++
wayland))
(home-page "https://github.com/hyprwm/hypridle")
(synopsis "Hyprland's idle daemon")
(description "Hyprland's idle daemon.")
(license license:bsd-3)))
(define-public hyprlock
(package
(name "hyprlock")
(version "0.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hyprwm/hyprlock.git")
(commit (string-append "v" version))))
(sha256
(base32
"0vj8jfflc8zw769dqdqq7ms3dfafsirb2c0g37xsqkc4rzzri7nn"))))
(build-system cmake-build-system)
(arguments
(list
#:phases #~(modify-phases %standard-phases
(delete 'check))))
(native-inputs
(list gcc-13
linux-pam
mesa
pkg-config
wayland))
(inputs
(list cairo-for-hyprland
pango
libdrm-for-hyprland
libglvnd
libxkbcommon
wayland-protocols-for-hyprland
rosenthal:hyprlang))
(home-page "https://github.com/hyprwm/hyprlock")
(synopsis "Hyprland's GPU-accelerated screen locking utility")
(description "Hyprland's simple, yet multi-threaded and GPU-accelerated screen locking utility.")
(license license:bsd-3)))