commit:     faa7e01170016c19b3c71cb243c207f9bd75b06e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 17 12:23:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 12:37:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7e011

net-libs/gupnp: fix build w/ meson 1.2.0

Closes: https://bugs.gentoo.org/909377
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../gupnp/files/gupnp-1.6.4-meson-1.2.0-fix.patch  | 38 ++++++++++++++++++++++
 net-libs/gupnp/gupnp-1.6.4.ebuild                  |  4 +++
 2 files changed, 42 insertions(+)

diff --git a/net-libs/gupnp/files/gupnp-1.6.4-meson-1.2.0-fix.patch 
b/net-libs/gupnp/files/gupnp-1.6.4-meson-1.2.0-fix.patch
new file mode 100644
index 000000000000..05314a417c6d
--- /dev/null
+++ b/net-libs/gupnp/files/gupnp-1.6.4-meson-1.2.0-fix.patch
@@ -0,0 +1,38 @@
+https://gitlab.gnome.org/GNOME/gupnp/-/commit/884639bd29323cbb8fbd36bc69d08097a2ae2cd1
+https://gitlab.gnome.org/GNOME/gupnp/-/commit/a10c57bd32fbd0dc59eb6703454360ea564e2ffc
+
+From 884639bd29323cbb8fbd36bc69d08097a2ae2cd1 Mon Sep 17 00:00:00 2001
+From: Jan Beich <jbe...@freebsd.org>
+Date: Sun, 9 Jul 2023 03:30:47 +0000
+Subject: [PATCH] build: properly spell [provide] in *.wrap files
+
+meson.build:1:0: ERROR: Unexpected "[provides]" section, did you mean 
"[provide]"?
+--- a/subprojects/gssdp-1.6.wrap
++++ b/subprojects/gssdp-1.6.wrap
+@@ -3,6 +3,6 @@ url = https://gitlab.gnome.org/GNOME/gssdp.git
+ revision = master
+ depth = 1
+  
+-[provides]
++[provide]
+ dependency_name = gssdp-1.6
+ 
+-- 
+GitLab
+
+From a10c57bd32fbd0dc59eb6703454360ea564e2ffc Mon Sep 17 00:00:00 2001
+From: Jens Georg <m...@jensge.org>
+Date: Sun, 9 Jul 2023 21:49:47 +0200
+Subject: [PATCH] build: Add missing "s" to wrap file syntax
+
+--- a/subprojects/gssdp-1.6.wrap
++++ b/subprojects/gssdp-1.6.wrap
+@@ -4,5 +4,5 @@ revision = master
+ depth = 1
+  
+ [provide]
+-dependency_name = gssdp-1.6
++dependency_names = gssdp-1.6
+ 
+-- 
+GitLab

diff --git a/net-libs/gupnp/gupnp-1.6.4.ebuild 
b/net-libs/gupnp/gupnp-1.6.4.ebuild
index 65a1aa08e3f7..0e5d39866c9f 100644
--- a/net-libs/gupnp/gupnp-1.6.4.ebuild
+++ b/net-libs/gupnp/gupnp-1.6.4.ebuild
@@ -44,6 +44,10 @@ BDEPEND="
        )
 "
 
+PATCHES=(
+       "${FILESDIR}"/${P}-meson-1.2.0-fix.patch
+)
+
 src_prepare() {
        default
        use vala && vala_setup

Reply via email to