commit:     47a950b00c6db383ad07502a8fc396ecca98c1ce
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 28 15:58:57 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Aug 28 15:58:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a950b0

media-fonts/cantarell: add missing appstream-glib build dep

During i18n.merge_file() build rule, gettext msgfmt gets called by a meson
script. This in turn looks for ITS rules on how to merge in translations for
a given file. appstream-glib provides /usr/share/gettext/its/appdata.loc,
which tells gettext how to handle *.metainfo.xml files (that in turn points
at appdata.its, also installed by appstream-glib). If that file isn't present
at build time, then gettext errors out due to not knowing how to handle
*.metainfo.xml translation.
As such, we need appstream-glib at build time here, and in various other
packages that have a metainfo/appdata translation in meson.

Closes: https://bugs.gentoo.org/656710
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 media-fonts/cantarell/cantarell-0.101.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-fonts/cantarell/cantarell-0.101.ebuild 
b/media-fonts/cantarell/cantarell-0.101.ebuild
index 5f8b20d7d6d..990353386f0 100644
--- a/media-fonts/cantarell/cantarell-0.101.ebuild
+++ b/media-fonts/cantarell/cantarell-0.101.ebuild
@@ -15,7 +15,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc 
~ppc64 ~s390 ~sh ~spa
 IUSE=""
 
 RDEPEND="media-libs/fontconfig"
+# appstream-glib provided .loc and .its files required by gettext msgfmt for 
translation of .metainfo.xml
 DEPEND="
+       dev-libs/appstream-glib
        >=sys-devel/gettext-0.19.8
        virtual/pkgconfig
 "

Reply via email to