summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-25 02:09:30 +0000
committerSam James <sam@gentoo.org>2022-01-25 02:09:30 +0000
commit7a7df12b8d193f9c05d46eda0de60b70bd6337b6 (patch)
treebb6243cd3a7219aa567b672cee2bf18c8bcf74a1 /games-puzzle/gnome-tetravex
parentgames-puzzle/gnome2048: fix build with meson 0.61 (diff)
downloadgentoo-7a7df12b8d193f9c05d46eda0de60b70bd6337b6.tar.gz
gentoo-7a7df12b8d193f9c05d46eda0de60b70bd6337b6.tar.bz2
gentoo-7a7df12b8d193f9c05d46eda0de60b70bd6337b6.zip
games-puzzle/gnome-tetravex: fix build with meson 0.61
Closes: https://bugs.gentoo.org/831493 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-puzzle/gnome-tetravex')
-rw-r--r--games-puzzle/gnome-tetravex/files/gnome-tetravex-3.38.2-meson-0.61.patch33
-rw-r--r--games-puzzle/gnome-tetravex/gnome-tetravex-3.38.2.ebuild4
2 files changed, 37 insertions, 0 deletions
diff --git a/games-puzzle/gnome-tetravex/files/gnome-tetravex-3.38.2-meson-0.61.patch b/games-puzzle/gnome-tetravex/files/gnome-tetravex-3.38.2-meson-0.61.patch
new file mode 100644
index 000000000000..97f27d95a06a
--- /dev/null
+++ b/games-puzzle/gnome-tetravex/files/gnome-tetravex-3.38.2-meson-0.61.patch
@@ -0,0 +1,33 @@
+https://gitlab.gnome.org/GNOME/gnome-tetravex/-/merge_requests/20.patch
+https://bugs.gentoo.org/831493
+
+From 80912d06f5e588f6aca966fa516103275e58d94e Mon Sep 17 00:00:00 2001
+From: Jan Beich <jbeich@FreeBSD.org>
+Date: Mon, 24 Jan 2022 11:48:22 +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:37:0: ERROR: Function does not take positional arguments.
+data/meson.build:59:0: ERROR: Function does not take positional arguments.
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -34,7 +34,7 @@ endif
+
+ # Desktop file
+ if get_option('build_gui')
+- desktop_file = i18n.merge_file ('desktop-file',
++ desktop_file = i18n.merge_file (
+ input: project_id + '.desktop.in',
+ output: project_id + '.desktop',
+ install: true,
+@@ -56,7 +56,7 @@ endif
+
+ # AppData file
+ if get_option('build_gui')
+- appdata_file = i18n.merge_file ('appdata-file',
++ appdata_file = i18n.merge_file (
+ input: project_id + '.appdata.xml.in',
+ output: project_id + '.appdata.xml',
+ install: true,
+GitLab
diff --git a/games-puzzle/gnome-tetravex/gnome-tetravex-3.38.2.ebuild b/games-puzzle/gnome-tetravex/gnome-tetravex-3.38.2.ebuild
index 1c9ab8809a6e..254fde622d9d 100644
--- a/games-puzzle/gnome-tetravex/gnome-tetravex-3.38.2.ebuild
+++ b/games-puzzle/gnome-tetravex/gnome-tetravex-3.38.2.ebuild
@@ -29,6 +29,10 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.38.2-meson-0.61.patch
+)
+
src_prepare() {
xdg_src_prepare
vala_src_prepare