commit:     f37469d9d1eab1191eeb78d4331a7aefe0fdbefb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 20 01:33:30 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 01:33:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f37469d9

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

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

 net-libs/gupnp/files/gupnp-1.4.3-meson-1.2.0-fix.patch | 12 ++++++++++++
 net-libs/gupnp/gupnp-1.4.3.ebuild                      |  4 ++++
 2 files changed, 16 insertions(+)

diff --git a/net-libs/gupnp/files/gupnp-1.4.3-meson-1.2.0-fix.patch 
b/net-libs/gupnp/files/gupnp-1.4.3-meson-1.2.0-fix.patch
new file mode 100644
index 000000000000..e41830fce4c2
--- /dev/null
+++ b/net-libs/gupnp/files/gupnp-1.4.3-meson-1.2.0-fix.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/910492
+--- a/subprojects/gssdp-1.2.wrap
++++ b/subprojects/gssdp-1.2.wrap
+@@ -3,6 +3,6 @@ url = https://gitlab.gnome.org/GNOME/gssdp.git
+ revision = gssdp-1.4
+ depth = 1
+  
+-[provides]
+-dependency_name = gssdp-1.2
++[provide]
++dependency_names = gssdp-1.2
+ 

diff --git a/net-libs/gupnp/gupnp-1.4.3.ebuild 
b/net-libs/gupnp/gupnp-1.4.3.ebuild
index a1b2000c2291..6f21d4ba078e 100644
--- a/net-libs/gupnp/gupnp-1.4.3.ebuild
+++ b/net-libs/gupnp/gupnp-1.4.3.ebuild
@@ -44,6 +44,10 @@ BDEPEND="
        )
 "
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.4.3-meson-1.2.0-fix.patch
+)
+
 src_prepare() {
        use introspection && vala_src_prepare
        xdg_src_prepare

Reply via email to