summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgraphics-libs/babl/DETAILS4
-rw-r--r--graphics-libs/babl/HISTORY5
-rwxr-xr-xgraphics-libs/babl/PRE_BUILD4
-rw-r--r--graphics-libs/babl/patches/0001-Fix-build-error-with-meson-0.62.2.patch25
4 files changed, 36 insertions, 2 deletions
diff --git a/graphics-libs/babl/DETAILS b/graphics-libs/babl/DETAILS
index 2a81424bdb..0e69a82614 100755
--- a/graphics-libs/babl/DETAILS
+++ b/graphics-libs/babl/DETAILS
@@ -1,9 +1,9 @@
. "$GRIMOIRE/FUNCTIONS"
. "$GRIMOIRE/MESON_FUNCTIONS"
SPELL=babl
- VERSION=0.1.88
+ VERSION=0.1.92
SOURCE="${SPELL}-${VERSION}.tar.xz"
- SOURCE_HASH=sha512:1260133e44aa1878e13e2c64387e8540ca93edd7a905e2f8eebc58679444ba8815b9b6801b538a759c9b7b60294d7d7c33418bb1feee1879dcb8381450fe1742
+ SOURCE_HASH=sha512:c2baf39f576bf7f57786c59f2de0818257f4d1d62cadf44fdd802c9a534ed94390dd1616e7e72fcc9de1fb85a24a10fbacdbbabbe376a45ae598be46817e3bc0
SOURCE_URL[0]=https://download.gimp.org/pub/${SPELL}/${VERSION%.*}/${SOURCE}
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE="http://gegl.org/babl/"
diff --git a/graphics-libs/babl/HISTORY b/graphics-libs/babl/HISTORY
index 29721c5f98..56b0aa1b39 100644
--- a/graphics-libs/babl/HISTORY
+++ b/graphics-libs/babl/HISTORY
@@ -1,3 +1,8 @@
+2022-06-13 Florian Franzmann <bwlf@bandrate.org>
+ * DETAILS: version 0.1.92
+ * PRE_BUILD, patches/0001-Fix-build-error-with-meson-0.62.2.patch:
+ fix build with meson 0.62.2
+
2022-05-28 Florian Franzmann <bwlf@bandrate.org>
* DEPENDS: use MESON_DEPENDS
diff --git a/graphics-libs/babl/PRE_BUILD b/graphics-libs/babl/PRE_BUILD
new file mode 100755
index 0000000000..335732967a
--- /dev/null
+++ b/graphics-libs/babl/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+apply_patch_dir patches
diff --git a/graphics-libs/babl/patches/0001-Fix-build-error-with-meson-0.62.2.patch b/graphics-libs/babl/patches/0001-Fix-build-error-with-meson-0.62.2.patch
new file mode 100644
index 0000000000..8df6e05748
--- /dev/null
+++ b/graphics-libs/babl/patches/0001-Fix-build-error-with-meson-0.62.2.patch
@@ -0,0 +1,25 @@
+From 253a77cdb7e2f3fac199a9d738fabc433d553b85 Mon Sep 17 00:00:00 2001
+From: Florian Franzmann <bwlf@bandrate.org>
+Date: Mon, 13 Jun 2022 20:34:40 +0200
+Subject: [PATCH] Fix build error with meson 0.62.2
+
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 487e470..2623e93 100644
+--- a/meson.build
++++ b/meson.build
+@@ -55,7 +55,7 @@ lib_name = meson.project_name() + '-' + api_version
+ stability_version_number = (major_version != 0 ? minor_version : micro_version)
+ stable = (stability_version_number % 2 == 0)
+
+-conf.set10('BABL_UNSTABLE', not stable, Description:
++conf.set10('BABL_UNSTABLE', not stable, description:
+ 'Define to 1 if this is an unstable version of BABL.')
+
+ conf.set ('BABL_MAJOR_VERSION', '@0@'.format(major_version))
+--
+2.36.1
+