1 |
commit: c4bd0dcc8ff5fc04a68898eba57c15ef66d512b8 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 28 17:22:36 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 28 17:22:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4bd0dcc |
7 |
|
8 |
media-sound/mplay: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
media-sound/mplay/mplay-0.80.ebuild | 20 +++++++++----------- |
14 |
1 file changed, 9 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/media-sound/mplay/mplay-0.80.ebuild b/media-sound/mplay/mplay-0.80.ebuild |
17 |
index 3028ace5c92..a3cd7a2a79c 100644 |
18 |
--- a/media-sound/mplay/mplay-0.80.ebuild |
19 |
+++ b/media-sound/mplay/mplay-0.80.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=0 |
26 |
+EAPI=7 |
27 |
|
28 |
DESCRIPTION="A Curses front-end for mplayer" |
29 |
HOMEPAGE="http://mplay.sourceforge.net" |
30 |
@@ -10,7 +10,6 @@ SRC_URI="mirror://sourceforge/mplay/${P}.tar.gz" |
31 |
LICENSE="GPL-2" |
32 |
SLOT="0" |
33 |
KEYWORDS="~amd64 ~ppc x86" |
34 |
-IUSE="" |
35 |
|
36 |
RDEPEND="dev-lang/perl |
37 |
>=dev-perl/MP3-Info-1.11 |
38 |
@@ -21,19 +20,18 @@ RDEPEND="dev-lang/perl |
39 |
dev-perl/Video-Info |
40 |
media-video/mplayer" |
41 |
|
42 |
-src_unpack() { |
43 |
- unpack ${A} |
44 |
- cd "${S}" |
45 |
- sed -i 's:/usr/local:/usr:g' mplay || die "Unable fix the /usr/local path issues." |
46 |
+src_prepare() { |
47 |
+ default |
48 |
+ sed -i 's:/usr/local:/usr:g' mplay || die "Unable fix the /usr/local path issues" |
49 |
} |
50 |
|
51 |
src_install() { |
52 |
- dobin mplay || die |
53 |
- dodoc README || die |
54 |
+ dobin mplay |
55 |
+ einstalldocs |
56 |
|
57 |
- cd "${S}"/help |
58 |
+ cd help || die |
59 |
insinto /usr/share/mplay |
60 |
- doins help_en help_de mplayconf || die |
61 |
+ doins help_en help_de mplayconf |
62 |
doman mplay.1 |
63 |
} |