gnome-extra/gnome-documents: fix build with meson-0.61

Upstream looks abandoned, fixing in-tree.

Signed-off-by: Christophe Lermytte <gentoo@lermytte.be>
Closes: https://bugs.gentoo.org/833843
Closes: https://github.com/gentoo/gentoo/pull/24296
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Christophe Lermytte
2022-02-21 12:49:05 +01:00
committed by Sam James
parent 6be1ee868c
commit 5ca2382369
2 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
https://bugs.gentoo.org/833843
--- a/data/meson.build
+++ b/data/meson.build
@@ -56,7 +56,6 @@ foreach app: documents_apps
appdata = app + '.appdata.xml'
appdata_file = i18n.merge_file(
- appdata,
input: appdata + '.in',
output: appdata,
po_dir: po_dir,
@@ -76,7 +75,6 @@ foreach app: documents_apps
desktop = app + '.desktop'
desktop_file = i18n.merge_file(
- desktop,
type: 'desktop',
input: desktop + '.in',
output: desktop,

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -49,6 +49,10 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/fix-build-with-meson-0.61.patch
)
src_configure() {
local emesonargs=(
-Ddocumentation=true #manpage