commit:     8179497676ed3701b9253a6b97653cfdce62d19b
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Mon May 24 18:29:18 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri May 28 05:39:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81794976

x11-libs/pango: Install docs to html/

Avoid compressing installed fonts and JSON.

Closes: https://github.com/gentoo/gentoo/pull/20970
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-libs/pango/pango-1.48.5.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-libs/pango/pango-1.48.5.ebuild 
b/x11-libs/pango/pango-1.48.5.ebuild
index 23397f85adf..4c0ee309003 100644
--- a/x11-libs/pango/pango-1.48.5.ebuild
+++ b/x11-libs/pango/pango-1.48.5.ebuild
@@ -84,10 +84,11 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
+       einstalldocs
        if use gtk-doc; then
-               mv "${ED}"/usr/share/doc/{${PN},${P}} || die
+               mv "${ED}"/usr/share/doc/{${PN}/reference/,${PF}/html/} || die
+               rmdir "${ED}"/usr/share/doc/${PN} || die
        fi
-       einstalldocs
 }
 
 pkg_postinst() {

Reply via email to