blob: d51baa1b17770ce499de8e0691efcbe58ecdc4d2 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/djplay/djplay-0.5.0.ebuild,v 1.1 2007/01/30 20:42:04 aballier Exp $
inherit autotools eutils qt3
DESCRIPTION="A live DJing application."
HOMEPAGE="http://djplay.sf.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="audiofile cdparanoia mad mpeg" #sdl
#Upstream declared that the sdl use flag won't be supported until version 0.7.0
DEPEND="media-libs/alsa-lib
$(qt_min_version 3.2.1)
=dev-libs/glib-1.2*
media-libs/libsamplerate
media-libs/id3lib
dev-libs/libxml2
media-plugins/tap-plugins
media-plugins/swh-plugins
media-sound/jack-audio-connection-kit
media-libs/libdjconsole
media-libs/libogg
media-libs/libvorbis
media-libs/libsdl
audiofile? ( media-libs/audiofile )
cdparanoia? ( media-sound/cdparanoia )
mad? ( media-libs/libmad )
mpeg? ( media-libs/libmpeg3 )"
#sdl? ( media-libs/libsdl )
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${P}-configure.ac.patch"
epatch "${FILESDIR}/${P}-libmpeg3.patch"
eautoconf || die "eautoconf failed"
}
src_compile() {
local myconf
if use mpeg; then
myconf=--with-mpeg3includes=/usr/include/libmpeg3
fi
econf \
${myconf} \
$(use_with audiofile) \
$(use_with cdparanoia) \
$(use_with mad) \
$(use_with mpeg) \
|| die "econf failed"
#$(use_with sdl video) \
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc ChangeLog NEWS README AUTHORS
}
|