commit:     bdbf5f63824b45d21ae303620b5ae035ba199349
Author:     Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
AuthorDate: Mon Jan 24 20:57:54 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 00:49:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdbf5f63

media-sound/gnome-music: fix build with meson-0.61

Closes: https://bugs.gentoo.org/831936
Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/40.1.1-fix-build-with-meson-0.61.1.patch | 24 ++++++++++++++++++++++
 media-sound/gnome-music/gnome-music-40.1.1.ebuild  |  4 ++++
 2 files changed, 28 insertions(+)

diff --git 
a/media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch 
b/media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch
new file mode 100644
index 000000000000..4ae460ac99d7
--- /dev/null
+++ b/media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch
@@ -0,0 +1,24 @@
+https://gitlab.gnome.org/GNOME/gnome-music/-/commit/d9f35b542adbf6b0e1114c7c077df04212a98fc7
+https://bugs.gentoo.org/831936
+
+From: Jean Felder <[email protected]>
+Date: Thu, 18 Nov 2021 12:09:26 +0100
+Subject: [PATCH] meson: Remove incorrect i18n.merge_file argument
+
+The positional argument was being silently ignored until meson 0.60.0
+where it returns a deprecation message:
+"DEPRECATION: i18n.merge_file does not take any positional
+arguments. This will become a hard error in the next Meson release."
+
+See: https://github.com/mesonbuild/meson/issues/9441
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -47,7 +47,6 @@ appdata_conf.set('appid', APPLICATION_ID)
+ appdata_conf.set('package_url', PACKAGE_URL)
+ appdata_conf.set('package_url_bug', PACKAGE_URL_BUG)
+ i18n.merge_file(
+-  'appdata',
+   input: configure_file(
+     output: PROJECT_RDNN_NAME + '.appdata.xml.in',
+     input: PROJECT_RDNN_NAME + '.appdata.xml.in.in',
+GitLab

diff --git a/media-sound/gnome-music/gnome-music-40.1.1.ebuild 
b/media-sound/gnome-music/gnome-music-40.1.1.ebuild
index 261d35742d1c..ff9dc73cd09e 100644
--- a/media-sound/gnome-music/gnome-music-40.1.1.ebuild
+++ b/media-sound/gnome-music/gnome-music-40.1.1.ebuild
@@ -53,6 +53,10 @@ BDEPEND="
        virtual/pkgconfig
 "
 
+PATCHES=(
+       "${FILESDIR}/${PV}"-fix-build-with-meson-0.61.1.patch
+)
+
 RESTRICT="test" # only does desktop and appdata validation, and latter needs 
network to validate screenshot from https
 
 pkg_setup() {

Reply via email to