aboutsummaryrefslogtreecommitdiff
path: root/cogl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/Pkgfile')
-rw-r--r--cogl/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/cogl/Pkgfile b/cogl/Pkgfile
new file mode 100644
index 0000000..f23e766
--- /dev/null
+++ b/cogl/Pkgfile
@@ -0,0 +1,29 @@
+# Description: An object oriented GL/GLES Abstraction/Utility Layer
+# URL: https://blogs.gnome.org/clutter/
+# Maintainer: mac-a-r0ni, j at lngn dot net
+# Depends on: mesa xorg-libxcomposite gdk-pixbuf pango
+# Optional: egl-wayland
+
+name=cogl
+version=1.22.8
+release=2
+source=(https://download.gnome.org/sources/cogl/1.22/$name-$version.tar.xz)
+
+build() {
+
+ prt-get isinst egl-wayland && PKGMK_COGL+=' --enable-gles2 --enable-wayland-egl-server --enable-kms-egl-platform --enable-wayland-egl-platform ' || PKGMK_COGL+=' --disable-gles2 --disable-wayland-egl-server --disable-kms-egl-platform --disable-wayland-egl-platform '
+
+ cd $name-$version
+ ./configure $PKGMK_COGL --prefix=/usr \
+ --disable-nls \
+ --disable-static \
+ --disable-debug \
+ --enable-gtk-doc=no \
+ --enable-introspection=no
+
+ make
+ make DESTDIR="$PKG" install
+
+ rm -f $PKG/usr/lib/*.la
+ rm -rf $PKG/usr/share
+}