mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
media-sound/mplay: Port to EAPI 7
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A Curses front-end for mplayer"
|
||||
HOMEPAGE="http://mplay.sourceforge.net"
|
||||
@@ -10,7 +10,6 @@ SRC_URI="mirror://sourceforge/mplay/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
>=dev-perl/MP3-Info-1.11
|
||||
@@ -21,19 +20,18 @@ RDEPEND="dev-lang/perl
|
||||
dev-perl/Video-Info
|
||||
media-video/mplayer"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i 's:/usr/local:/usr:g' mplay || die "Unable fix the /usr/local path issues."
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's:/usr/local:/usr:g' mplay || die "Unable fix the /usr/local path issues"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mplay || die
|
||||
dodoc README || die
|
||||
dobin mplay
|
||||
einstalldocs
|
||||
|
||||
cd "${S}"/help
|
||||
cd help || die
|
||||
insinto /usr/share/mplay
|
||||
doins help_en help_de mplayconf || die
|
||||
doins help_en help_de mplayconf
|
||||
doman mplay.1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user