aports/testing/wlroots0.17/APKBUILD

53 lines
1.2 KiB
Text

# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=wlroots0.17
pkgver=0.17.4
pkgrel=1
pkgdesc="Modular Wayland compositor library"
url="https://gitlab.freedesktop.org/wlroots/wlroots"
license="MIT"
arch="all"
makedepends="
eudev-dev
glslang-dev
hwdata-dev
libcap-dev
libdisplay-info-dev
libinput-dev
libseat-dev
libxcb-dev
libxkbcommon-dev
mesa-dev
meson
ninja
pixman-dev
vulkan-loader-dev
wayland-dev
wayland-protocols
xcb-util-image-dev
xcb-util-renderutil-dev
xcb-util-wm-dev
xkeyboard-config-dev
xwayland-dev
"
subpackages="$pkgname-dbg $pkgname-dev"
source="https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/$pkgver/wlroots-$pkgver.tar.gz"
options="!check" # no test suite
builddir="$srcdir/wlroots-$pkgver"
build() {
abuild-meson \
-Db_lto=true \
-Dexamples=false \
. build
meson compile -C build
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C build
}
sha512sums="
a12d05f863836e02266ca3839606df82942fda4932683a483a279799b7cdc38dd7627d5f7a050c38514b2e96acda29c383e829abe33446873538f9c3840f24a4 wlroots-0.17.4.tar.gz
"