PKGBUILD 1.37 KB
Newer Older
Neophytos's avatar
Neophytos committed
1
#contributions from Arch: https://www.archlinux.org/packages/community/x86_64/mixxx/
philm's avatar
philm committed
2 3

pkgname=mixxx
Jeff Huang's avatar
Jeff Huang committed
4
pkgver=2.2.3
5
pkgrel=1
Jeff Huang's avatar
Jeff Huang committed
6
pkgdesc="Free, open source software for digital DJ'ing."
Neophytos's avatar
Neophytos committed
7
arch=('x86_64')
Jeff Huang's avatar
Jeff Huang committed
8
url="https://www.mixxx.org/"
philm's avatar
philm committed
9
license=('GPL2')
Jeff Huang's avatar
Jeff Huang committed
10 11 12 13 14 15 16
depends=('chromaprint' 'gcc-libs' 'glibc' 'glib2' 'hidapi' 'faad2'
         'flac' 'libglvnd' 'libid3tag' 'lilv' 'libmad' 'libmodplug'
         'libmp4v2' 'libogg' 'portaudio' 'portmidi' 'protobuf'
         'rubberband' 'libshout' 'libsndfile' 'gperftools' 'libusb'
         'libvorbis' 'libx11' 'opusfile' 'qt5-base' 'qt5-script' 'qt5-svg'
         'qt5-x11extras' 'qtkeychain' 'soundtouch' 'sqlite' 'taglib' 'upower' 'wavpack')
makedepends=('glu' 'lv2' 'qt5-tools' 'scons' 'vamp-plugin-sdk')
17
source=("https://github.com/${pkgname}dj/${pkgname}/archive/release-${pkgver}.tar.gz")
Jeff Huang's avatar
Jeff Huang committed
18
sha256sums=('69230dca511ba08a284a22a979ff05b62130e97156d39a044bb4045f5f43cd2e')
philm's avatar
philm committed
19 20

build() {
21 22
  cd "${srcdir}/${pkgname}-release-${pkgver}"
  export SCONSFLAGS="-j $(nproc)"
Jeff Huang's avatar
Jeff Huang committed
23 24 25 26 27 28 29 30 31 32 33 34
  scons prefix=/usr \
        build=release \
        faad=1 \
        ffmpeg=1 \
        modplug=1 \
        perftools=1 \
        perftools_profiler=1 \
        qt_sqlite_plugin=0 \
        qtkeychain=1 \
        target=linux \
        virtualize=0 \
        wv=1
Anke's avatar
Anke committed
35 36 37
}

package() {
38
  cd "${srcdir}/${pkgname}-release-${pkgver}"
Jeff Huang's avatar
Jeff Huang committed
39 40 41
  scons prefix=/usr \
        install_root="${pkgdir}/usr" \
        install
Neophytos's avatar
Neophytos committed
42
}