blob: 89282a3b640638f1703fd4bd3b150b74728b6ba7 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/mythmusic-0.21_pre15448.ebuild,v 1.1 2008/01/15 16:16:39 cardoe Exp $
inherit mythtv-plugins flag-o-matic toolchain-funcs eutils subversion
DESCRIPTION="Music player module for MythTV."
IUSE="aac cdr fftw libvisual sdl"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND=">=media-sound/cdparanoia-3.9.8
>=media-libs/libmad-0.15.1b
>=media-libs/libvorbis-1.0
>=media-libs/libcdaudio-0.99.6
>=media-libs/flac-1.1.2
>=media-libs/taglib-1.4
aac? ( >=media-libs/faad2-2.0-r7 )
fftw? ( sci-libs/fftw )
sdl? ( >=media-libs/libsdl-1.2.5 )
cdr? ( virtual/cdrtools )
libvisual? ( =media-libs/libvisual-0.4* )"
DEPEND="${RDEPEND}"
pkg_config() {
if use libvisual && ! use sdl; then
eerror "libvisual support requires sdl support. enable 'sdl' USE flag"
die "libvisual support requires sdl support. enable 'sdl' USE flag"
fi
}
src_unpack() {
if [[ $(gcc-version) = "3.2" || $(gcc-version) == "3.3" ]]; then
replace-cpu-flags pentium4 pentium3
fi
subversion_src_unpack
mythtv-plugins_src_unpack_patch || die "unpack failed"
}
MTVCONF="$(use_enable aac) $(use_enable fftw) $(use_enable sdl)"
|