aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-10-01 20:38:46 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-19 16:10:21 +0000
commite69bf6cc4cee02b6178d8cf25b93b31e39d8b5d4 (patch)
tree6503ec1e2e6f963983105248dbfa23f6312a93f1
parentfa538519f901fa05e928fbcf6f627d5ca7c2e78a (diff)
downloadaports-e69bf6cc4cee02b6178d8cf25b93b31e39d8b5d4.tar.bz2
aports-e69bf6cc4cee02b6178d8cf25b93b31e39d8b5d4.tar.xz
testing/wlc: new aport
https://github.com/Cloudef/wlc Wayland Compositor Library
-rw-r--r--testing/wlc/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/wlc/APKBUILD b/testing/wlc/APKBUILD
new file mode 100644
index 0000000000..fffcb60179
--- /dev/null
+++ b/testing/wlc/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
+# Maintainer:
+pkgname=wlc
+pkgver=0.0.6
+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 || return 1
+ make test || return 1
+}
+
+package() {
+ make DESTDIR="$pkgdir/" \
+ -C "$builddir" install || return 1
+}
+
+md5sums="3d7f02321b8d97c4c858a6d2def3be16 wlc-0.0.6.tar.bz2"
+sha256sums="302a14252757f05ed009077a674b07942ff46fc7c3da0759fed4fedbc8c12329 wlc-0.0.6.tar.bz2"
+sha512sums="944e3b34436618a1288488dcb8eb7ea2db46e32f73e4d07e4e896fe94cd0084857008f900257846098af4094bf5351bd7ec7d4c6aef427d0991922fd04049dc9 wlc-0.0.6.tar.bz2"