aboutsummaryrefslogtreecommitdiff
path: root/cogl/Pkgfile
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
committerJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
commit9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch)
tree883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /cogl/Pkgfile
parentab119e4809a15d37522b7aea45d55911f8d43ac9 (diff)
downloadcrux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz
crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip
xfce4: initial migration
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
+}