blob: 0c41dedfeb310c4369f97833087c990dff581aee (
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.2
pkgrel=1
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
ninja -C build
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="b7727b29ed7e5188d5fa6099687f8e6f48b6b3f17f7a6e136956ad6b607054595de3779118bffd4b9730115eaca2f00c2d30d52f4915b2753a749432ec0c3f2a wlroots-0.2.tar.gz"
|