blob: 1889ff90160dfb72c939e182b74a001fd6184d78 (
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
|
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=wlroots
pkgver=0.10.1
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="
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
"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/wlroots/archive/$pkgver.tar.gz"
build() {
meson \
--prefix=/usr \
--libdir=/usr/lib \
--buildtype=plain \
-Dlogind=enabled \
-Dlogind-provider=elogind \
-Dexamples=false \
. build
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="e1af5a5b6484b5f4060090e13d22d699d5aaa6926e1a6b1043d2b900f88a002ed67dacf8498f23ed3008bf8a35500f415f95b3dbcf50de5da354f309f9161d58 wlroots-0.10.1.tar.gz"
|