commit:     b02e1593d0916e5657fb7e1d3bf34a90b8f34f03
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 03:09:26 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 03:09:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b02e1593

app-text/zathura: fix build with meson 0.61

Closes: https://bugs.gentoo.org/831468
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/zathura-0.4.8-meson-0.61-build.patch     | 27 ++++++++++++++++++++++
 app-text/zathura/zathura-0.4.8.ebuild              |  6 ++++-
 2 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/app-text/zathura/files/zathura-0.4.8-meson-0.61-build.patch 
b/app-text/zathura/files/zathura-0.4.8-meson-0.61-build.patch
new file mode 100644
index 000000000000..577eddc4da1f
--- /dev/null
+++ b/app-text/zathura/files/zathura-0.4.8-meson-0.61-build.patch
@@ -0,0 +1,27 @@
+https://github.com/pwmt/zathura/commit/c6ec5044c5ff843979050bfb81742d14740bb656.patch
+https://bugs.gentoo.org/831468
+
+From: Sebastian Ramacher <[email protected]>
+Date: Sat, 30 Oct 2021 15:41:25 +0200
+Subject: [PATCH] Fix build with meson 0.60
+
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -19,7 +19,7 @@ endif
+ i18n = import('i18n')
+ podir = join_paths(meson.project_source_root(), 'po')
+ 
+-desktop = i18n.merge_file('desktop',
++desktop = i18n.merge_file(
+   input: 'org.pwmt.zathura.desktop.in',
+   output: 'org.pwmt.zathura.desktop',
+   install: true,
+@@ -28,7 +28,7 @@ desktop = i18n.merge_file('desktop',
+   type: 'desktop'
+ )
+ 
+-appdata = i18n.merge_file('appdata',
++appdata = i18n.merge_file(
+   input: 'org.pwmt.zathura.appdata.xml.in',
+   output: 'org.pwmt.zathura.appdata.xml',
+   install: true,

diff --git a/app-text/zathura/zathura-0.4.8.ebuild 
b/app-text/zathura/zathura-0.4.8.ebuild
index 0de2aed7939f..83b02ddfd08f 100644
--- a/app-text/zathura/zathura-0.4.8.ebuild
+++ b/app-text/zathura/zathura-0.4.8.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
@@ -40,6 +40,10 @@ BDEPEND="doc? ( dev-python/sphinx )
                dev-libs/check )
        virtual/pkgconfig"
 
+PATCHES=(
+       "${FILESDIR}"/${P}-meson-0.61-build.patch
+)
+
 src_configure() {
        local emesonargs=(
                -Dconvert-icon=disabled

Reply via email to