aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wlroots/APKBUILD
blob: 0d0dfafe4cf7cde960535bd6caf464adec23a025 (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
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer:
pkgname=wlroots
pkgver=0.3
pkgrel=0
pkgdesc="A modular Wayland compositor library"
url="https://github.com/swaywm/wlroots"
arch="all"
license="MIT"
options="!check" # contains no test suite
makedepends="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
	"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	meson build --prefix /usr --libdir /usr/lib
	ninja -C build
}

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="ccec1426e6ac86fa63f82763d123162fca5be25fb37bbb44a5de651a7764f5325ef21cbe2cf698cb315f0de4719a6bac8eb0ceeffe2111de7c9f4b59e019aaaa  wlroots-0.3.tar.gz"