summaryrefslogtreecommitdiff
path: root/community/weston
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-03 01:05:38 -0800
committerroot <root@rshg054.dnsready.net>2013-03-03 01:05:38 -0800
commit945c9cd1e94fab87653f84598812dec707843d26 (patch)
treebd1fccd08cd5fff72cdc25cb51382b882b4faa3e /community/weston
parent98aa0004e23472ee63753fded33cd55d8b942f36 (diff)
Sun Mar 3 01:04:55 PST 2013
Diffstat (limited to 'community/weston')
-rw-r--r--community/weston/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/weston/PKGBUILD b/community/weston/PKGBUILD
new file mode 100644
index 000000000..b285d4a11
--- /dev/null
+++ b/community/weston/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Joel Teichroeb <joel@teichroeb.net>
+
+pkgname=weston
+pkgver=1.0.5
+pkgrel=2
+pkgdesc='Reference implementation of a Wayland compositor'
+arch=('i686' 'x86_64')
+url='http://wayland.freedesktop.org'
+license=('MIT')
+options=(!libtool)
+depends=('libxkbcommon' 'wayland' 'mesa' 'cairo' 'poppler-glib' 'mtdev' 'libxcursor' 'glu')
+source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz")
+sha1sums=('a97030613e066c05e267ea0d7888fd5f7a08eea2')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/weston \
+ --disable-android-compositor
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # license
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ # embed more clients
+ for _c in clickdot cliptest dnd editor eventdemo flower gears image \
+ keyboard resizor simple-egl simple-shm smoke view; do
+ install -Dm755 "clients/$_c" "$pkgdir/usr/bin/weston-$_c"
+ done
+}