2014-07-12 09:00:43 +00:00
|
|
|
# Template file for 'mixxx'
|
2014-07-12 00:13:44 +00:00
|
|
|
pkgname=mixxx
|
|
|
|
version=1.11.0
|
2014-11-14 07:51:09 +00:00
|
|
|
revision=4
|
|
|
|
hostmakedepends="scons pkg-config"
|
2014-11-14 07:59:21 +00:00
|
|
|
makedepends="qt-devel portaudio-devel libusb-devel libmad-devel protobuf-devel>=2.6
|
2014-07-12 09:00:43 +00:00
|
|
|
libid3tag-devel libvorbis-devel libflac-devel glu-devel taglib-devel
|
|
|
|
libsndfile-devel portmidi-devel vamp-plugin-sdk-devel faad2-devel
|
|
|
|
libmp4v2-devel"
|
2014-07-12 12:07:35 +00:00
|
|
|
depends="qt-plugin-sqlite"
|
|
|
|
short_desc="Open source digital DJing software that allows mixing music"
|
2014-07-12 00:13:44 +00:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
homepage="http://www.mixxx.org"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://downloads.mixxx.org/${pkgname}-${version}/${pkgname}-${version}-src.tar.gz"
|
|
|
|
checksum="00961b5d6c1e6d6686d76e55de474b943bbeff4e59b163dddd3d9940dc1b0331"
|
2014-07-12 09:00:43 +00:00
|
|
|
_scons_args="qtdir=/usr/include shoutcast=0 faad=1 tuned=0 prefix=/usr"
|
2014-07-12 00:13:44 +00:00
|
|
|
|
|
|
|
do_build() {
|
2014-11-14 08:37:01 +00:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
|
|
export CFLAGS+=" -msse"
|
|
|
|
export CXXFLAGS+=" -msse"
|
|
|
|
fi
|
2014-07-12 00:13:44 +00:00
|
|
|
sed -i \
|
|
|
|
-e 's/branch_name = .*/branch_name = "mixxx"/' \
|
|
|
|
-e 's/bazaar_revision = .*/bazaar_revision = "'$version'"/' \
|
|
|
|
src/SConscript
|
|
|
|
|
2014-11-14 08:37:01 +00:00
|
|
|
scons ${makejobs} ${_scons_args}
|
2014-07-12 00:13:44 +00:00
|
|
|
}
|
|
|
|
do_install() {
|
2014-11-14 08:37:01 +00:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
|
|
export CFLAGS+=" -msse"
|
|
|
|
export CXXFLAGS+=" -msse"
|
|
|
|
fi
|
|
|
|
scons ${_scons_args} install_root=${DESTDIR}/usr install
|
2014-07-12 00:13:44 +00:00
|
|
|
}
|