diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-03-20 18:41:13 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-03-20 18:44:55 -0700 |
commit | 028baea48e8552cc18679e4b7b567fc357ba6388 (patch) | |
tree | f57302ac03ae08029482f5bde7211f3a528eb69c /gnome-base | |
parent | net-wireless/gnome-bluetooth: Resolve file conflicts (diff) | |
download | gentoo-028baea48e8552cc18679e4b7b567fc357ba6388.tar.gz gentoo-028baea48e8552cc18679e4b7b567fc357ba6388.tar.bz2 gentoo-028baea48e8552cc18679e4b7b567fc357ba6388.zip |
gnome-base/librsvg: Fix non-primary ABI build
Closes: https://bugs.gentoo.org/835697
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/librsvg/librsvg-2.54.0.ebuild | 13 |
1 files changed, 13 insertions, 0 deletions
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() { |