commit: bae28b0b7b08931a69c159a7daf11d8f0cf07360 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Thu Feb 3 05:52:25 2022 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Thu Feb 3 06:20:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bae28b0b
media-sound/sound-juicer: Fix build with meson 0.61 Closes: https://bugs.gentoo.org/831477 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> ...-drop-unused-argument-for-i18n.merge_file.patch | 35 ++++++++++++++++++++++ .../sound-juicer/sound-juicer-3.38.0.ebuild | 4 +++ 2 files changed, 39 insertions(+) diff --git a/media-sound/sound-juicer/files/3.38.0-meson-drop-unused-argument-for-i18n.merge_file.patch b/media-sound/sound-juicer/files/3.38.0-meson-drop-unused-argument-for-i18n.merge_file.patch new file mode 100644 index 000000000000..586fc118921f --- /dev/null +++ b/media-sound/sound-juicer/files/3.38.0-meson-drop-unused-argument-for-i18n.merge_file.patch @@ -0,0 +1,35 @@ +From 9f97ca1faca396099f52264a9729aa355f8d122e Mon Sep 17 00:00:00 2001 +From: Jan Beich <jbe...@freebsd.org> +Date: Tue, 25 Jan 2022 12:15:31 +0000 +Subject: [PATCH] meson: drop unused argument for i18n.merge_file() + +Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0. + +data/meson.build:2:0: ERROR: Function does not take positional arguments. +data/meson.build:31:0: ERROR: Function does not take positional arguments. +--- + data/meson.build | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/data/meson.build b/data/meson.build +index ccff2d80..4dac8166 100644 +--- a/data/meson.build ++++ b/data/meson.build +@@ -1,6 +1,5 @@ + # Desktop file + i18n.merge_file( +- 'desktop', + input: configure_file( + input: 'org.gnome.SoundJuicer.desktop.in.in', + output: 'org.gnome.SoundJuicer.desktop.in', +@@ -29,7 +28,6 @@ configure_file( + + # Metainfo + metainfo_file = i18n.merge_file( +- 'metainfo', + input: files(join_paths('metainfo', 'org.gnome.SoundJuicer.metainfo.xml.in')), + output: 'org.gnome.SoundJuicer.metainfo.xml', + po_dir: po_dir, +-- +2.34.1 + diff --git a/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild b/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild index 3516bda7b7e5..b5cda89740e5 100644 --- a/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild +++ b/media-sound/sound-juicer/sound-juicer-3.38.0.ebuild @@ -47,6 +47,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${PV}-meson-drop-unused-argument-for-i18n.merge_file.patch +) + src_prepare() { # Avoid sandbox failures sed -i -e '/gst_inspect/d' meson.build || die