void-packages/srcpkgs/mixxx/template
2014-07-12 14:07:35 +02:00

35 lines
1.1 KiB
Text

# Template file for 'mixxx'
pkgname=mixxx
version=1.11.0
revision=3
hostmakedepends="scons pkg-config which"
makedepends="qt-devel portaudio-devel libusb-devel libmad-devel protobuf-devel
libid3tag-devel libvorbis-devel libflac-devel glu-devel taglib-devel
libsndfile-devel portmidi-devel vamp-plugin-sdk-devel faad2-devel
libmp4v2-devel"
depends="qt-plugin-sqlite"
short_desc="Open source digital DJing software that allows mixing music"
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"
_scons_args="qtdir=/usr/include shoutcast=0 faad=1 tuned=0 prefix=/usr"
do_build() {
sed -i \
-e 's/branch_name = .*/branch_name = "mixxx"/' \
-e 's/bazaar_revision = .*/bazaar_revision = "'$version'"/' \
src/SConscript
scons ${makejobs} \
$_scons_args \
install_root=$DESTDIR/usr
}
do_install() {
scons ${makejobs} \
$_scons_args \
install_root=$DESTDIR/usr \
install
}