2014-01-03 02:40:56 +00:00
|
|
|
# $Id$
|
2014-03-29 16:20:23 +00:00
|
|
|
# Maintainer : Ray Rashif <schiv@archlinux.org>
|
|
|
|
# Maintainer : speps <speps at aur dot archlinux dot org>
|
2014-01-03 02:40:56 +00:00
|
|
|
# Contributor: Philipp Überbacher <hollunder at gmx dot at>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - patch to fix building on ARM
|
|
|
|
|
|
|
|
pkgname=qtractor
|
2015-10-23 23:20:12 +00:00
|
|
|
pkgver=0.7.1
|
2015-12-10 04:58:28 +00:00
|
|
|
pkgrel=2
|
2014-01-03 02:40:56 +00:00
|
|
|
pkgdesc="Audio/MIDI multitrack sequencer"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://qtractor.sourceforge.net/"
|
|
|
|
license=('GPL')
|
2014-02-12 14:02:27 +00:00
|
|
|
depends=('qt4' 'suil' 'lilv' 'libmad' 'liblo>=0.28'
|
2014-01-03 02:40:56 +00:00
|
|
|
'rubberband' 'shared-mime-info')
|
|
|
|
makedepends=('ladspa' 'dssi')
|
2014-03-29 16:20:23 +00:00
|
|
|
optdepends=('dssi-vst: win32 VST support')
|
|
|
|
install="$pkgname.install"
|
2015-07-28 21:46:22 +00:00
|
|
|
source=("http://www.rncbc.org/archive/$pkgname-$pkgver.tar.gz"
|
2014-01-03 02:40:56 +00:00
|
|
|
'04-q_atomic_ftbfs.patch')
|
2015-10-23 23:20:12 +00:00
|
|
|
md5sums=('7d4afb517423bc32969daa83dfd58482'
|
2014-12-03 00:47:21 +00:00
|
|
|
'37396d7dae7a5d6348d481d2d77a88cb')
|
2014-01-03 02:40:56 +00:00
|
|
|
|
2014-03-29 16:20:23 +00:00
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
2014-01-03 02:40:56 +00:00
|
|
|
|
|
|
|
patch -p1 -i ../04-q_atomic_ftbfs.patch
|
|
|
|
|
2014-03-29 16:20:23 +00:00
|
|
|
# do not look for /usr/lib64/lv2
|
|
|
|
# prevent to load lv2 plugins twice
|
|
|
|
sed -i '/__x86_64__/,/#endif/d' src/qtractorPlugin.cpp
|
|
|
|
|
|
|
|
# force qt4
|
|
|
|
export ac_qmake=/usr/bin/qmake-qt4 \
|
|
|
|
ac_moc=/usr/bin/moc-qt4 \
|
|
|
|
ac_uic=/usr/bin/uic-qt4 \
|
|
|
|
ac_lupdate=/usr/bin/lupdate-qt4 \
|
|
|
|
ac_lrelease=/usr/bin/lrelease-qt4 \
|
|
|
|
QMAKE=qmake-qt4
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2014-01-03 02:40:56 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2014-03-29 16:20:23 +00:00
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
2014-01-03 02:40:56 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|