Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/gnome2048/files/, games-puzzle/gnome2048/
Date: Tue, 25 Jan 2022 02:16:02
Message-Id: 1643076410.f13a9b44bef909ba165a051caee921734834b377.sam@gentoo
1 commit: f13a9b44bef909ba165a051caee921734834b377
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 25 02:06:50 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 25 02:06:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13a9b44
7
8 games-puzzle/gnome2048: fix build with meson 0.61
9
10 Closes: https://bugs.gentoo.org/831748
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../files/gnome2048-3.38.2-meson-0.61.patch | 31 ++++++++++++++++++++++
14 games-puzzle/gnome2048/gnome2048-3.38.2.ebuild | 6 ++++-
15 2 files changed, 36 insertions(+), 1 deletion(-)
16
17 diff --git a/games-puzzle/gnome2048/files/gnome2048-3.38.2-meson-0.61.patch b/games-puzzle/gnome2048/files/gnome2048-3.38.2-meson-0.61.patch
18 new file mode 100644
19 index 000000000000..749b8e04d674
20 --- /dev/null
21 +++ b/games-puzzle/gnome2048/files/gnome2048-3.38.2-meson-0.61.patch
22 @@ -0,0 +1,31 @@
23 +https://gitlab.gnome.org/GNOME/gnome-2048/-/merge_requests/21.patch
24 +https://bugs.gentoo.org/831748
25 +
26 +From 194e22699f7166a016cd39ba26dd719aeecfc868 Mon Sep 17 00:00:00 2001
27 +From: Jan Beich <jbeich@×××××××.org>
28 +Date: Sun, 23 Jan 2022 10:49:07 +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/meson.build:19:0: ERROR: Function does not take positional arguments.
34 +data/meson.build:39:0: ERROR: Function does not take positional arguments.
35 +--- a/data/meson.build
36 ++++ b/data/meson.build
37 +@@ -17,7 +17,6 @@ install_data(
38 +
39 + # Desktop file
40 + desktop_file = i18n.merge_file(
41 +- 'desktop-file',
42 + input: 'org.gnome.TwentyFortyEight.desktop.in',
43 + output: 'org.gnome.TwentyFortyEight.desktop',
44 + install: true,
45 +@@ -37,7 +36,6 @@ endif
46 +
47 + # AppData file
48 + appdata_file = i18n.merge_file(
49 +- 'appdata-file',
50 + input: 'org.gnome.TwentyFortyEight.appdata.xml.in',
51 + output: 'org.gnome.TwentyFortyEight.appdata.xml',
52 + install: true,
53 +GitLab
54
55 diff --git a/games-puzzle/gnome2048/gnome2048-3.38.2.ebuild b/games-puzzle/gnome2048/gnome2048-3.38.2.ebuild
56 index 7b0f85ac85ae..8e058dd8bbf0 100644
57 --- a/games-puzzle/gnome2048/gnome2048-3.38.2.ebuild
58 +++ b/games-puzzle/gnome2048/gnome2048-3.38.2.ebuild
59 @@ -1,4 +1,4 @@
60 -# Copyright 1999-2021 Gentoo Authors
61 +# Copyright 1999-2022 Gentoo Authors
62 # Distributed under the terms of the GNU General Public License v2
63
64 EAPI=7
65 @@ -31,6 +31,10 @@ BDEPEND="
66 $(vala_depend)
67 "
68
69 +PATCHES=(
70 + "${FILESDIR}"/${PN}-3.38.2-meson-0.61.patch
71 +)
72 +
73 src_prepare() {
74 xdg_src_prepare
75 vala_src_prepare