diff options
author | Grey Christoforo | 2015-10-25 00:53:33 +0100 |
---|---|---|
committer | Grey Christoforo | 2015-10-25 00:53:33 +0100 |
commit | 57e13828d26a991963027e1aad706fe7f78ad912 (patch) | |
tree | 5012bfdb458ca53764bd40d1bf63fb3a7c965f6d | |
download | aur-57e13828d26a991963027e1aad706fe7f78ad912.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5e9ab02701c1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = weston-rbp + pkgdesc = Reference implementation of a Wayland compositor for rbp + pkgver = 1.9.0 + pkgrel = 1 + url = http://wayland.freedesktop.org + arch = armv7h + arch = armv6h + license = MIT + depends = libxkbcommon + depends = libinput + depends = libunwind + depends = poppler-glib + depends = mtdev + depends = libxcursor + depends = glu + depends = pango + depends = colord + provides = weston + replaces = weston + source = http://wayland.freedesktop.org/releases/weston-rbp-1.9.0.tar.xz + sha1sums = 94b70baca9a6ba007c696b740a711586f9dc274f + +pkgname = weston-rbp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..414f14f91f86 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Sébastien Luttringer +# Contributor: Joel Teichroeb <joel@teichroeb.net> + +# Modified for raspberry pi by Grey Christoforo <first name [at] last name [dot] net> + +pkgname=weston-rbp +pkgver=1.9.0 +pkgrel=1 +pkgdesc='Reference implementation of a Wayland compositor for rbp' +arch=('armv7h' 'armv6h') +provides=('weston') +replaces=('weston') +url='http://wayland.freedesktop.org' +license=('MIT') +depends=('libxkbcommon' 'libinput' 'libunwind' 'poppler-glib' 'mtdev' 'libxcursor' 'glu' 'pango' 'colord') +source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz") +sha1sums=('94b70baca9a6ba007c696b740a711586f9dc274f') + +build() { + export RPI_BCM_HOST_LIBS="-L/opt/vc/lib" + export RPI_BCM_HOST_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux" + export WESTON_NATIVE_BACKEND="rpi-backend.so" + export RPI_COMPOSITOR_LIBS="-ludev -lmtdev -lbcm_host" + CONFIG='--disable-egl' + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/weston \ + --enable-libinput-backend \ + --enable-demo-clients-install $CONFIG + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + # license + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |