desktop/qtractor/PKGBUILD
2017-12-04 23:42:01 +00:00

38 lines
1.0 KiB
Bash

pkgname=qtractor
pkgver=0.8.5
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=('0ae3ff97fb02fb91e68f8d9eb6715f8bf9145c8d55d81a865b9da1f746d3d02a')
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
}