From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/babl/babl.xibuild | 26 ++++++++++++++++++++++++++ repo/babl/meson-0.60.patch | 12 ++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 repo/babl/babl.xibuild create mode 100644 repo/babl/meson-0.60.patch (limited to 'repo/babl') diff --git a/repo/babl/babl.xibuild b/repo/babl/babl.xibuild new file mode 100644 index 0000000..5c73c51 --- /dev/null +++ b/repo/babl/babl.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +NAME="babl" +DESC="Dynamic, any to any, pixel format conversion library" + +MAKEDEPS="meson ninja " +DEPS="lcms2 " + +PKG_VER=0.1.92 +SOURCE="http://download.gimp.org/pub/babl/${PKG_VER%.*}/babl-$PKG_VER.tar.xz" +ADDITIONAL="meson-0.60.patch " + +prepare () { + apply_patches +} + +build () { + cd build && + meson --prefix=/usr \ + .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/babl/meson-0.60.patch b/repo/babl/meson-0.60.patch new file mode 100644 index 0000000..5ac3862 --- /dev/null +++ b/repo/babl/meson-0.60.patch @@ -0,0 +1,12 @@ +--- a/meson.build ++++ b/meson.build +@@ -55,8 +55,7 @@ + stability_version_number = (major_version != 0 ? minor_version : micro_version) + stable = (stability_version_number % 2 == 0) + +-conf.set10('BABL_UNSTABLE', not stable, Description: +- 'Define to 1 if this is an unstable version of BABL.') ++conf.set10('BABL_UNSTABLE', not stable) + + conf.set ('BABL_MAJOR_VERSION', '@0@'.format(major_version)) + conf.set ('BABL_MINOR_VERSION', '@0@'.format(minor_version)) -- cgit v1.2.1