desktop/mixxx/PKGBUILD
2018-02-05 00:33:38 +01:00

44 lines
1.7 KiB
Bash

#contributions from Arch: https://www.archlinux.org/packages/community/x86_64/mixxx/
pkgname=mixxx
pkgver=2.0.0
pkgrel=3
pkgdesc="Digital DJ mixing software with cpu optimization enabled"
arch=('x86_64')
url="http://www.mixxx.org/"
license=('GPL2')
depends=('glu' 'fftw' 'libsndfile' 'libogg' 'taglib' 'libid3tag' 'libmad' 'libvorbis' 'portaudio' 'portmidi' 'flac' 'opus' 'scons' 'faad2' 'libmp4v2' 'chromaprint' 'rubberband'
'qtwebkit' 'libshout' 'vamp-plugin-sdk' 'libusbx' 'protobuf')
makedepends=('bzr' 'scons' 'pkgconfig')
categories=('multimedia')
screenshot=("http://www.mixxx.org/images/splash1.png")
source=(http://downloads.mixxx.org/mixxx-${pkgver}/mixxx-${pkgver}-src.tar.gz
mixxx-2.0.0-gcc-6.patch
mixxx-2.0.0-chromaprint-1.4.0.patch
mixxx-2.0.0-build.patch
mixxx-remove-sqlite-typedef.patch)
sha256sums=('e1b8f33bba35046608578095ed3209967034579252d84c99e6bc03ec030f676d'
'6a8668eca89b0827de15e4b3e5d3e37eec1f7e2f540dd0106a6ed610eea7cf4f'
'37f7a8897969b1d5421b02d6df5b69aff2a860eefaa0e24bef30b00d1a56021c'
'964e3510b0c9fd35f9d501e188c001587f1e00f2ae35ecbe935f3f5016c6bd2e'
'b95163b87f2e9441d9d580ff3acce978bc41034ff735e792948a2046979cd062')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../mixxx-2.0.0-gcc-6.patch
patch -p1 -i ../mixxx-2.0.0-chromaprint-1.4.0.patch
patch -p1 -i ../mixxx-2.0.0-build.patch
patch -p1 -i ../mixxx-remove-sqlite-typedef.patch # rpmfusion
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
scons qtdir=/usr/lib/qt prefix=/usr install_root=$pkgdir/usr
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
scons qtdir=/usr/lib/qt prefix=/usr install_root=$pkgdir/usr install
}