aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wlc
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2017-11-11 14:11:41 -0500
committerDaniel Sabogal <dsabogalcc@gmail.com>2017-11-14 13:58:26 -0500
commit4461f8f2c707fa42386f0f08259122f3d4f8ff1d (patch)
tree86f4fc818aa6b4c70d714ef13403f753212f8ea2 /testing/wlc
parent7884113f6a48c8452e6fdef5337bab4ef75315bc (diff)
downloadaports-4461f8f2c707fa42386f0f08259122f3d4f8ff1d.tar.bz2
aports-4461f8f2c707fa42386f0f08259122f3d4f8ff1d.tar.xz
testing/wlc,sway: unmaintained
Diffstat (limited to 'testing/wlc')
-rw-r--r--testing/wlc/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/wlc/APKBUILD b/testing/wlc/APKBUILD
new file mode 100644
index 0000000000..f87fe2f4f1
--- /dev/null
+++ b/testing/wlc/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer:
+pkgname=wlc
+pkgver=0.0.9
+pkgrel=0
+pkgdesc="Wayland Compositor Library"
+url="https://github.com/Cloudef/wlc"
+arch="all"
+license="MIT"
+depends="xkeyboard-config"
+makedepends="cmake eudev-dev libinput-dev libx11-dev libxkbcommon-dev mesa-dev
+ pixman-dev wayland-dev wayland-protocols xcb-util-image-dev
+ xcb-util-wm-dev"
+subpackages="$pkgname-dev"
+source="https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ cmake . \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ || return 1
+ make
+}
+
+check() {
+ make test -C "$builddir"
+}
+
+package() {
+ make DESTDIR="$pkgdir/" -C "$builddir" install
+}
+
+sha512sums="d34a29c779a39ffb95413f26c62d545f29ed7890529296b837bb153687600582dbe927c65558923bd1614c5fe904aa9cff760c272e79c6c0eff10ba38eee895b wlc-0.0.9.tar.bz2"