diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-05 12:07:55 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-05 12:08:05 +0000 |
commit | 5d26ef2f85aa578f87e49f24eb5e42ddb0afbd25 (patch) | |
tree | ae07a38d12c59c573f9d40632a502913bc61123f /main | |
parent | 0ec92a577cc67f7d51c9616bcc26e9e18bb8b41f (diff) | |
download | aports-5d26ef2f85aa578f87e49f24eb5e42ddb0afbd25.tar.bz2 aports-5d26ef2f85aa578f87e49f24eb5e42ddb0afbd25.tar.xz |
main/cogl: new aport
Diffstat (limited to 'main')
-rw-r--r-- | main/cogl/APKBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/main/cogl/APKBUILD b/main/cogl/APKBUILD new file mode 100644 index 0000000000..a5996fc830 --- /dev/null +++ b/main/cogl/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=cogl +pkgver=1.16.2 +pkgrel=0 +pkgdesc="An object oriented GL/GLES Abstraction/Utility Layer" +url="http://www.clutter-project.org/" +arch="all" +license="GPL2" +depends="" +depends_dev="glib-dev mesa-dev libdrm-dev libxdamage-dev libxcomposite-dev libxrandr-dev + pango-dev cairo-dev gobject-introspection-dev libxext-dev udev-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.gnome.org/sources/cogl/1.16/cogl-$pkgver.tar.xz" + +_builddir="$srcdir"/cogl-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-gles2 \ + --enable-gles1 \ + --enable-kms-egl-platform \ + --enable-gl \ + || return 1 + + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="aaf32bde135cf3815aa3221726bad71e cogl-1.16.2.tar.xz" +sha256sums="65be91591546ef6fdfec93a71979b2b108eee25edbc20c53190caafc9a92d4e7 cogl-1.16.2.tar.xz" +sha512sums="638aea5a12d5f33d481ac6af767af74acdfcbb3512e38740847f385b38b665a108ae616c5971a38f0055cae5b7d9054075f97e4b18af0464c1a5553c6bc3e815 cogl-1.16.2.tar.xz" |