aboutsummaryrefslogtreecommitdiffstats
path: root/testing/weston/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/weston/APKBUILD')
-rw-r--r--testing/weston/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/weston/APKBUILD b/testing/weston/APKBUILD
new file mode 100644
index 0000000000..dde0d3f596
--- /dev/null
+++ b/testing/weston/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=weston
+pkgver=1.9.0
+pkgrel=0
+pkgdesc="Reference implementation of a Wayland compositor"
+url="http://wayland.freedesktop.org"
+arch="all"
+license="MIT"
+depends="libxkbcommon-dev libinput-dev libunwind-dev poppler-glib
+ mtdev-dev libxcursor-dev glu-dev pango-dev colord-dev"
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+source="http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/weston \
+ --disable-weston-launch \
+ --enable-libinput-backend \
+ || return 1
+ make || return 1
+}
+
+package() {
+ make DESTDIR="$pkgdir" \
+ -C "$_builddir" install || return 1
+}
+
+md5sums="66bbba12f546570b4d97f676bc79a28e weston-1.9.0.tar.xz"
+sha256sums="9c1b03f3184fa0b0dfdf67e215048085156e1a2ca344af6613fed36794ac48cf weston-1.9.0.tar.xz"
+sha512sums="9bcbb5971b8a55d9e10aacf0aae868ff03750a98daee5233dcbff5698ed84e41c4b147fa1fdb1e2be916e3b1e13f259e0eec62354517d6e2a7e1d301a8522f66 weston-1.9.0.tar.xz"