diff options
-rw-r--r-- | media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild | 14 | ||||
-rw-r--r-- | media-video/baka-mplayer/baka-mplayer-9999.ebuild | 12 |
2 files changed, 18 insertions, 8 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 } diff --git a/media-video/baka-mplayer/baka-mplayer-9999.ebuild b/media-video/baka-mplayer/baka-mplayer-9999.ebuild index d44dc348644a..243a21f1b8af 100644 --- a/media-video/baka-mplayer/baka-mplayer-9999.ebuild +++ b/media-video/baka-mplayer/baka-mplayer-9999.ebuild @@ -34,10 +34,9 @@ S="${WORKDIR}/baka-mplayer-${PV}" 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//" -i src/Baka-MPlayer.pro || die + gunzip DOCS/baka-mplayer.1.gz || die } src_configure() { @@ -49,6 +48,11 @@ src_configure() { src/Baka-MPlayer.pro } +src_install() { + default + doman DOCS/baka-mplayer.1 +} + pkg_postinst() { xdg_icon_cache_update } |