summaryrefslogtreecommitdiff
blob: 50bc4fcf2e6205fd3affb2e3576066cbe61ea2bd (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/djplay/djplay-0.3.0.ebuild,v 1.6 2008/07/27 21:21:45 carlo Exp $

EAPI=1

IUSE=""

inherit eutils qt3

DESCRIPTION="A live DJing application."
HOMEPAGE="http://djplay.sf.net/"
SRC_URI="mirror://sourceforge/djplay/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="media-libs/alsa-lib
	x11-libs/qt:3
	=dev-libs/glib-1.2*
	media-libs/libsamplerate
	media-libs/libmpeg3
	media-libs/id3lib
	media-libs/libmad
	media-libs/audiofile
	dev-libs/libxml2
	media-plugins/tap-plugins
	media-plugins/swh-plugins
	media-sound/jack-audio-connection-kit
	media-libs/libogg
	media-libs/libvorbis"

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i "s/INCLUDES = -I\$(QTDIR)\/include/INCLUDES = -I\$(QTDIR)\/include -Iplugins\/bitmapbutton -Iplugins\/bitmapslider/" Makefile.am Makefile.in
	rm moc_*.cpp
	epatch "${FILESDIR}/${P}-gcc4.patch"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
}