Revert upstream commit about export_packages for generate_gir; there is

no corresponding versioned pkgconfig file which break Gir generation
for graphics/libmypaint.
This commit is contained in:
ajacoutot 2022-08-26 10:36:28 +00:00
parent 66052b961f
commit 3e6c0ba4fd
2 changed files with 24 additions and 0 deletions

View File

@ -3,6 +3,7 @@ COMMENT= dynamic pixel format conversion library
V= 0.1.96
DISTNAME= babl-${V}
EXTRACT_SUFX= .tar.xz
REVISION= 0
API_VERSION= ${V:R}
SUBST_VARS= API_VERSION

View File

@ -0,0 +1,23 @@
REVERT:
From 1cd557ce6873b08e66e0434a5ff8b2a2faa97f7b Mon Sep 17 00:00:00 2001
From: Lukas Oberhuber <lukaso@gmail.com>
Date: Tue, 5 Jul 2022 15:07:34 +0000
Subject: [PATCH] meson: fix export_packages for generate_gir
This commit broke graphics/libmypaint Gir generation with:
Package babl-0.1 was not found in the pkg-config search path
(there is no lib/pkgconfig/babl-0.1.pc, only babl.pc)
https://gitlab.gnome.org/GNOME/babl/-/issues/80
Index: babl/meson.build
--- babl/meson.build.orig
+++ babl/meson.build
@@ -156,7 +156,6 @@ if build_gir
namespace: 'Babl',
nsversion: api_version,
header: 'babl.h',
- export_packages: 'babl-0.1',
install: true,
)