summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2021-06-01 19:40:44 +0100
committerMatt Turner <mattst88@gentoo.org>2021-06-02 19:52:58 -0700
commit3d8193892594bcf8c5dd275244bb0ba108f20e24 (patch)
tree5d61c28c8373ecaf7502e09d0ea1bffddf2a6fc4 /x11-libs/gdk-pixbuf
parentx11-libs/pango: add riscv keyword (diff)
downloadgentoo-3d8193892594bcf8c5dd275244bb0ba108f20e24.tar.gz
gentoo-3d8193892594bcf8c5dd275244bb0ba108f20e24.tar.bz2
gentoo-3d8193892594bcf8c5dd275244bb0ba108f20e24.zip
x11-libs/gdk-pixbuf: Enable gi-docgen generated documentation
Closes: https://bugs.gentoo.org/779142 Closes: https://github.com/gentoo/gentoo/pull/21078 Signed-off-by: Chris Mayo <aklhfex@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs/gdk-pixbuf')
-rw-r--r--x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild17
1 files changed, 14 insertions, 3 deletions
diff --git a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild b/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild
index 00c3b1618014..cd29c1da60d0 100644
--- a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild
+++ b/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild
@@ -30,8 +30,10 @@ BDEPEND="
dev-libs/glib:2
dev-libs/libxslt
dev-util/glib-utils
- gtk-doc? ( >=dev-util/gtk-doc-1.20
- app-text/docbook-xml-dtd:4.3 )
+ gtk-doc? (
+ app-text/docbook-xml-dtd:4.3
+ dev-util/gi-docgen
+ )
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
>=dev-util/meson-0.55.3
@@ -71,7 +73,7 @@ multilib_src_configure() {
)
if multilib_is_native_abi; then
emesonargs+=(
- $(meson_use gtk-doc gtk_docs)
+ $(meson_use gtk-doc gtk_doc)
$(meson_feature introspection)
-Dman=true
)
@@ -97,6 +99,15 @@ multilib_src_install() {
meson_src_install
}
+multilib_src_install_all() {
+ einstalldocs
+ if use gtk-doc; then
+ mkdir "${ED}"/usr/share/doc/${PF}/html || die
+ mv "${ED}"/usr/share/doc/{${PN}/,${PF}/html/} || die
+ mv "${ED}"/usr/share/doc/{gdk-pixdata/,${PF}/html/} || die
+ fi
+}
+
pkg_preinst() {
xdg_pkg_preinst