summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-03-14 17:29:36 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-03-14 17:30:03 +0000
commit2d044b445c1e8b7926bcebcc9855223903c8da4b (patch)
tree8ed3cca02e9920a826b4aadb03260c3e6d577865 /media-sound/xmms2
parentmedia-sound/xmms2: optimize python modules (diff)
downloadgentoo-2d044b445c1e8b7926bcebcc9855223903c8da4b.tar.gz
gentoo-2d044b445c1e8b7926bcebcc9855223903c8da4b.tar.bz2
gentoo-2d044b445c1e8b7926bcebcc9855223903c8da4b.zip
media-sound/xmms2: install uncompressed manpages
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'media-sound/xmms2')
-rw-r--r--media-sound/xmms2/xmms2-0.8_p20161122-r6.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/media-sound/xmms2/xmms2-0.8_p20161122-r6.ebuild b/media-sound/xmms2/xmms2-0.8_p20161122-r6.ebuild
index 1a4a4560829d..cc6293aa50a6 100644
--- a/media-sound/xmms2/xmms2-0.8_p20161122-r6.ebuild
+++ b/media-sound/xmms2/xmms2-0.8_p20161122-r6.ebuild
@@ -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() {