summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-10 12:31:57 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-10 12:31:57 +0000
commit606d8f2d876269a9e35a8281a929bd2099d2c28b (patch)
treec26fd0c2db89257b1ea0d607cda9255d8ec3506b /media-sound
parentUpdate to EAPI=2 and USE deps. (diff)
downloadgentoo-2-606d8f2d876269a9e35a8281a929bd2099d2c28b.tar.gz
gentoo-2-606d8f2d876269a9e35a8281a929bd2099d2c28b.tar.bz2
gentoo-2-606d8f2d876269a9e35a8281a929bd2099d2c28b.zip
Update to EAPI=2 and USE deps.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mixxx/ChangeLog7
-rw-r--r--media-sound/mixxx/mixxx-1.6.0-r1.ebuild78
2 files changed, 84 insertions, 1 deletions
diff --git a/media-sound/mixxx/ChangeLog b/media-sound/mixxx/ChangeLog
index 7061ed4e4379..cab969a2f7f7 100644
--- a/media-sound/mixxx/ChangeLog
+++ b/media-sound/mixxx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mixxx
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mixxx/ChangeLog,v 1.41 2008/08/13 07:58:11 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mixxx/ChangeLog,v 1.42 2008/10/10 12:31:57 flameeyes Exp $
+
+*mixxx-1.6.0-r1 (10 Oct 2008)
+
+ 10 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> +mixxx-1.6.0-r1.ebuild:
+ Update to EAPI=2 and USE deps.
*mixxx-1.6.0 (13 Aug 2008)
diff --git a/media-sound/mixxx/mixxx-1.6.0-r1.ebuild b/media-sound/mixxx/mixxx-1.6.0-r1.ebuild
new file mode 100644
index 000000000000..260813c7e9db
--- /dev/null
+++ b/media-sound/mixxx/mixxx-1.6.0-r1.ebuild
@@ -0,0 +1,78 @@
+# 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.6.0-r1.ebuild,v 1.1 2008/10/10 12:31:57 flameeyes Exp $
+
+EAPI=2
+
+inherit eutils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="a QT based Digital DJ tool"
+HOMEPAGE="http://mixxx.sourceforge.net"
+SRC_URI="http://downloads.mixxx.org/${MY_P}/${MY_P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug djconsole hifieq ladspa recording shout +vinylcontrol"
+
+# TODO. It bundles libs, like samplerate, why?
+RDEPEND="media-libs/mesa
+ media-libs/libmad
+ media-libs/libid3tag
+ media-libs/libvorbis
+ media-libs/libsndfile
+ >=media-libs/portaudio-19_pre
+ djconsole? ( media-libs/libdjconsole )
+ shout? ( media-libs/libshout )
+ ladspa? ( media-libs/ladspa-sdk )
+ virtual/glu
+ || ( ( x11-libs/qt-core
+ x11-libs/qt-gui
+ x11-libs/qt-opengl )
+ =x11-libs/qt-4.3*:4[opengl,qt3support] )"
+DEPEND="${RDEPEND}
+ dev-util/scons
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${P/_/\~}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's:-O3::g' lib/cmetrics/SConscript || die "sed failed."
+}
+
+src_configure() {
+ local myconf="optimize=0 ffmpeg=0 script=0 prefix=/usr"
+
+ use djconsole && myconf+=" djconsole=1" || myconf+=" djconsole=0"
+ use hifieq && myconf+=" hifieq=1" || myconf+=" hifieq=0"
+ use debug && myconf+=" cmetrics=1" || myconf+=" cmetrics=0"
+ use shout && myconf+=" shoutcast=1" || myconf+=" shoutcast=0"
+ use ladspa && myconf+=" ladspa=1" || myconf+=" ladspa=0"
+ use recording && myconf+=" experimentalrecord=1" || myconf+=" experimentalrecord=0"
+ use vinylcontrol && myconf+=" vinylcontrol=1" || myconf+=" vinylcontrol=0"
+
+ $(type -P scons) ${myconf} -c . || die "scons -c . failed."
+}
+
+src_compile() {
+ $(type -P scons) ${myconf} || die "scons failed."
+}
+
+src_install() {
+ dobin mixxx || die "dobin failed."
+
+ insinto /usr/share/mixxx
+ doins -r src/{skins,midi,keyboard} || die "doins failed."
+
+ doicon src/mixxx-icon.png
+ domenu src/mixxx.desktop
+
+ dodoc HERCULES.txt README*
+
+ insinto /usr/share/doc/${PF}
+ doins Mixxx-Manual.pdf
+}