summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-05-18 18:43:46 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-05-18 18:44:11 +0200
commit563dd71917c9077c1afad0dc04e3b2924ab53b59 (patch)
tree786d950f05339ff5bd13a9c089e78ee54d25d512 /dev-libs
parentdev-libs/appstream: Switch to eapi7-ver (diff)
downloadgentoo-563dd71917c9077c1afad0dc04e3b2924ab53b59.tar.gz
gentoo-563dd71917c9077c1afad0dc04e3b2924ab53b59.tar.bz2
gentoo-563dd71917c9077c1afad0dc04e3b2924ab53b59.zip
dev-libs/appstream: Fix install issue w/ meson
Thanks-to: David Haller <gentoo@dhaller.de> Closes: https://bugs.gentoo.org/640916 Package-Manager: Portage-2.3.38, Repoman-2.3.9
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/appstream/appstream-0.11.5.ebuild2
-rw-r--r--dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch14
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/appstream/appstream-0.11.5.ebuild b/dev-libs/appstream/appstream-0.11.5.ebuild
index 227ab977dc59..bf4e52ace68b 100644
--- a/dev-libs/appstream/appstream-0.11.5.ebuild
+++ b/dev-libs/appstream/appstream-0.11.5.ebuild
@@ -43,6 +43,8 @@ DEPEND="${RDEPEND}
)
"
+PATCHES=( "${FILESDIR}/${P}-fix-meson-po.patch" )
+
src_configure() {
xdg_environment_reset
diff --git a/dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch b/dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch
new file mode 100644
index 000000000000..2a37662e8f34
--- /dev/null
+++ b/dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch
@@ -0,0 +1,14 @@
+Gentoo-bug: https://bugs.gentoo.org/640916
+Thanks-to: David Haller <gentoo@dhaller.de>
+
+--- a/po/meson.build 2017-09-04 18:09:52.000000000 +0200
++++ b/po/meson.build 2018-05-15 12:24:42.000000000 +0200
+@@ -21,7 +21,7 @@
+ 'find ' + meson.current_source_dir() +
+ ' -type f' +
+ ' -iname "*.po"' +
+- ' -printf \'%f\\n\'' +
++ ' -printf \'%f\n\'' +
+ ' | grep -oP \'.*(?=[.])\' | sort' +
+ ' > ' + join_paths(meson.current_source_dir(), 'LINGUAS')
+ ]