# $Id: PKGBUILD 216497 2014-07-04 17:10:14Z heftig $ # Maintainer: Ionut Biru pkgname=cogl pkgver=1.18.2 pkgrel=1 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://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) sha256sums=('9278e519d5480eb0379efd48db024e8fdbf93f01dff48a7e756b85b508a863aa') prepare() { cd $pkgname-$pkgver } 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: