From da94e21dbe902ffcaee64d6e4211ff1050bf47be Mon Sep 17 00:00:00 2001 From: Bananymous Date: Mon, 24 Aug 2026 21:04:06 +0300 Subject: [PATCH] ports: Add gegl port --- ports/gegl/build.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 ports/gegl/build.sh diff --git a/ports/gegl/build.sh b/ports/gegl/build.sh new file mode 100755 index 00000000..b2c046fe --- /dev/null +++ b/ports/gegl/build.sh @@ -0,0 +1,26 @@ +#!/bin/bash ../install.sh + +NAME='gegl' +VERSION='0.4.70' +DOWNLOAD_URL="https://download.gimp.org/gegl/0.4/gegl-$VERSION.tar.xz#47f50d9c3aecd375deb48c11ebfead52d162e4fc162a4b3d44618277f1faec02" +DEPENDENCIES=('json-glib' 'babl' 'libjpeg-turbo' 'libpng') +CONFIGURE_OPTIONS=( + '-Dprefix=/usr' + '-Dbuildtype=release' +) + +configure() { + meson setup \ + --reconfigure \ + --cross-file "$MESON_CROSS_FILE" \ + "${CONFIGURE_OPTIONS[@]}" \ + build || exit 1 +} + +build() { + meson compile -C build || exit 1 +} + +install() { + meson install --destdir="$DESTDIR" -C build || exit 1 +}