blob: 9fd21947cc9ebaec6dc3a7700fb9e257b155e22f (
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
70
71
72
73
74
75
76
77
|
# Copyright 1999-2009 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.4 2009/07/24 06:31:58 aballier Exp $
EAPI=1
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
x11-libs/qt:3
=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}
sys-devel/gettext"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-configure.ac.patch"
epatch "${FILESDIR}/${P}-libmpeg3.patch"
epatch "${FILESDIR}/${P}-gcc44.patch"
# Stolen from enlightenment.eclass
cp $(type -p gettextize) "${T}/" || die "Could not copy gettextize"
sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize"
"${T}/gettextize" -f --no-changelog || die "gettexize failed"
eautoreconf
}
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
}
|