Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gnome-sound-recorder/, media-sound/gnome-sound-recorder/files/
Date: Tue, 25 Jan 2022 00:49:57
Message-Id: 1643071745.ec6f916ca52e7d3b3bc1b045de3d5e6c4732d014.sam@gentoo
1 commit: ec6f916ca52e7d3b3bc1b045de3d5e6c4732d014
2 Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
3 AuthorDate: Mon Jan 24 22:03:31 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 25 00:49:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec6f916c
7
8 media-sound/gnome-sound-recorder: fix build with meson-0.61
9
10 Closes: https://bugs.gentoo.org/831924
11 Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 .../files/40.0-fix-build-with-meson-0.61.1.patch | 43 ++++++++++++++++++++++
15 .../gnome-sound-recorder-40.0.ebuild | 4 ++
16 2 files changed, 47 insertions(+)
17
18 diff --git a/media-sound/gnome-sound-recorder/files/40.0-fix-build-with-meson-0.61.1.patch b/media-sound/gnome-sound-recorder/files/40.0-fix-build-with-meson-0.61.1.patch
19 new file mode 100644
20 index 000000000000..0eea5fe096e9
21 --- /dev/null
22 +++ b/media-sound/gnome-sound-recorder/files/40.0-fix-build-with-meson-0.61.1.patch
23 @@ -0,0 +1,43 @@
24 +https://gitlab.gnome.org/GNOME/gnome-sound-recorder/-/commit/1335b1b1aff61167f8648f7cb3c569764031960d.patch
25 +https://bugs.gentoo.org/831924
26 +
27 +From: Jan Beich <jbeich@×××××××.org>
28 +Date: Mon, 24 Jan 2022 11:37:06 +0000
29 +Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
30 +
31 +Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
32 +
33 +data/appdata/meson.build:5:0: ERROR: Function does not take positional arguments.
34 +data/meson.build:16:0: ERROR: Function does not take positional arguments.
35 +---
36 + data/appdata/meson.build | 1 -
37 + data/meson.build | 1 -
38 + 2 files changed, 2 deletions(-)
39 +
40 +diff --git a/data/appdata/meson.build b/data/appdata/meson.build
41 +index 1f5744e..d2c2c3a 100644
42 +--- a/data/appdata/meson.build
43 ++++ b/data/appdata/meson.build
44 +@@ -3,7 +3,6 @@ metainfo_conf.set('app-id', application_id)
45 + metainfo_conf.set('gettext-package', gettext_package)
46 +
47 + metainfo_file = i18n.merge_file(
48 +- 'metainfo-file',
49 + input: configure_file(
50 + input: 'org.gnome.SoundRecorder.metainfo.xml.in.in',
51 + output: '@BASENAME@',
52 +diff --git a/data/meson.build b/data/meson.build
53 +index 44117ad..0ff8fa5 100644
54 +--- a/data/meson.build
55 ++++ b/data/meson.build
56 +@@ -14,7 +14,6 @@ install_data(
57 + desktop_conf = configuration_data()
58 + desktop_conf.set('app-id', application_id)
59 + desktop_file = i18n.merge_file(
60 +- 'desktop',
61 + input: configure_file(
62 + input: 'org.gnome.SoundRecorder.desktop.in.in',
63 + output: '@BASENAME@',
64 +--
65 +GitLab
66 +
67
68 diff --git a/media-sound/gnome-sound-recorder/gnome-sound-recorder-40.0.ebuild b/media-sound/gnome-sound-recorder/gnome-sound-recorder-40.0.ebuild
69 index a16fdea8099a..2ff9bf286ecc 100644
70 --- a/media-sound/gnome-sound-recorder/gnome-sound-recorder-40.0.ebuild
71 +++ b/media-sound/gnome-sound-recorder/gnome-sound-recorder-40.0.ebuild
72 @@ -35,6 +35,10 @@ BDEPEND="
73 virtual/pkgconfig
74 "
75
76 +PATCHES=(
77 + "${FILESDIR}/${PV}"-fix-build-with-meson-0.61.1.patch
78 +)
79 +
80 pkg_setup() {
81 python-any-r1_pkg_setup
82 }