summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mixxx/mixxx-1.4.2.ebuild')
-rw-r--r--media-sound/mixxx/mixxx-1.4.2.ebuild42
1 files changed, 17 insertions, 25 deletions
diff --git a/media-sound/mixxx/mixxx-1.4.2.ebuild b/media-sound/mixxx/mixxx-1.4.2.ebuild
index 96dfd7dd9478..032020eebb89 100644
--- a/media-sound/mixxx/mixxx-1.4.2.ebuild
+++ b/media-sound/mixxx/mixxx-1.4.2.ebuild
@@ -1,23 +1,19 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mixxx/mixxx-1.4.2.ebuild,v 1.7 2006/11/05 21:59:07 aballier Exp $
-
-IUSE="alsa jack"
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mixxx/mixxx-1.4.2.ebuild,v 1.8 2008/05/21 00:03:36 drac Exp $
inherit eutils qt3
-S="${WORKDIR}/${P}/src"
-
DESCRIPTION="Digital DJ tool using QT 3.x"
HOMEPAGE="http://mixxx.sourceforge.net"
SRC_URI="mirror://sourceforge/mixxx/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-# -amd64: 1.4.2 - static noise comes out of speakers at startup - eradicator
-KEYWORDS="-amd64 sparc x86 ~ppc"
+KEYWORDS="sparc ~ppc x86"
+IUSE="alsa jack"
-DEPEND="$(qt_min_version 3.1)
+RDEPEND="$(qt_min_version 3.1)
media-sound/madplay
media-libs/libogg
media-libs/libvorbis
@@ -27,38 +23,34 @@ DEPEND="$(qt_min_version 3.1)
media-libs/portaudio
alsa? ( media-libs/alsa-lib )
jack? ( media-sound/jack-audio-connection-kit )"
-
-RDEPEND="${DEPEND}
- dev-lang/perl"
-
-DEPEND="${DEPEND}
+DEPEND="${RDEPEND}
+ dev-lang/perl
dev-util/pkgconfig
sys-apps/sed"
+S=${WORKDIR}/${P}/src
+
src_unpack() {
unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${PN}-1.3.2-gentoo.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.3.2-gentoo.patch
}
src_compile() {
- ./configure `use_enable alsa` `use_enable jack` || die "configure failed"
+ ./configure `use_enable alsa` `use_enable jack` || die "configure failed."
sed -i -e "s/CFLAGS *= -pipe -w -O2/CFLAGS = ${CFLAGS} -w/" \
-e "s/CXXFLAGS *= -pipe -w -O2/CXXFLAGS = ${CXXFLAGS} -w/" Makefile
- addpredict ${QTDIR}/etc/settings
- emake || die "make failed"
+ addpredict ${QTDIR}/etc/settings
+ emake || die "emake failed."
}
src_install() {
insinto /usr/share/mixxx
- doins -r skins midi keyboard
+ doins -r skins midi keyboard || die "doins failed."
- insopts -m0755
- insinto /usr/bin
- doins mixxx
+ dobin mixxx || die "dobin failed."
- dodoc ../README ../README.ALSA ../Mixxx-Manual.pdf
+ dodoc ../{README,README.ALSA,Mixxx-Manual.pdf}
}