Skip to content

Commit

Permalink
dev-libs/appstream: Fix install issue w/ meson
Browse files Browse the repository at this point in the history
Thanks-to: David Haller <[email protected]>
Closes: https://bugs.gentoo.org/640916
Package-Manager: Portage-2.3.38, Repoman-2.3.9
  • Loading branch information
a17r committed May 18, 2018
1 parent 49c6d02 commit 563dd71
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-libs/appstream/appstream-0.11.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ DEPEND="${RDEPEND}
)
"

PATCHES=( "${FILESDIR}/${P}-fix-meson-po.patch" )

src_configure() {
xdg_environment_reset

Expand Down
14 changes: 14 additions & 0 deletions dev-libs/appstream/files/appstream-0.11.5-fix-meson-po.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Gentoo-bug: https://bugs.gentoo.org/640916
Thanks-to: David Haller <[email protected]>

--- 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')
]

0 comments on commit 563dd71

Please sign in to comment.