.
This commit is contained in:
parent
4496521e34
commit
cccbe8a5fb
1 changed files with 99 additions and 73 deletions
|
@ -195,82 +195,108 @@ including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel
|
||||||
and Matrox.")
|
and Matrox.")
|
||||||
(license license:x11)))
|
(license license:x11)))
|
||||||
|
|
||||||
(define-public wlroots-master
|
(define-public libliftoff
|
||||||
(package
|
(package
|
||||||
(name "wlroots")
|
(name "libliftoff")
|
||||||
(version "fe6f380f2653751e95be6f99922d10bea1327145")
|
(version "0.4.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://gitlab.freedesktop.org/wlroots/wlroots")
|
(url "https://gitlab.freedesktop.org/emersion/libliftoff")
|
||||||
(commit version)))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(sha256
|
||||||
(sha256
|
(base32
|
||||||
(base32
|
"1ikjp638d655ycaqkdnzhb12d29kkbb3a46lqhbhsfc8vsqj3z1l"))))
|
||||||
"09g8vb9yq8b2nlvrgak197f98qcls5cdbvbva9mgr6spczgkjaxi"))))
|
(build-system meson-build-system)
|
||||||
(build-system meson-build-system)
|
(native-inputs
|
||||||
(arguments
|
(list pkg-config))
|
||||||
`(#:configure-flags
|
(inputs
|
||||||
'("-Dauto_features=enabled")
|
(list libdrm-2.4.120))
|
||||||
#:phases
|
(home-page "https://gitlab.freedesktop.org/emersion/libliftoff")
|
||||||
(modify-phases
|
(synopsis "Lightweight KMS plane library")
|
||||||
%standard-phases
|
(description "libliftoff eases the use of KMS planes from userspace without standing in your
|
||||||
(add-before 'configure 'hardcode-paths
|
way. Users create \"virtual planes\" called layers, set KMS properties on them,
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
and libliftoff will pick hardware planes for these layers if possible.")
|
||||||
(substitute* "xwayland/server.c"
|
(license license:expat)))
|
||||||
(("Xwayland") (string-append (assoc-ref inputs
|
|
||||||
"xorg-server-xwayland")
|
(define-public wlroots-0.17.1
|
||||||
"/bin/Xwayland")))
|
(package
|
||||||
#t))
|
(name "wlroots")
|
||||||
(add-before 'configure 'fix-meson-file
|
(version "0.17.1")
|
||||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
(source
|
||||||
(substitute* "backend/drm/meson.build"
|
(origin
|
||||||
(("/usr/share/hwdata/pnp.ids")
|
(method git-fetch)
|
||||||
(string-append (assoc-ref (or native-inputs inputs) "hwdata")
|
(uri (git-reference
|
||||||
"/share/hwdata/pnp.ids"))))))))
|
(url "https://gitlab.freedesktop.org/wlroots/wlroots")
|
||||||
(propagated-inputs
|
(commit version)))
|
||||||
(list ;; As required by wlroots.pc.
|
(file-name (git-file-name name version))
|
||||||
eudev
|
(sha256
|
||||||
ffmpeg-4
|
(base32
|
||||||
glslang
|
"1hj4gq5vx8in65622yvjm8bwqkw2vpc556k9my997a0hn0ricj37"))))
|
||||||
libxkbcommon
|
(build-system meson-build-system)
|
||||||
mesa
|
(arguments
|
||||||
pixman
|
`(#:configure-flags
|
||||||
libcap
|
'("-Dauto_features=enabled")
|
||||||
libdisplay-info
|
#:phases
|
||||||
libinput-1.25
|
(modify-phases
|
||||||
libpng
|
%standard-phases
|
||||||
libseat
|
(add-before 'configure 'hardcode-paths
|
||||||
libxkbcommon
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
mesa
|
(substitute* "xwayland/server.c"
|
||||||
vulkan-loader
|
(("Xwayland") (string-append (assoc-ref inputs
|
||||||
wayland
|
"xorg-server-xwayland")
|
||||||
wayland-protocols
|
"/bin/Xwayland")))
|
||||||
xcb-util-errors
|
#t))
|
||||||
xcb-util-renderutil
|
(add-before 'configure 'fix-meson-file
|
||||||
xcb-util-wm
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||||
xorg-server-xwayland))
|
(substitute* "backend/drm/meson.build"
|
||||||
(inputs
|
(("/usr/share/hwdata/pnp.ids")
|
||||||
(list libdrm-2.4.120))
|
(string-append (assoc-ref (or native-inputs inputs) "hwdata")
|
||||||
(native-inputs
|
"/share/hwdata/pnp.ids"))))))))
|
||||||
(cons*
|
(propagated-inputs
|
||||||
`(,hwdata "pnp")
|
(list ;; As required by wlroots.pc.
|
||||||
cmake
|
eudev
|
||||||
hwdata
|
ffmpeg-4
|
||||||
mesa-headers
|
glslang
|
||||||
vulkan-headers
|
libxkbcommon
|
||||||
pkg-config
|
mesa
|
||||||
wayland
|
pixman
|
||||||
(if (%current-target-system)
|
libcap
|
||||||
(list pkg-config-for-build)
|
libdisplay-info
|
||||||
'())))
|
libinput-1.25
|
||||||
(home-page "https://gitlab.freedesktop.org/wlroots/wlroots/")
|
libliftoff
|
||||||
(synopsis "Pluggable, composable, unopinionated modules for building a
|
libpng
|
||||||
|
libseat
|
||||||
|
libxkbcommon
|
||||||
|
mesa
|
||||||
|
vulkan-loader
|
||||||
|
wayland
|
||||||
|
wayland-protocols
|
||||||
|
xcb-util-errors
|
||||||
|
xcb-util-renderutil
|
||||||
|
xcb-util-wm
|
||||||
|
xorg-server-xwayland))
|
||||||
|
(inputs
|
||||||
|
(list libdrm-2.4.120))
|
||||||
|
(native-inputs
|
||||||
|
(cons*
|
||||||
|
`(,hwdata "pnp")
|
||||||
|
cmake
|
||||||
|
hwdata
|
||||||
|
mesa-headers
|
||||||
|
vulkan-headers
|
||||||
|
pkg-config
|
||||||
|
wayland
|
||||||
|
(if (%current-target-system)
|
||||||
|
(list pkg-config-for-build)
|
||||||
|
'())))
|
||||||
|
(home-page "https://gitlab.freedesktop.org/wlroots/wlroots/")
|
||||||
|
(synopsis "Pluggable, composable, unopinionated modules for building a
|
||||||
Wayland compositor")
|
Wayland compositor")
|
||||||
(description "wlroots is a set of pluggable, composable, unopinionated
|
(description "wlroots is a set of pluggable, composable, unopinionated
|
||||||
modules for building a Wayland compositor.")
|
modules for building a Wayland compositor.")
|
||||||
(license license:expat))) ; MIT license
|
(license license:expat))) ; MIT license
|
||||||
|
|
||||||
(define-public hyprland-protocols
|
(define-public hyprland-protocols
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue