summaryrefslogtreecommitdiff
path: root/repo/media/gegl/gegl.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-28 19:37:22 +0100
committerdavidovski <david@davidovski.xyz>2022-05-28 19:37:22 +0100
commit5170f5c85fe0e84fe8af55c6a024c7b6e844b0f1 (patch)
tree105f4e0fc05bac2fbdc03ab446987eaaa477988c /repo/media/gegl/gegl.xibuild
parent4615385d6c8203001962a7a31dd02cdb1a73544b (diff)
fixed packages
Diffstat (limited to 'repo/media/gegl/gegl.xibuild')
-rw-r--r--repo/media/gegl/gegl.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/media/gegl/gegl.xibuild b/repo/media/gegl/gegl.xibuild
new file mode 100644
index 0000000..a99fc6f
--- /dev/null
+++ b/repo/media/gegl/gegl.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="gegl"
+DESC="Graph based image processing framework"
+
+# TODO onlly install the fonts actually needed
+
+MAKEDEPS="encodings font-adobe-utopia-type1 font-alias font-bh-ttf font-bh-type1 fontconfig font-ibm-type1 font-misc-ethiopic font-util font-xfree86-type1 meson ninja graphviz libexecinfo"
+DEPS="babl cairo ffmpeg4 gdk-pixbuf glib json-glib lcms2 intltool libjpeg-turbo libpng libraw librsvg libwebp musl pango tiff libexecinfo"
+
+PKG_VER=0.4.36
+SOURCE="https://download.gimp.org/pub/gegl/${PKG_VER%.*}/gegl-${PKG_VER}.tar.xz"
+
+build () {
+ mkdir build &&
+ cd build &&
+ export LDFLAGS="$LDFLAGS -lexecinfo"
+ meson --prefix=/usr \
+ .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}