aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-13 13:57:51 -0600
committerHenrik Riomar <henrik.riomar@gmail.com>2019-03-13 21:01:32 +0100
commitfd93759e98e3ccc9b5a2c96a02f24010f6c60d5e (patch)
treeab23a379326be2381ddd82ffc7d5a9b4d8e2ada5 /community
parent4e72b334ba8c8f5de1c16bef364a3e577e637f91 (diff)
downloadaports-fd93759e98e3ccc9b5a2c96a02f24010f6c60d5e.tar.bz2
aports-fd93759e98e3ccc9b5a2c96a02f24010f6c60d5e.tar.xz
community/wlroots: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/wlroots/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/wlroots/APKBUILD b/community/wlroots/APKBUILD
new file mode 100644
index 0000000000..1896ccdd3f
--- /dev/null
+++ b/community/wlroots/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=wlroots
+pkgver=0.5.0
+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 \
+ --prefix /usr \
+ --libdir /usr/lib \
+ . build
+ ninja -C build
+}
+
+package() {
+ cd "$builddir"
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+sha512sums="4defecff91a6179d3a6b7d05c92c14b20c7fa69263a889869912e913a5d1e29f9fd4684f9816b03e2427a21c004d64236f35d8282e02e8d27d826442f1f8b3a7 wlroots-0.5.0.tar.gz"