summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-03-21 10:54:28 -0700
committerMatt Turner <mattst88@gentoo.org>2022-03-21 10:54:30 -0700
commit494c6cae462ca6f08257821477cc8770bd61b045 (patch)
tree9bedfe939a63644b6f3683516f7d05e6426eb0b8 /gnome-base
parentgnome-base/gnome-control-center: Depend on slotted gnome-bluetooth (diff)
downloadgentoo-494c6cae462ca6f08257821477cc8770bd61b045.tar.gz
gentoo-494c6cae462ca6f08257821477cc8770bd61b045.tar.bz2
gentoo-494c6cae462ca6f08257821477cc8770bd61b045.zip
gnome-base/librsvg: Fix build with USE=-introspection
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.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnome-base/librsvg/librsvg-2.54.0.ebuild b/gnome-base/librsvg/librsvg-2.54.0.ebuild
index 1def62d1e4fc..6a04a29939e5 100644
--- a/gnome-base/librsvg/librsvg-2.54.0.ebuild
+++ b/gnome-base/librsvg/librsvg-2.54.0.ebuild
@@ -86,7 +86,7 @@ multilib_src_configure() {
multilib_src_compile() {
gnome2_src_compile
- if multilib_is_native_abi; then
+ if multilib_is_native_abi && use introspection; then
emake -C doc
fi
}
@@ -94,7 +94,7 @@ multilib_src_compile() {
multilib_src_install() {
gnome2_src_install
- if multilib_is_native_abi; then
+ if multilib_is_native_abi && use introspection; then
emake DESTDIR="${D}" install -C doc
fi
}
@@ -102,8 +102,10 @@ multilib_src_install() {
multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
- mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
- mv "${ED}"/usr/share/doc/${PF}/Rsvg-2.0 "${ED}"/usr/share/gtk-doc/html/ || die
+ if use introspection; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
+ mv "${ED}"/usr/share/doc/${PF}/Rsvg-2.0 "${ED}"/usr/share/gtk-doc/html/ || die
+ fi
}
pkg_postinst() {