commit:     1281b97fffa0719c23098c9eb227e6744153cbe0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 17 12:33:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 12:37:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1281b97f

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

Bug: https://bugs.gentoo.org/909405
Bug: https://bugs.gentoo.org/909431
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/dleyna/dleyna-0.8.2.ebuild     |  4 +++
 net-libs/dleyna/files/meson-1.2.0.patch | 44 +++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/net-libs/dleyna/dleyna-0.8.2.ebuild 
b/net-libs/dleyna/dleyna-0.8.2.ebuild
index 5d61120d598d..0be4bdcfce23 100644
--- a/net-libs/dleyna/dleyna-0.8.2.ebuild
+++ b/net-libs/dleyna/dleyna-0.8.2.ebuild
@@ -39,6 +39,10 @@ BDEPEND="
 
 S="${WORKDIR}"/dLeyna-v${PV}
 
+PATCHES=(
+       "${FILESDIR}"/meson-1.2.0.patch
+)
+
 src_configure() {
        local emesonargs=(
                -Ddbus_service_dir="${EPREFIX}/usr/share/dbus-1/services"

diff --git a/net-libs/dleyna/files/meson-1.2.0.patch 
b/net-libs/dleyna/files/meson-1.2.0.patch
new file mode 100644
index 000000000000..222ba8c5ea20
--- /dev/null
+++ b/net-libs/dleyna/files/meson-1.2.0.patch
@@ -0,0 +1,44 @@
+https://gitlab.gnome.org/World/dLeyna/-/merge_requests/6
+
+From 61d24fdccadc1c9a94f1351744376edcc2048105 Mon Sep 17 00:00:00 2001
+From: Sam James <s...@gentoo.org>
+Date: Mon, 17 Jul 2023 13:29:55 +0100
+Subject: [PATCH] subprojects: Fix typos for Meson 1.2 compatibility
+
+Bug: https://bugs.gentoo.org/909405
+Bug: https://bugs.gentoo.org/909431
+--- 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]
+-dependency_name = gssdp-1.6
++[provide]
++dependency_names = gssdp-1.6
+ 
+--- a/subprojects/gupnp-1.6.wrap
++++ b/subprojects/gupnp-1.6.wrap
+@@ -3,6 +3,6 @@ url = https://gitlab.gnome.org/GNOME/gupnp.git
+ revision = master
+ depth = 1
+  
+-[provides]
+-dependency_name = gupnp-1.6
++[provide]
++dependency_names = gupnp-1.6
+ 
+--- a/subprojects/gupnp-av-1.0.wrap
++++ b/subprojects/gupnp-av-1.0.wrap
+@@ -3,6 +3,6 @@ url = https://gitlab.gnome.org/GNOME/gupnp-av.git
+ revision = master
+ depth = 1
+  
+-[provides]
+-dependency_name = gupnp-av-1.0
++[provide]
++dependency_names = gupnp-av-1.0
+ 
+-- 
+GitLab

Reply via email to