summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-21 20:01:43 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-21 20:10:50 +0100
commit0519d13f6e6b3068335cf9c7984faae2c85bf5de (patch)
tree129fede3a7b89d1bb794633df1c38ff2ab8b61ef /media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
parentmedia-video/baka-mplayer: Add another patch while at it, fixing playlist (diff)
downloadgentoo-0519d13f6e6b3068335cf9c7984faae2c85bf5de.tar.gz
gentoo-0519d13f6e6b3068335cf9c7984faae2c85bf5de.tar.bz2
gentoo-0519d13f6e6b3068335cf9c7984faae2c85bf5de.zip
media-video/baka-mplayer: Don't install pre-compressed manpage
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild')
-rw-r--r--media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild b/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
index 9162db1864e4..480cd44a4484 100644
--- a/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
+++ b/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
@@ -40,10 +40,11 @@ PATCHES=(
src_prepare() {
default
- # no need to install license
- sed -e '/^INSTALLS/s:license::' -i src/Baka-MPlayer.pro || die
- # put manual in our docdir
- sed -e '/^manual.path/s:'${PN}':'${PF}':' -i src/Baka-MPlayer.pro || die
+ # don't install license, man.gz, install the latter manually
+ sed -e "/^INSTALLS/s:\sman\slicense::" \
+ -e '/^manual.path/s:'${PN}':'${PF}':' \
+ -i src/Baka-MPlayer.pro || die
+ gunzip DOCS/baka-mplayer.1.gz || die
}
src_configure() {
@@ -55,6 +56,11 @@ src_configure() {
src/Baka-MPlayer.pro
}
+src_install() {
+ default
+ doman DOCS/baka-mplayer.1
+}
+
pkg_postinst() {
xdg_icon_cache_update
}