mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
added community/weston
This commit is contained in:
parent
e46d3151e8
commit
e528d2c328
1 changed files with 42 additions and 0 deletions
42
community/weston/PKGBUILD
Normal file
42
community/weston/PKGBUILD
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# $Id$
|
||||||
|
# Maintainer: Sébastien Luttringer
|
||||||
|
# Contributor: Joel Teichroeb <joel@teichroeb.net>
|
||||||
|
|
||||||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
# - export flags for rpi
|
||||||
|
|
||||||
|
pkgname=weston
|
||||||
|
pkgver=1.2.0
|
||||||
|
pkgrel=2.1
|
||||||
|
pkgdesc='Reference implementation of a Wayland compositor'
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url='http://wayland.freedesktop.org'
|
||||||
|
license=('MIT')
|
||||||
|
options=(!libtool)
|
||||||
|
depends=('libxkbcommon' 'libunwind' 'poppler-glib' 'mtdev' 'libxcursor' 'glu' 'pango' 'colord')
|
||||||
|
source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz")
|
||||||
|
sha1sums=('23201d31e71768e5ec3de0d10fa6de988dd273c8')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
if [ "$CARCH" == 'armv6h' ]; then
|
||||||
|
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"
|
||||||
|
fi
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libexecdir=/usr/lib/weston
|
||||||
|
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 calibrator clickdot cliptest dnd editor eventdemo flower fullscreen gears \
|
||||||
|
image resizor simple-egl simple-shm simple-touch smoke transformed view; do
|
||||||
|
install -Dm755 "clients/$_c" "$pkgdir/usr/bin/weston-$_c"
|
||||||
|
done
|
||||||
|
}
|
Loading…
Reference in a new issue