commit: 028baea48e8552cc18679e4b7b567fc357ba6388 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Mon Mar 21 01:41:13 2022 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Mon Mar 21 01:44:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=028baea4
gnome-base/librsvg: Fix non-primary ABI build Closes: https://bugs.gentoo.org/835697 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> gnome-base/librsvg/librsvg-2.54.0.ebuild | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnome-base/librsvg/librsvg-2.54.0.ebuild b/gnome-base/librsvg/librsvg-2.54.0.ebuild index 17264842982a..1def62d1e4fc 100644 --- a/gnome-base/librsvg/librsvg-2.54.0.ebuild +++ b/gnome-base/librsvg/librsvg-2.54.0.ebuild @@ -47,6 +47,11 @@ QA_FLAGS_IGNORED=" RESTRICT="test" # Lots of issues on 32bit builds, 64bit build seems to get into an infinite compilation sometimes, etc. src_prepare() { + # Documentation is built unconditionally and depends on introspection, + # but introspection is only built for the primary ABI. + # Disable documentation and manually build the doc subdirectory separately. + sed -i -e '/SUBDIRS =/s/ doc//' Makefile.in Makefile.am || die + use vala && vala_src_prepare gnome2_src_prepare } @@ -80,10 +85,18 @@ multilib_src_configure() { multilib_src_compile() { gnome2_src_compile + + if multilib_is_native_abi; then + emake -C doc + fi } multilib_src_install() { gnome2_src_install + + if multilib_is_native_abi; then + emake DESTDIR="${D}" install -C doc + fi } multilib_src_install_all() {