summaryrefslogtreecommitdiff
path: root/repo/x11/gdk-pixbuf.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/x11/gdk-pixbuf.xibuild')
-rw-r--r--repo/x11/gdk-pixbuf.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/x11/gdk-pixbuf.xibuild b/repo/x11/gdk-pixbuf.xibuild
new file mode 100644
index 0000000..66d5a0f
--- /dev/null
+++ b/repo/x11/gdk-pixbuf.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="gdk-pixbuf"
+DESC="GTK+ image loading library"
+
+MAKEDEPS="meson ninja "
+DEPS="sbase glib shared-mime-info intltool libpng libjpeg-turbo tiff musl"
+
+PKG_VER=2.42.8
+SOURCE="https://download.gnome.org/sources/gdk-pixbuf/${PKG_VER%.*}/gdk-pixbuf-$PKG_VER.tar.xz"
+
+build () {
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr \
+ -Dinstalled_tests=false \
+ -Dpng=disabled \
+ .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}