summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-03-21 21:24:22 +0000
committerMike Gilbert <floppym@gentoo.org>2012-03-21 21:24:22 +0000
commit7a9d7e5f7c10bb06b90f267025cb7c47795360af (patch)
treeff02dbd0b9c3351cf3538c56b16c9a026bfa0919 /media-sound
parentmedia-gfx/fontmatrix: fix dead source link (diff)
downloadsunrise-7a9d7e5f7c10bb06b90f267025cb7c47795360af.tar.gz
sunrise-7a9d7e5f7c10bb06b90f267025cb7c47795360af.tar.bz2
sunrise-7a9d7e5f7c10bb06b90f267025cb7c47795360af.zip
media-sound/mixxx: Moved to gentoo-x86 by radhermit.
svn path=/sunrise/; revision=12830
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mixxx/ChangeLog66
-rw-r--r--media-sound/mixxx/Manifest9
-rw-r--r--media-sound/mixxx/files/mixxx-1.10.0-flags.patch13
-rw-r--r--media-sound/mixxx/files/mixxx-1.10.0-libsoundtouch.patch68
-rw-r--r--media-sound/mixxx/files/mixxx-9999-flags.patch13
-rw-r--r--media-sound/mixxx/files/mixxx-9999-libsoundtouch.patch45
-rw-r--r--media-sound/mixxx/metadata.xml9
-rw-r--r--media-sound/mixxx/mixxx-1.10.0.ebuild81
-rw-r--r--media-sound/mixxx/mixxx-9999.ebuild82
9 files changed, 0 insertions, 386 deletions
diff --git a/media-sound/mixxx/ChangeLog b/media-sound/mixxx/ChangeLog
deleted file mode 100644
index afb0248cf..000000000
--- a/media-sound/mixxx/ChangeLog
+++ /dev/null
@@ -1,66 +0,0 @@
-# ChangeLog for media-sound/mixxx
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 16 Mar 2012; Alex Barker (KWhat) <alex@1stleg.com>
- files/mixxx-9999-flags.patch, files/mixxx-9999-libsoundtouch.patch:
- Patch offset and consistency adjustments due to upstream modifications.
-
- 24 Dec 2011; Alex Barker (KWhat) <alex@1stleg.com> -mixxx-1.9.2.ebuild,
- -files/mixxx-1.9.2-flags.patch, -files/mixxx-1.9.2-libsoundtouch.patch,
- +mixxx-1.10.0.ebuild, +files/mixxx-1.10.0-flags.patch,
- +files/mixxx-1.10.0-libsoundtouch.patch:
- Version bump, thanks floppym.
-
- 21 Nov 2011; Alex Barker (KWhat) <alex@1stleg.com> mixxx-1.9.2.ebuild,
- mixxx-9999.ebuild:
- Added support for AAC and WavPack audio codecs.
-
- 09 Nov 2011; Alex Barker (KWhat) <alex@1stleg.com> mixxx-9999.ebuild,
- files/mixxx-9999-libsoundtouch.patch:
- Live ebuild update to depend on qt 4.6 or later and fixed the libsoundtouch
- externalization patch broken by upstream updates.
-
- 03 Nov 2011; Alex Barker (KWhat) <alex@1stleg.com> -mixxx-1.9.0-r2.ebuild,
- -files/mixxx-1.9.0-flags.patch, -files/mixxx-1.9.0-libsoundtouch.patch,
- -files/mixxx-1.9.0-linux3.patch, +mixxx-1.9.2.ebuild,
- +files/mixxx-1.9.2-flags.patch, +files/mixxx-1.9.2-libsoundtouch.patch:
- Version bump for 1.9.2
-
- 05 Oct 2011; Alex Barker (KWhat) <alex@1stleg.com>
- files/mixxx-1.9.0-flags.patch, files/mixxx-9999-flags.patch:
- Modifed flags patch to remove CCCOM and CXXCOM overrides that are not needed
- after scons 1.0. CCFLAG change for mixxx-9999 has been applied upstream.
-
- 29 Sep 2011; Alex Barker (KWhat) <alex@1stleg.com> mixxx-1.9.0-r2.ebuild,
- mixxx-9999.ebuild:
- Added env vars for installation phase.
-
- 28 Sep 2011; Alex Barker (KWhat) <alex@1stleg.com> -mixxx-1.9.0-r1.ebuild,
- +mixxx-1.9.0-r2.ebuild, files/mixxx-1.9.0-linux3.patch:
- Added additional Linux 3.0 support patch from upstream.
-
- 29 Jun 2011; Alex Barker (KWhat) <alex@1stleg.com> -mixxx-1.9.0.ebuild,
- +mixxx-1.9.0-r1.ebuild, +files/mixxx-1.9.0-linux3.patch:
- Added Linux 3.0 support patch from upstream.
-
- 13 May 2011; Alex Barker (KWhat) <alex@1stleg.com> metadata.xml:
- Added description for unorthodox pulseaudio use flag
-
- 06 May 2011; Alex Barker (KWhat) <alex@1stleg.com> -mixxx-1.8.2.ebuild,
- -files/mixxx-1.8.2-flags.patch, -files/mixxx-1.8.2-libsoundtouch.patch,
- mixxx-1.9.0.ebuild, mixxx-9999.ebuild, metadata.xml:
- Developer approved builds. Previous commit was premeture on my part.
-
- 06 May 2011; Michał Górny <mgorny@gentoo.org> mixxx-1.8.2.ebuild,
- mixxx-1.9.0.ebuild, mixxx-9999.ebuild:
- Drop redundant arguments to use_scons.
-
- 05 May 2011; Alex Barker (KWhat) <alex@1stleg.com> +mixxx-1.8.2.ebuild,
- +files/mixxx-1.8.2-flags.patch, +files/mixxx-1.8.2-libsoundtouch.patch,
- +mixxx-1.9.0.ebuild, +files/mixxx-1.9.0-flags.patch,
- +files/mixxx-1.9.0-libsoundtouch.patch, +mixxx-9999.ebuild,
- +files/mixxx-9999-flags.patch, +files/mixxx-9999-libsoundtouch.patch,
- +metadata.xml:
- New Ebuild for bug 310821
-
diff --git a/media-sound/mixxx/Manifest b/media-sound/mixxx/Manifest
deleted file mode 100644
index 7a5b96d8c..000000000
--- a/media-sound/mixxx/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX mixxx-1.10.0-flags.patch 624 RMD160 b10c1e796fd71c35c24781cfbdbb33f7955cc4ac SHA1 f9d8e2eb698b90a50b2c110902b94ddb6300b847 SHA256 1387d7c8e886d5c98b48639628b6ec5c73bcb507b92e0220ee8648a3c7b08dd5
-AUX mixxx-1.10.0-libsoundtouch.patch 3342 RMD160 fc1b83da83abe8e872b9d436421a2b8e1fbe61de SHA1 6736c6909edbb7aaf684ba3512064b0a32c27632 SHA256 d28f3332ccaa2aef9f595ef54de9b424e44d0a4f4d94b581b0210a8250d5a310
-AUX mixxx-9999-flags.patch 632 RMD160 30a8467012ac311c23b080a2a6358ed410cc630e SHA1 f82c73c10bd0166944d2b2f0e81a77c7f195bd81 SHA256 83284a59147950dafcc014929f56ced1f454aa174ccc74877ef30f2b67f7a524
-AUX mixxx-9999-libsoundtouch.patch 2299 RMD160 9c802f00736108579a1e0bb4c874f90bee2b6f6d SHA1 49c8ebe4342258ca0bcb031dede74b900a23f807 SHA256 be1dc9430264f48ab20cda901c235f2ab406a9ab434fa0281eb9748e4eb8ac83
-DIST mixxx-1.10.0-src.tar.gz 15852338 RMD160 dde454d7ff6200e33c401e87313ad399ff751d53 SHA1 b01ab69c0eeca99fa6b1da472cfede01bda71328 SHA256 9135f814262bf42eb05bf5d56c760ab462329c06785271d570be6a9d14ab1e97
-EBUILD mixxx-1.10.0.ebuild 1897 RMD160 1f911eb96b344f80dad37ec46cc5f1464dfa8801 SHA1 67352b78ed803c63d8bd0f364ac5229aafee73c9 SHA256 4f4c190326e47e7a3beb0847a272c12065bcf2196975b53623a54eb6976e00ff
-EBUILD mixxx-9999.ebuild 1895 RMD160 92bd160304f0ee22b8ebb3f15fb7b232faa4b768 SHA1 e4a14e4a2b59aa52ccf7586822ab3bb92b9cd1cd SHA256 560aa639e69ce4ae151a24fcac9298e80e0d62a5bbc1ef3af152fe34ad7f648f
-MISC ChangeLog 3012 RMD160 75d9a94f9e2fc0f2e3e2e9ec5b7301dc1f43735c SHA1 495170d92f07a37f7b36224ea3cc0463fc725ed6 SHA256 2733d434542eb09f70f25e687105f2819fdec9cc8dbdb89824fa5e13aa39c45e
-MISC metadata.xml 410 RMD160 8b5dee500da763730f1ffd02863d23221cb4f04b SHA1 e09418482c729b27b392f42ecf3e4344f71c56b9 SHA256 812fc2fb4d75f2035068cd2f547174c6aedf91799a1fc64ef54d15c611a28128
diff --git a/media-sound/mixxx/files/mixxx-1.10.0-flags.patch b/media-sound/mixxx/files/mixxx-1.10.0-flags.patch
deleted file mode 100644
index c543e76cb..000000000
--- a/media-sound/mixxx/files/mixxx-1.10.0-flags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- build/depends.py.orig 2010-12-22 11:13:22.000000000 -0800
-+++ build/depends.py 2010-12-22 11:14:02.000000000 -0800
-@@ -587,10 +587,8 @@
- if build.toolchain_is_gnu:
- # Default GNU Options
- # TODO(XXX) always generate debugging info?
-- build.env.Append(CCFLAGS = '-pipe')
- build.env.Append(CCFLAGS = '-Wall')
- build.env.Append(CCFLAGS = '-Wextra')
-- build.env.Append(CCFLAGS = '-g')
-
- # Check that g++ is present (yeah, SCONS is a bit dumb here)
- if os.system("which g++ > /dev/null"): #Checks for non-zero return code
diff --git a/media-sound/mixxx/files/mixxx-1.10.0-libsoundtouch.patch b/media-sound/mixxx/files/mixxx-1.10.0-libsoundtouch.patch
deleted file mode 100644
index db298c7a8..000000000
--- a/media-sound/mixxx/files/mixxx-1.10.0-libsoundtouch.patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- build/depends.py.orig 2010-12-22 11:13:22.000000000 -0800
-+++ build/depends.py 2010-12-22 11:33:29.000000000 -0800
-@@ -234,60 +234,16 @@
- build.env.Append(CPPPATH="#lib/replaygain")
-
- class SoundTouch(Dependence):
-- SOUNDTOUCH_PATH = 'soundtouch-1.5.0'
-
- def sources(self, build):
-- sources = ['engine/enginebufferscalest.cpp',
-- '#lib/%s/SoundTouch.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/TDStretch.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/RateTransposer.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/AAFilter.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/FIFOSampleBuffer.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/FIRFilter.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/PeakFinder.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/BPMDetect.cpp' % self.SOUNDTOUCH_PATH]
-- if build.platform_is_windows and build.toolchain_is_msvs:
-- if build.machine_is_64bit:
-- sources.append(
-- '#lib/%s/cpu_detect_x64_win.cpp' % self.SOUNDTOUCH_PATH)
-- elif build.machine == 'x86':
-- sources.append(
-- '#lib/%s/cpu_detect_x86_win.cpp' % self.SOUNDTOUCH_PATH)
-- else:
-- raise Exception("Unhandled CPU configuration for SoundTouch")
-- elif build.toolchain_is_gnu:
-- if build.machine == 'x86_64':
-- sources.append(
-- '#lib/%s/cpu_detect_x64_gcc.cpp' % self.SOUNDTOUCH_PATH)
-- else:
-- sources.append(
-- '#lib/%s/cpu_detect_x86_gcc.cpp' % self.SOUNDTOUCH_PATH)
-- else:
-- raise Exception("Unhandled CPU configuration for SoundTouch")
--
-- # TODO(XXX) when we figure out a better way to represent features, fix
-- # this.
-- optimize = int(util.get_flags(build.env, 'optimize', 1))
-- if build.machine_is_64bit or \
-- (build.toolchain_is_msvs and optimize > 1) or \
-- (build.toolchain_is_gnu and optimize > 2):
-- sources.extend(
-- ['#lib/%s/mmx_optimized.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/sse_optimized.cpp' % self.SOUNDTOUCH_PATH,
-- ])
-- if build.toolchain_is_msvs and not build.machine_is_64bit:
-- sources.append('#lib/%s/3dnow_win.cpp' % self.SOUNDTOUCH_PATH)
-- else:
-- # TODO(XXX) the docs refer to a 3dnow_gcc, but we don't seem to have
-- # it.
-- pass
--
-+ sources = ['engine/enginebufferscalest.cpp']
- return sources
-
- def configure(self, build, conf):
-- if build.platform_is_windows:
-- build.env.Append(CPPDEFINES = 'WIN%s' % build.bitwidth)
-- build.env.Append(CPPPATH=['#lib/%s' % self.SOUNDTOUCH_PATH])
-+ if not conf.CheckLib(['SoundTouch','libSoundTouch']):
-+ raise Exception('Did not find libSoundTouch.a, libSoundTouch.lib, or the libSoundTouch development header files - exiting!')
-+ build.env.Append(CPPPATH=[SCons.ARGUMENTS.get('prefix', '/usr/local') + '/include/soundtouch'])
-+ build.env.Append(LIBS='SoundTouch')
-
- # TODO(XXX) when we figure out a better way to represent features, fix
- # this.
diff --git a/media-sound/mixxx/files/mixxx-9999-flags.patch b/media-sound/mixxx/files/mixxx-9999-flags.patch
deleted file mode 100644
index 1b92840df..000000000
--- a/media-sound/mixxx/files/mixxx-9999-flags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- build/depends.py 2010-12-22 11:13:22.000000000 -0800
-+++ build/depends.py 2010-12-22 11:14:02.000000000 -0800
-@@ -587,10 +587,8 @@
- if build.toolchain_is_gnu:
- # Default GNU Options
- # TODO(XXX) always generate debugging info?
-- build.env.Append(CCFLAGS = '-pipe')
- build.env.Append(CCFLAGS = '-Wall')
- build.env.Append(CCFLAGS = '-Wextra')
-- build.env.Append(CCFLAGS = '-g')
-
- # Check that g++ is present (yeah, SCONS is a bit dumb here)
- if os.system("which g++ > /dev/null"): #Checks for non-zero return code
diff --git a/media-sound/mixxx/files/mixxx-9999-libsoundtouch.patch b/media-sound/mixxx/files/mixxx-9999-libsoundtouch.patch
deleted file mode 100644
index 44c2168bc..000000000
--- a/media-sound/mixxx/files/mixxx-9999-libsoundtouch.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-=== modified file 'mixxx/build/depends.py'
---- build/depends.py 2012-03-12 05:23:47 +0000
-+++ build/depends.py 2012-03-16 04:18:42 +0000
-@@ -218,34 +218,20 @@
- build.env.Append(CPPPATH="#lib/replaygain")
-
- class SoundTouch(Dependence):
-- SOUNDTOUCH_PATH = 'soundtouch-1.6.0'
-
- def sources(self, build):
-- sources = ['engine/enginebufferscalest.cpp',
-- '#lib/%s/SoundTouch.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/TDStretch.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/RateTransposer.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/AAFilter.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/FIFOSampleBuffer.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/FIRFilter.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/PeakFinder.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/BPMDetect.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/mmx_optimized.cpp' % self.SOUNDTOUCH_PATH,
-- '#lib/%s/sse_optimized.cpp' % self.SOUNDTOUCH_PATH,]
--
-- # SoundTouch CPU optimizations are only for x86
-- # architectures. SoundTouch automatically ignores these files when it is
-- # not being built for an architecture that supports them.
-- cpu_detection = '#lib/%s/cpu_detect_x86_win.cpp' if build.toolchain_is_msvs else \
-- '#lib/%s/cpu_detect_x86_gcc.cpp'
-- sources.append(cpu_detection % self.SOUNDTOUCH_PATH)
-+ sources = ['engine/enginebufferscalest.cpp']
- return sources
-
- def configure(self, build, conf):
- if build.platform_is_windows:
- # Regardless of the bitwidth, ST checks for WIN32
- build.env.Append(CPPDEFINES = 'WIN32')
-- build.env.Append(CPPPATH=['#lib/%s' % self.SOUNDTOUCH_PATH])
-+ if not conf.CheckLib(['SoundTouch','libSoundTouch']):
-+ raise Exception('Did not find libSoundTouch.a, libSoundTouch.lib, or the libSoundTouch development header files - exiting!')
-+ build.env.Append(CPPPATH=[SCons.ARGUMENTS.get('prefix', '/usr/local') + '/include/soundtouch'])
-+ build.env.Append(LIBS='SoundTouch')
-+
-
- class TagLib(Dependence):
- def configure(self, build, conf):
-
diff --git a/media-sound/mixxx/metadata.xml b/media-sound/mixxx/metadata.xml
deleted file mode 100644
index 211ab6b05..000000000
--- a/media-sound/mixxx/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
- <use>
- <flag name="pulseaudio">Disables <pkg>media-sound/pulseaudio</pkg> support for mixxx with pasuspender</flag>
- <flag name="shout">Enables <pkg>media-libs/libshout</pkg> support</flag>
- </use>
-</pkgmetadata>
diff --git a/media-sound/mixxx/mixxx-1.10.0.ebuild b/media-sound/mixxx/mixxx-1.10.0.ebuild
deleted file mode 100644
index 9947b11c1..000000000
--- a/media-sound/mixxx/mixxx-1.10.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit eutils multilib scons-utils toolchain-funcs
-
-DESCRIPTION="A QT based Digital DJ tool"
-HOMEPAGE="http://mixxx.sourceforge.net"
-SRC_URI="http://downloads.mixxx.org/${P}/${P}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="aac debug mp4 pulseaudio shout wavpack"
-
-RDEPEND="media-libs/flac
- media-libs/libid3tag
- media-libs/libmad
- media-libs/libogg
- media-libs/libvorbis
- media-libs/libsndfile
- >=media-libs/libsoundtouch-1.5
- >=media-libs/portaudio-19_pre
- media-libs/portmidi
- media-libs/taglib
- virtual/opengl
- virtual/glu
- x11-libs/qt-gui:4
- x11-libs/qt-svg:4
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- x11-libs/qt-webkit:4
- x11-libs/qt-xmlpatterns:4
- aac? ( media-libs/faad2 )
- mp4? ( media-libs/faad2
- media-libs/libmp4v2
- )
- pulseaudio? ( media-sound/pulseaudio )
- shout? ( media-libs/libshout )
- wavpack? ( media-sound/wavpack )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-SCONS_MIN_VERSION="2.0.1"
-
-src_prepare() {
- # patch CFLAGS issue
- epatch "${FILESDIR}"/${P}-flags.patch
-
- # patch external libsoundtouch
- epatch "${FILESDIR}"/${P}-libsoundtouch.patch
-
- # Patch startup command if not using pulse audio
- use pulseaudio || sed -i -e 's:pasuspender ::' src/mixxx.desktop || die
-}
-
-src_compile() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
- LIBPATH="/usr/$(get_libdir)" escons \
- prefix=/usr \
- qtdir=/usr/$(get_libdir)/qt4 \
- $(use_scons aac faad) \
- $(use_scons debug qdebug) \
- $(use_scons mp4 m4a) \
- $(use_scons shout shoutcast) \
- $(use_scons wavpack wv) \
- hifieq=1 \
- vinylcontrol=1 \
- optimize=0 \
- || die
-}
-
-src_install() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
- LIBPATH="/usr/$(get_libdir)" escons install \
- prefix=/usr \
- install_root="${D}"/usr \
- || die
-}
diff --git a/media-sound/mixxx/mixxx-9999.ebuild b/media-sound/mixxx/mixxx-9999.ebuild
deleted file mode 100644
index c547b5296..000000000
--- a/media-sound/mixxx/mixxx-9999.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit bzr eutils multilib scons-utils toolchain-funcs
-
-DESCRIPTION="A QT based Digital DJ tool"
-HOMEPAGE="http://mixxx.sourceforge.net"
-EBZR_REPO_URI="lp:mixxx"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="aac debug mp4 pulseaudio shout wavpack"
-
-RDEPEND="media-libs/flac
- media-libs/libid3tag
- media-libs/libmad
- media-libs/libogg
- media-libs/libvorbis
- media-libs/libsndfile
- >=media-libs/libsoundtouch-1.5
- >=media-libs/portaudio-19_pre
- media-libs/portmidi
- media-libs/taglib
- virtual/opengl
- virtual/glu
- >=x11-libs/qt-gui-4.6:4
- >=x11-libs/qt-svg-4.6:4
- >=x11-libs/qt-opengl-4.6:4
- >=x11-libs/qt-qt3support-4.6:4
- >=x11-libs/qt-webkit-4.6:4
- >=x11-libs/qt-xmlpatterns-4.6:4
- aac? ( media-libs/faad2 )
- mp4? ( media-libs/faad2
- media-libs/libmp4v2
- )
- pulseaudio? ( media-sound/pulseaudio )
- shout? ( media-libs/libshout )
- wavpack? ( media-sound/wavpack )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-SCONS_MIN_VERSION="2.0.1"
-
-S=${S}/${PN}
-
-src_prepare() {
- # patch CFLAGS issue
- epatch "${FILESDIR}"/${P}-flags.patch
-
- # patch external libsoundtouch
- epatch "${FILESDIR}"/${P}-libsoundtouch.patch
-
- # Patch startup command if not using pulse audio
- use pulseaudio || sed -i -e 's:pasuspender ::' src/mixxx.desktop || die
-}
-
-src_compile() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
- LIBPATH="/usr/$(get_libdir)" escons \
- prefix=/usr \
- qtdir=/usr/$(get_libdir)/qt4 \
- $(use_scons aac faad) \
- $(use_scons debug qdebug) \
- $(use_scons mp4 m4a) \
- $(use_scons shout shoutcast) \
- $(use_scons wavpack wv) \
- hifieq=1 \
- vinylcontrol=1 \
- optimize=0 \
- || die
-}
-
-src_install() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
- LIBPATH="/usr/$(get_libdir)" escons install \
- prefix=/usr \
- install_root="${D}"/usr \
- || die
-}