Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/baka-mplayer/
Date: Tue, 21 Jan 2020 19:11:57
Message-Id: 1579633850.0519d13f6e6b3068335cf9c7984faae2c85bf5de.asturm@gentoo
1 commit: 0519d13f6e6b3068335cf9c7984faae2c85bf5de
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 21 19:01:43 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 21 19:10:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0519d13f
7
8 media-video/baka-mplayer: Don't install pre-compressed manpage
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild | 14 ++++++++++----
14 media-video/baka-mplayer/baka-mplayer-9999.ebuild | 12 ++++++++----
15 2 files changed, 18 insertions(+), 8 deletions(-)
16
17 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
18 index 9162db1864e..480cd44a448 100644
19 --- a/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
20 +++ b/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
21 @@ -40,10 +40,11 @@ PATCHES=(
22
23 src_prepare() {
24 default
25 - # no need to install license
26 - sed -e '/^INSTALLS/s:license::' -i src/Baka-MPlayer.pro || die
27 - # put manual in our docdir
28 - sed -e '/^manual.path/s:'${PN}':'${PF}':' -i src/Baka-MPlayer.pro || die
29 + # don't install license, man.gz, install the latter manually
30 + sed -e "/^INSTALLS/s:\sman\slicense::" \
31 + -e '/^manual.path/s:'${PN}':'${PF}':' \
32 + -i src/Baka-MPlayer.pro || die
33 + gunzip DOCS/baka-mplayer.1.gz || die
34 }
35
36 src_configure() {
37 @@ -55,6 +56,11 @@ src_configure() {
38 src/Baka-MPlayer.pro
39 }
40
41 +src_install() {
42 + default
43 + doman DOCS/baka-mplayer.1
44 +}
45 +
46 pkg_postinst() {
47 xdg_icon_cache_update
48 }
49
50 diff --git a/media-video/baka-mplayer/baka-mplayer-9999.ebuild b/media-video/baka-mplayer/baka-mplayer-9999.ebuild
51 index d44dc348644..243a21f1b8a 100644
52 --- a/media-video/baka-mplayer/baka-mplayer-9999.ebuild
53 +++ b/media-video/baka-mplayer/baka-mplayer-9999.ebuild
54 @@ -34,10 +34,9 @@ S="${WORKDIR}/baka-mplayer-${PV}"
55
56 src_prepare() {
57 default
58 - # no need to install license
59 - sed -e '/^INSTALLS/s:license::' -i src/Baka-MPlayer.pro || die
60 - # put manual in our docdir
61 - sed -e '/^manual.path/s:'${PN}':'${PF}':' -i src/Baka-MPlayer.pro || die
62 + # don't install license, man.gz, install the latter manually
63 + sed -e "/^INSTALLS/s/\sman\slicense//" -i src/Baka-MPlayer.pro || die
64 + gunzip DOCS/baka-mplayer.1.gz || die
65 }
66
67 src_configure() {
68 @@ -49,6 +48,11 @@ src_configure() {
69 src/Baka-MPlayer.pro
70 }
71
72 +src_install() {
73 + default
74 + doman DOCS/baka-mplayer.1
75 +}
76 +
77 pkg_postinst() {
78 xdg_icon_cache_update
79 }