From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/media/babl/babl.xibuild | 26 ++++++++++++++++++++++++++ repo/media/babl/meson-0.60.patch | 12 ++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 repo/media/babl/babl.xibuild create mode 100644 repo/media/babl/meson-0.60.patch (limited to 'repo/media/babl') diff --git a/repo/media/babl/babl.xibuild b/repo/media/babl/babl.xibuild new file mode 100644 index 0000000..f786806 --- /dev/null +++ b/repo/media/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="https://ftp.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/media/babl/meson-0.60.patch b/repo/media/babl/meson-0.60.patch new file mode 100644 index 0000000..5ac3862 --- /dev/null +++ b/repo/media/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