Work on Hyprland

This commit is contained in:
Daniel Ziltener 2023-12-09 21:17:15 +01:00
parent 2aa768893d
commit 645f72f5f2
Signed by: zilti
GPG Key ID: B38976E82C9DAE42

View File

@ -29,6 +29,8 @@
#:use-module (gnu packages xdisorg) #:use-module (gnu packages xdisorg)
#:use-module (gnu packages rust) #:use-module (gnu packages rust)
#:use-module (gnu packages web) #:use-module (gnu packages web)
#:use-module (gnu packages video)
#:use-module (gnu packages vulkan)
#:use-module (gnu packages wm) #:use-module (gnu packages wm)
#:use-module (gnu packages xorg)) #:use-module (gnu packages xorg))
@ -75,27 +77,6 @@ Each database is contained in a specific package output, such as the
(license (list license:gpl2+ (license (list license:gpl2+
license:expat)))) ;XFree86 1.0 license:expat)))) ;XFree86 1.0
(define-public libdisplay-info
(package
(name "libdisplay-info")
(version "0.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.freedesktop.org/emersion/libdisplay-info")
(commit "0.1.1")))
(file-name (git-file-name name version))
(sha256 (base32 "1ffq7w1ig1y44rrmkv1hvfjylzgq7f9nlnnsdgdv7pmcpfh45pgf"))))
(native-inputs
(list pkg-config edid-decode hwdata python-wrapper))
(inputs (list python))
(build-system meson-build-system)
(home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info")
(synopsis "Hello, GNU world: An example GNU package")
(description "EDID and DisplayID library")
(license license:expat)))
(define-public pixman (define-public pixman
(package (package
(name "pixman") (name "pixman")
@ -130,7 +111,7 @@ rasterisation.")
(home-page "http://www.pixman.org/") (home-page "http://www.pixman.org/")
(license license:expat))) (license license:expat)))
(define-public wlroots (define-public wlroots-0.17
(package (package
(name "wlroots") (name "wlroots")
(version "0.17.0") (version "0.17.0")
@ -165,11 +146,18 @@ rasterisation.")
(propagated-inputs (propagated-inputs
(list ;; As required by wlroots.pc. (list ;; As required by wlroots.pc.
eudev eudev
libinput-minimal ffmpeg-4
libxkbcommon libxkbcommon
mesa mesa
pixman pixman
libcap
libdisplay-info
libinput
libpng
libseat libseat
libxkbcommon
mesa
vulkan-loader
wayland wayland
wayland-protocols wayland-protocols
xcb-util-errors xcb-util-errors
@ -238,10 +226,36 @@ Wayland compositor based on wlroots") (description "Hyprland.")
(description "Disassembler") (description "Disassembler")
(license license:bsd-2))) (license license:bsd-2)))
(define-public libdisplay-info
(package
(name "libdisplay-info")
(version "0.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.freedesktop.org/emersion/libdisplay-info")
(commit version)))
(sha256
(base32 "1ffq7w1ig1y44rrmkv1hvfjylzgq7f9nlnnsdgdv7pmcpfh45pgf"))))
(build-system meson-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(delete 'check))))
(native-inputs
(list pkg-config
edid-decode
hwdata
python-wrapper))
(home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info")
(synopsis "EDID and DisplayID library")
(description "EDID and DisplayID library")
(license license:expat)))
(define-public hyprland (define-public hyprland
(package (package
(name "hyprland") (name "hyprland")
(version "0.32.3") (version "0.33.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -250,7 +264,7 @@ Wayland compositor based on wlroots") (description "Hyprland.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "17h8gy7wvsxg1ypq70b0cldz6h599xi7fibawlm2g6cvxkmzdwzh")) (base32 "1b4d6r68cqx09blf5xdr1c23hw7axr8sx21wsxjjygqrhkkabdx7"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
#~(begin #~(begin
@ -283,6 +297,7 @@ Wayland compositor based on wlroots") (description "Hyprland.")
glu glu
glfw glfw
hyprland-protocols hyprland-protocols
libdisplay-info
libglvnd libglvnd
libinput libinput
libxkbcommon libxkbcommon
@ -293,7 +308,7 @@ Wayland compositor based on wlroots") (description "Hyprland.")
pango pango
pciutils pciutils
udis86 udis86
wlroots wlroots-0.17
xcb-util)) xcb-util))
(home-page "https://www.hyprland.org") (home-page "https://www.hyprland.org")
(synopsis "Dynamic tiling (synopsis "Dynamic tiling