mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/gtranslator: fix build with meson 0.61
Closes: https://bugs.gentoo.org/831966 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
30
app-text/gtranslator/files/gtranslator-40.0-meson-0.61.patch
Normal file
30
app-text/gtranslator/files/gtranslator-40.0-meson-0.61.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
https://gitlab.gnome.org/GNOME/gtranslator/-/commit/7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch
|
||||
https://bugs.gentoo.org/831966
|
||||
|
||||
From: Jan Beich <jbeich@FreeBSD.org>
|
||||
Date: Mon, 24 Jan 2022 11:57:43 +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:15:0: ERROR: Function does not take positional arguments.
|
||||
data/meson.build:37:0: ERROR: Function does not take positional arguments.
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -13,7 +13,6 @@ desktop_in = configure_file(
|
||||
)
|
||||
|
||||
i18n.merge_file(
|
||||
- desktop,
|
||||
type: 'desktop',
|
||||
input: desktop_in,
|
||||
output: '@0@.desktop'.format(gtr_app_id),
|
||||
@@ -35,7 +34,6 @@ appdata_in = configure_file(
|
||||
)
|
||||
|
||||
i18n.merge_file(
|
||||
- appdata,
|
||||
input: appdata_in,
|
||||
output: appdata,
|
||||
po_dir: po_dir,
|
||||
GitLab
|
||||
@@ -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
|
||||
@@ -40,6 +40,10 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-meson-0.61.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
|
||||
Reference in New Issue
Block a user