media-sound/xmms2: install uncompressed manpages
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 14 Mar 2020 17:29:36 +0000 (17:29 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 14 Mar 2020 17:30:03 +0000 (17:30 +0000)
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
media-sound/xmms2/xmms2-0.8_p20161122-r6.ebuild

index 1a4a4560829d483525273a47539ca098532f5a1b..cc6293aa50a6b0a9a770dfa31c35dded75a546f6 100644 (file)
@@ -288,7 +288,16 @@ src_test() {
 src_install() {
        ./waf --without-ldconfig --destdir="${D}" install || die "'waf install' failed"
        dodoc AUTHORS TODO
+
        python_optimize
+
+       # waftools/man.py always compresses man pages with gzip.
+       # to avoid code changed let's just un-gzip manpages
+       local m
+       for m in "${ED}"/usr/share/man/man1/*.gz; do
+               einfo "Uncompressing '${m#${ED}}' back."
+               gzip -d "${m}" || die
+       done
 }
 
 pkg_postinst() {