diff options
author | David Seifert <soap@gentoo.org> | 2019-10-16 13:39:51 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-10-16 13:39:51 +0200 |
commit | 2c1fe16a377bacfc77fedb90147a27cd2ab8060a (patch) | |
tree | ae7fc16b7f4f566145e59724427a325d77f54aaa /media-sound | |
parent | media-sound/litestream: Port to EAPI 7 (diff) | |
download | gentoo-2c1fe16a377bacfc77fedb90147a27cd2ab8060a.tar.gz gentoo-2c1fe16a377bacfc77fedb90147a27cd2ab8060a.tar.bz2 gentoo-2c1fe16a377bacfc77fedb90147a27cd2ab8060a.zip |
media-sound/mp3c: Port to EAPI 7
Bug: https://bugs.gentoo.org/697274
Closes: https://bugs.gentoo.org/689980
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mp3c/mp3c-0.31-r1.ebuild | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/media-sound/mp3c/mp3c-0.31-r1.ebuild b/media-sound/mp3c/mp3c-0.31-r1.ebuild index 556816841642..c81de5093efc 100644 --- a/media-sound/mp3c/mp3c-0.31-r1.ebuild +++ b/media-sound/mp3c/mp3c-0.31-r1.ebuild @@ -1,37 +1,38 @@ -# 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 -inherit eutils - -IUSE="mp3 vorbis" +inherit flag-o-matic toolchain-funcs DESCRIPTION="console based mp3 ripper, with cddb support" HOMEPAGE="http://wspse.de/WSPse/Linux-MP3c.php3" SRC_URI="ftp://ftp.wspse.de/pub/linux/wspse/${P}.tar.bz2" -RDEPEND="mp3? ( media-sound/lame - >=media-sound/mp3info-0.8.4-r1 ) - virtual/cdrtools - vorbis? ( media-sound/vorbis-tools )" - -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="amd64 ppc sparc x86" +IUSE="mp3 vorbis" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-buffer.patch" -} +DEPEND="sys-libs/ncurses:0=" +RDEPEND=" + ${DEPEND} + virtual/cdrtools + mp3? ( + media-sound/lame + media-sound/mp3info + ) + vorbis? ( media-sound/vorbis-tools )" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-buffer.patch ) -src_compile() { - econf $(use_enable vorbis oggdefaults) || die "econf failed !" - emake || die "emake failed!" +src_configure() { + append-libs $($(tc-getPKG_CONFIG) --libs ncurses) + econf $(use_enable vorbis oggdefaults) } -src_install () { - make DESTDIR="${D}" install || die - dodoc AUTHORS *README BUGS CDDB_HOWTO ChangeLog FAQ NEWS OTHERS TODO +src_install() { + default + dodoc BATCH.README CDDB_HOWTO OTHERS } |