diff options
author | Sam James <sam@gentoo.org> | 2022-01-25 02:06:50 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-25 02:06:50 +0000 |
commit | f13a9b44bef909ba165a051caee921734834b377 (patch) | |
tree | f79f36e73ba2306fcbc5d58ea84f2e00c4dee608 /games-puzzle | |
parent | gnome-extra/gnome-tweaks: fix build with meson 0.61 (diff) | |
download | gentoo-f13a9b44bef909ba165a051caee921734834b377.tar.gz gentoo-f13a9b44bef909ba165a051caee921734834b377.tar.bz2 gentoo-f13a9b44bef909ba165a051caee921734834b377.zip |
games-puzzle/gnome2048: fix build with meson 0.61
Closes: https://bugs.gentoo.org/831748
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/gnome2048/files/gnome2048-3.38.2-meson-0.61.patch | 31 | ||||
-rw-r--r-- | games-puzzle/gnome2048/gnome2048-3.38.2.ebuild | 6 |
2 files changed, 36 insertions, 1 deletions
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 new file mode 100644 index 000000000000..749b8e04d674 --- /dev/null +++ b/games-puzzle/gnome2048/files/gnome2048-3.38.2-meson-0.61.patch @@ -0,0 +1,31 @@ +https://gitlab.gnome.org/GNOME/gnome-2048/-/merge_requests/21.patch +https://bugs.gentoo.org/831748 + +From 194e22699f7166a016cd39ba26dd719aeecfc868 Mon Sep 17 00:00:00 2001 +From: Jan Beich <jbeich@FreeBSD.org> +Date: Sun, 23 Jan 2022 10:49:07 +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:19:0: ERROR: Function does not take positional arguments. +data/meson.build:39:0: ERROR: Function does not take positional arguments. +--- a/data/meson.build ++++ b/data/meson.build +@@ -17,7 +17,6 @@ install_data( + + # Desktop file + desktop_file = i18n.merge_file( +- 'desktop-file', + input: 'org.gnome.TwentyFortyEight.desktop.in', + output: 'org.gnome.TwentyFortyEight.desktop', + install: true, +@@ -37,7 +36,6 @@ endif + + # AppData file + appdata_file = i18n.merge_file( +- 'appdata-file', + input: 'org.gnome.TwentyFortyEight.appdata.xml.in', + output: 'org.gnome.TwentyFortyEight.appdata.xml', + install: true, +GitLab diff --git a/games-puzzle/gnome2048/gnome2048-3.38.2.ebuild b/games-puzzle/gnome2048/gnome2048-3.38.2.ebuild index 7b0f85ac85ae..8e058dd8bbf0 100644 --- a/games-puzzle/gnome2048/gnome2048-3.38.2.ebuild +++ b/games-puzzle/gnome2048/gnome2048-3.38.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -31,6 +31,10 @@ BDEPEND=" $(vala_depend) " +PATCHES=( + "${FILESDIR}"/${PN}-3.38.2-meson-0.61.patch +) + src_prepare() { xdg_src_prepare vala_src_prepare |