wlroots: cleaned up dependencies
This commit is contained in:
parent
a19ee0d467
commit
b57297d18c
|
@ -1,5 +1,5 @@
|
|||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF31jNkSz3U68bjOrm3KroeKScX8set2p+FC2b+h1HxbLs2ncGQubY4X0O/GB9cO02VIo2gkK/GGVi5NSE0uKSfAo=
|
||||
SHA256 (Pkgfile) = 371c50cfb475530d44577be0784f53880785091535ad52e0176592419a4da972
|
||||
RWSagIOpLGJF39OA8VkkJtVzFtGIdN7WEss2e6yLEt7L1NcVuNu1+9W+ZId7ILisHv2QRgN0n1SLj0KxV1xghzSso11Oc+sD4A0=
|
||||
SHA256 (Pkgfile) = 16283537c7cf4b717db0528eebe4f74a7c6a584d70a9de098f5e9f918fc57b6e
|
||||
SHA256 (.footprint) = ec0bb36fd383e2db6f7341722a17f9508ed2a580e8e6e9f570be2dfa02bd4b6d
|
||||
SHA256 (wlroots-0.14.1.tar.gz) = 448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Description: A modular Wayland compositor library.
|
||||
# URL: https://github.com/swaywm/wlroots
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: libcap libinput libxkbcommon mesa seatd wayland-protocols xorg-libpixman xorg-xcb-util-error xorg-xcb-util-image xorg-xcb-util-wm
|
||||
# Optional: xorg-libxcomposite xorg-server xorg-xcb-util-renderutil xorg-xinput
|
||||
# Depends on: libcap libinput libxkbcommon mesa seatd wayland-protocols xorg-libpixman xorg-xcb-util-image xorg-xcb-util-wm
|
||||
# Optional: xorg-libxcomposite xorg-server xorg-xcb-util-error xorg-xcb-util-renderutil xorg-xinput
|
||||
|
||||
name=wlroots
|
||||
version=0.14.1
|
||||
|
@ -12,18 +12,14 @@ source=(https://github.com/swaywm/wlroots/archive/$version/$name-$version.tar.gz
|
|||
build() {
|
||||
# use xwayland support in case that xorg-server was compiled with wayland around
|
||||
[[ -e /usr/bin/Xwayland ]] && PKGMK_WLROOTS+=' -D xwayland=enabled' || PKGMK_WLROOTS+=' -D xwayland=disabled'
|
||||
prt-get isinst xorg-server && PKGMK_WLROOTS+=' -D x11-backend=enabled' || PKGMK_WLROOTS+=' -D x11-backend=disabled'
|
||||
prt-get isinst xorg-xcb-util-renderutil && PKGMK_WLROOTS+=' -D x11-backend=enabled' || PKGMK_WLROOTS+=' -Dx11-backend=disabled'
|
||||
prt-get isinst xorg-server xorg-xcb-util-renderutil && PKGMK_WLROOTS+=' -D x11-backend=enabled' || PKGMK_WLROOTS+=' -D x11-backend=disabled'
|
||||
|
||||
meson setup $name-$version build $PKGMK_WLROOTS \
|
||||
--prefix=/usr \
|
||||
--buildtype=plain \
|
||||
--wrap-mode nodownload \
|
||||
-D b_lto=true \
|
||||
-D b_pie=true \
|
||||
-D xcb-errors=enabled \
|
||||
-D xcb-icccm=enabled \
|
||||
-D libseat=enabled
|
||||
-D b_pie=true
|
||||
|
||||
meson compile -C build
|
||||
DESTDIR=$PKG meson install -C build
|
||||
|
|
Loading…
Reference in New Issue
Block a user