summaryrefslogtreecommitdiff
blob: 7c521b8869735bbc9a81c13df40c11a082be6871 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="Digital DJ tool using QT 3.x"
HOMEPAGE="http://mixxx.sourceforge.net"
SRC_URI="mirror://sourceforge/mixxx/mixxx-1.0.tar.gz"
S="${WORKDIR}/${P}/src"

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

DEPEND="virtual/glibc
	>=x11-libs/qt-3.1.0
	media-sound/mad
	=dev-libs/fftw-2.1.5
	media-libs/libogg
	media-libs/libvorbis
	dev-lang/perl
	media-libs/audiofile"

src_unpack() {
	unpack ${A} || die
	cd ${WORKDIR}/${P}

	epatch ${FILESDIR}/mixxx-fixINSTALL.patch
}

src_compile() {
	cd ${S}
	qmake mixxx || die
	make || die
}

src_install() {
	cd ..
	./install.pl || die

	einfo ""
	einfo "Fixing permissions..."
	einfo ""

	chmod 644 ${D}/usr/share/doc/mixxx-1.0/*
	chmod 644 ${D}/usr/share/mixxx/midi/*
	chmod 644 ${D}/usr/share/mixxx/skins/outline/*
	chmod 644 ${D}/usr/share/mixxx/skins/traditional/*
}