summaryrefslogtreecommitdiff
path: root/media-sound/mp3c
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mp3c')
-rw-r--r--media-sound/mp3c/Manifest2
-rw-r--r--media-sound/mp3c/mp3c-0.31-r1.ebuild45
2 files changed, 24 insertions, 23 deletions
diff --git a/media-sound/mp3c/Manifest b/media-sound/mp3c/Manifest
index 1bf310828f5a..264c9fde3049 100644
--- a/media-sound/mp3c/Manifest
+++ b/media-sound/mp3c/Manifest
@@ -1,4 +1,4 @@
AUX mp3c-buffer.patch 340 BLAKE2B 775e62f27d178ddf9af7e9b529ae83e4aeccdb8766fe387997f7968b1f56f8d427c0c26258a2119f1988d7fc737166f77a0b8c5d62609e08b20f25b7604d5236 SHA512 2f109b9307c9ddd8012f7f7e4ac967889e6aba4886f59aca1d785c0c24fbf3231174bb3dce41aa0f362115b98c0c9921f7d87676f467cf75267026bb23cf03c8
DIST mp3c-0.31.tar.bz2 351015 BLAKE2B 0330471c56abd2659885ba2d9c35df1f7cb3b46772ff142c3246939ab45cfc96ee6051c535bb7ba04bec91072b4a0c50c7e534962f1420f6f68f528f92f8fcab SHA512 6c30573c2df86a019c0832b0f0dc83587af5f866ad29b84ac4f57cc61de03708363644d0b3ccc144fce12cb6209357eb1d5dad4e90d70a420f083f0ea4c36c7f
-EBUILD mp3c-0.31-r1.ebuild 820 BLAKE2B 78ab9962eb76e91df279e441c9029b5744aae97f6ac78c8874b5a99bf5487a6a96fb93ad20e47567c8a7096dd7ef759df56d6c443f98c6e924dbe4dbb40685a3 SHA512 9c62b262dd5cbee0a9944454a2676a1cca19de0311a48763df479c06aa80105cfc44bf945b21fb0e706a3d53eb7ea9a5019a85ae5188108e2329db7aad8aba23
+EBUILD mp3c-0.31-r1.ebuild 803 BLAKE2B fff61bb6980b4d95a985b3d03d6c674969167fa7b4f5750c122fde6a126d396f51e8c4f05e58ae07ea934aa4bba363d6970a04970a829124f4eb9e2aedfe1cc1 SHA512 ff419422ec36d547c94fd0ead2ddf39ef5e71509f10f624b8e64575489363b4ca68dde626d9fd3e57ac06420ebae9a6ccb7dc0cb12c857bc9cd534c195cbb60d
MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343
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
}