summaryrefslogtreecommitdiff
blob: c81de5093efc17ebe0e6080031b04a8693583a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

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"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE="mp3 vorbis"

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_configure() {
	append-libs $($(tc-getPKG_CONFIG) --libs ncurses)
	econf $(use_enable vorbis oggdefaults)
}

src_install() {
	default
	dodoc BATCH.README CDDB_HOWTO OTHERS
}