blob: 0a1e6ccaf8ae663b54e8f8070abb57b91632a8ff (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcde/abcde-2.3.99.7_p235-r3.ebuild,v 1.1 2010/01/28 15:05:26 beandog Exp $
inherit eutils
DESCRIPTION="A Better CD Encoder"
HOMEPAGE="http://code.google.com/p/abcde/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
MY_PV=${P/_p235/}
S="${WORKDIR}"/${MY_PV}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="aac cdparanoia id3 vorbis flac speex lame normalize replaygain"
RDEPEND="
id3? (
>=media-sound/id3-0.12
media-sound/id3v2
)
media-sound/cd-discid
virtual/eject
aac? ( media-libs/faac )
cdparanoia? ( media-sound/cdparanoia )
vorbis? ( media-sound/vorbis-tools )
flac? ( media-libs/flac )
speex? ( media-libs/speex )
lame? ( media-sound/lame )
normalize? ( >=media-sound/normalize-0.7.4 )
replaygain? ( vorbis? ( media-sound/vorbisgain )
lame? ( media-sound/mp3gain ) )"
src_unpack() {
unpack ${A}
cd "${S}"
# bug 292315
epatch "${FILESDIR}"/m4a-tagging.patch
sed -i 's:/etc/abcde.conf:/etc/abcde/abcde.conf:g' abcde
sed -i 's:/etc:/etc/abcde/:g' Makefile
}
src_install() {
dodir /etc/abcde
emake DESTDIR="${D}" install || die "make install failed"
dodoc README TODO changelog FAQ KNOWN.BUGS USEPIPES
docinto examples/
dodoc examples/*
}
|