babl, revbump, fix datadir path for pkgconfig (#13716)

This commit is contained in:
Schrijvers Luc
2026-02-04 18:20:11 +01:00
committed by GitHub
parent f0c34c92f4
commit a8ece0e2ac
2 changed files with 25 additions and 2 deletions

View File

@@ -10,9 +10,10 @@ as well as the framework to add new color models, spaces and data types."
HOMEPAGE="https://gegl.org/babl/"
COPYRIGHT="Øyvind Kolås"
LICENSE="GNU LGPL v3"
REVISION="2"
REVISION="3"
SOURCE_URI="https://download.gimp.org/pub/babl/0.1/babl-$portVersion.tar.xz"
CHECKSUM_SHA256="f476ad15201fb4ed0c90c174c524b1e4271ccd69a377242d6a69fcdf87ceacc2"
PATCHES="babl-$portVersion.patchset"
ARCHITECTURES="ALL !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -68,9 +69,9 @@ BUILD()
meson \
--buildtype=release \
--prefix=$prefix \
--datadir=$dataDir \
--libdir=$libDir \
--libexecdir=$binDir \
--datadir=$dataDir \
--includedir=$includeDir \
--sysconfdir=$settingsDir \
-Dwith-docs=true \

View File

@@ -0,0 +1,22 @@
From 8c5557c0d030f272e86a2daefefb349cf67f6b31 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Mon, 2 Feb 2026 11:35:25 +0100
Subject: Fix datadir (share/data) path for pkgconfig
diff --git a/meson.build b/meson.build
index 576762c..6698fe5 100644
--- a/meson.build
+++ b/meson.build
@@ -623,7 +623,7 @@ pkgconfig.generate(
version: meson.project_version(),
subdirs: lib_name,
variables: [
- 'datadir=${prefix}/share',
+ 'datadir=${prefix}/data',
'pluginsdir=${libdir}/@0@'.format(lib_name),
'girdir=${datadir}/gir-1.0',
'typelibdir=${libdir}/girepository-1.0',
--
2.52.0