desktop/qtractor/PKGBUILD

38 lines
1.0 KiB
Bash
Raw Normal View History

2010-07-20 07:32:24 +08:00
pkgname=qtractor
2017-12-05 07:42:01 +08:00
pkgver=0.8.5
2016-04-04 20:31:33 +08:00
pkgrel=1
2010-07-20 07:32:24 +08:00
pkgdesc="Audio/MIDI multitrack sequencer"
2012-12-28 04:07:17 +08:00
arch=('x86_64')
2010-07-20 07:32:24 +08:00
url="http://qtractor.sourceforge.net/"
2014-03-27 21:48:07 +08:00
screenshot=("http://kde-apps.org/CONTENT/content-pre1/56325-1.png")
2010-07-20 07:32:24 +08:00
license=('GPL')
2016-04-04 20:31:33 +08:00
depends=('qt5-base' 'qt5-x11extras' 'jack' 'libmad' 'libsamplerate' 'rubberband' 'liblo' 'suil'
'lilv' 'rubberband' 'shared-mime-info' 'desktop-file-utils' 'hicolor-icon-theme')
2015-10-10 22:06:02 +08:00
makedepends=('ladspa' 'dssi' 'qt5-tools')
categories=('multimedia')
2012-12-28 04:07:17 +08:00
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
2017-12-05 07:42:01 +08:00
sha256sums=('0ae3ff97fb02fb91e68f8d9eb6715f8bf9145c8d55d81a865b9da1f746d3d02a')
2016-09-30 23:06:41 +08:00
prepare() {
cd $pkgname-$pkgver
2016-11-22 12:40:44 +08:00
# fix to make .configure recognize Qt>=5.1
export CXXFLAGS="${CXXFLAGS} -std=c++11"
2016-09-30 23:06:41 +08:00
}
2010-07-20 07:32:24 +08:00
build() {
2016-09-30 23:06:41 +08:00
cd $pkgname-$pkgver
2010-07-20 07:32:24 +08:00
2015-10-10 22:06:02 +08:00
./configure --prefix=/usr \
--disable-lv2-ui-gtk2
2011-07-23 03:40:03 +08:00
make
}
package () {
2016-09-30 23:06:41 +08:00
cd $pkgname-$pkgver
2011-07-23 03:40:03 +08:00
2016-09-30 23:06:41 +08:00
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
2010-07-20 07:32:24 +08:00
}