sci-geosciences/gnome-maps: backport fix for meson-0.61

Closes: https://bugs.gentoo.org/831655
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2022-01-22 13:19:07 -05:00
parent 2df53ef7c3
commit be21e1fa3d
4 changed files with 47 additions and 2 deletions
@@ -0,0 +1,33 @@
https://bugs.gentoo.org/831655
https://gitlab.gnome.org/GNOME/gnome-maps/-/commit/def20cbb26e59e5023fe157e691de48d7afe7210
From e81cbf910755c0387677a43a7427da4ec073e1eb Mon Sep 17 00:00:00 2001
From: Marcus Lundblad <ml@update.uu.se>
Date: Fri, 14 Jan 2022 23:33:43 +0100
Subject: [PATCH] meson: Remove unnesseray argument to i18n.merg_file
This causes a build failure with meson 0.60 (or later).
Remove it, as it's ignored also for earlier meson versions.
Fixes #418
(cherry picked from commit def20cbb26e59e5023fe157e691de48d7afe7210)
---
data/meson.build | 1 -
1 file changed, 1 deletion(-)
diff --git a/data/meson.build b/data/meson.build
index 2be4ee73..4ef7eba0 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -33,7 +33,6 @@ install_data(
appdata = app_id + '.appdata.xml'
appdata_file = i18n.merge_file(
- appdata,
input: appdata + '.in',
output: appdata,
po_dir: po_dir,
--
2.34.1
@@ -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
@@ -45,6 +45,10 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/gnome-maps-meson-0.61.patch"
)
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
@@ -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
@@ -45,6 +45,10 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/gnome-maps-meson-0.61.patch"
)
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
@@ -45,6 +45,10 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/gnome-maps-meson-0.61.patch"
)
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update