desktop/qtractor/PKGBUILD
2018-01-31 00:59:31 +00:00

38 lines
1.0 KiB
Bash

pkgname=qtractor
pkgver=0.8.6
pkgrel=1
pkgdesc="Audio/MIDI multitrack sequencer"
arch=('x86_64')
url="http://qtractor.sourceforge.net/"
screenshot=("http://kde-apps.org/CONTENT/content-pre1/56325-1.png")
license=('GPL')
depends=('qt5-base' 'qt5-x11extras' 'jack' 'libmad' 'libsamplerate' 'rubberband' 'liblo' 'suil'
'lilv' 'rubberband' 'shared-mime-info' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('ladspa' 'dssi' 'qt5-tools')
categories=('multimedia')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('a34a4bf57d1d8cbc9a84b04744e137e0fa238099887cc59ce9f47acdd82ac761')
prepare() {
cd $pkgname-$pkgver
# fix to make .configure recognize Qt>=5.1
export CXXFLAGS="${CXXFLAGS} -std=c++11"
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-lv2-ui-gtk2
make
}
package () {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
install -d $pkgdir/usr/share/pixmaps
cp $pkgdir/usr/share/icons/hicolor/scalable/apps/qtractor.svg \
$pkgdir/usr/share/pixmaps/qtractor.svg
}