# $Id: PKGBUILD 203439 2014-01-10 21:08:52Z heftig $ # Maintainer: Ionut Biru pkgname=cogl pkgver=1.16.0 pkgrel=3 pkgdesc="An object oriented GL/GLES Abstraction/Utility Layer" arch=('i686' 'x86_64') url="http://www.clutter-project.org/" license=('GPL2') depends=('mesa' 'libdrm' 'libxext' 'libxdamage' 'libxcomposite' 'gdk-pixbuf2' 'pango' 'libxrandr') makedepends=('gobject-introspection') options=(!emptydirs) source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) sha256sums=('75c2c4636a050fda7ee8722ce3d9c618b08799ed92bbb72b4fdff3e73b096094') build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr \ --enable-gles{1,2} \ --enable-{kms,wayland}-egl-platform \ --enable-wayland-egl-server # https://bugzilla.gnome.org/show_bug.cgi?id=655517 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: