aboutsummaryrefslogtreecommitdiff
path: root/clutter/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 /clutter/Pkgfile
parentab119e4809a15d37522b7aea45d55911f8d43ac9 (diff)
downloadcrux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz
crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip
xfce4: initial migration
Diffstat (limited to 'clutter/Pkgfile')
-rw-r--r--clutter/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/clutter/Pkgfile b/clutter/Pkgfile
new file mode 100644
index 0000000..4881904
--- /dev/null
+++ b/clutter/Pkgfile
@@ -0,0 +1,31 @@
+# Description: A toolkit for creating fast, portable, compelling dynamic UIs
+# URL: https://blogs.gnome.org/clutter/
+# Maintainer: mac-a-r0ni, j at lngn dot net
+# Depends on: gtk3 cogl libinput json-glib
+# Optional: egl-wayland
+
+name=clutter
+version=1.26.4
+release=2
+source=(https://download.gnome.org/sources/$name/1.26/$name-$version.tar.xz)
+
+build() {
+ cd $name-$version
+
+ prt-get isinst egl-wayland && ls /usr/lib/pkgconfig/cogl-gles2-1.0.pc && ls /usr/lib/xkbcommon/xkbcli-interactive-wayland && PKGMK_CLUTTER+=' --enable-wayland-backend --enable-wayland-compositor --enable-egl-backend --enable-evdev-input' || PKGMK_CLUTTER+=' --enable-egl-backend=no'
+
+ ./configure --prefix=/usr $PKGMK_CLUTTER \
+ --enable-gdk-backend \
+ --enable-x11-backend \
+ --enable-introspection=no \
+ --disable-gtk-doc \
+ --disable-nls \
+ --disable-static \
+ --disable-debug
+
+ make
+ make DESTDIR="$PKG" install
+
+ rm -f $PKG/usr/lib/*.la
+ rm -rf $PKG/usr/share
+}