aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wlroots0.12/APKBUILD
blob: 850ef11ba649f6ab0dee32dbf3124d30ba077d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer:
pkgname=wlroots0.12
pkgver=0.12.0
pkgrel=1
pkgdesc="modular Wayland compositor library (version 0.12.0 for phoc)"
url="https://github.com/swaywm/wlroots"
arch="all"
license="MIT"
options="!check" # contains no test suite
makedepends="
	elogind-dev
	eudev-dev
	libcap-dev
	libinput-dev
	libxcb-dev
	libxkbcommon-dev
	mesa-dev
	meson
	ninja
	pixman-dev
	wayland-dev
	wayland-protocols
	xcb-util-image-dev
	xcb-util-wm-dev
	xkeyboard-config-dev
	"
subpackages="$pkgname-dbg $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/wlroots/archive/$pkgver.tar.gz
	0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch
	"
builddir="$srcdir/wlroots-$pkgver"

replaces="wlroots"

build() {
	abuild-meson \
		-Dlogind=enabled \
		-Dlogind-provider=elogind \
		-Dexamples=false \
		. build
	meson compile -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="
560eae30932b777c1f07fb44592d5601c5d10ef74b31b6b9e4166a14caadab2bfa88d39282f159785d4c7f22f78d204f9bb7fab65d58afaf14b72a8486f9b415  wlroots0.12-0.12.0.tar.gz
5547741b35fc8364360dabb93a6f988b6be9299b77ee4adf2c7edfcd4a3c97f2f0cbbd19a41548254fe5d2327ed45300824920ce3c9d0cb0846a3ba5b5a83e02  0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch
"