# Maintainer: David Runge # Contributor: Ray Rashif # Contributor: speps # Contributor: Philipp Überbacher # ALARM: Kevin Mihelich # - patch to fix building on ARM pkgname=qtractor pkgver=0.9.14 pkgrel=2 pkgdesc="Audio/MIDI multitrack sequencer" arch=('x86_64') url="http://qtractor.org/" license=('GPL2') groups=('pro-audio') depends=('glibc' 'gcc-libs' 'hicolor-icon-theme' 'libmad' 'libogg' 'qt5-base' 'qt5-x11extras' 'zlib') makedepends=('alsa-lib' 'aubio' 'dssi' 'jack' 'ladspa' 'liblo' 'libsamplerate' 'libsndfile' 'libvorbis' 'lilv' 'lv2' 'qt5-tools' 'rubberband' 'suil') optdepends=('non-session-manager: for session management') source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" '04-q_atomic_ftbfs.patch') sha512sums=('b0fb388bf54ade03ec090d931a0902eb2a02c767c9dc61ccf7a4bfddd882e2bcf7af69958a8101fc2ef81f31837e9465df9040a8cd5e37319f61dec9e243cb6b' 'fe0e4d6adcd0eb64c39a194f16c026e6505d5f3b0537b7724ed9060443340559cc12a57665aec3e2a4d4c71ea05b1e575508cae334a8ca3a16543b5fdf55b4bf') prepare() { cd "${pkgname}-${pkgver}" autoreconf -vfi patch -p1 -i ../04-q_atomic_ftbfs.patch } build() { cd "${pkgname}-${pkgver}" ./configure --prefix=/usr \ --libdir=/usr/lib make } package() { depends+=('libasound.so' 'libaubio.so' 'libjack.so' 'liblilv-0.so' 'liblo.so' 'librubberband.so' 'libsamplerate.so' 'libsndfile.so' 'libsuil-0.so' 'libvorbisenc.so' 'libvorbisfile.so' 'libvorbis.so' ) cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install # docs install -t "${pkgdir}/usr/share/doc/${pkgname}" \ -vDm 644 {AUTHORS,README,README.VST,TODO} } # vim:set ts=2 sw=2 et: