PKGBUILDs/community/qtractor/PKGBUILD

66 lines
1.8 KiB
Bash
Raw Normal View History

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
2017-04-26 12:27:11 +00:00
pkgver=0.8.1
2015-12-22 00:31:46 +00:00
pkgrel=1
2014-01-03 02:40:56 +00:00
pkgdesc="Audio/MIDI multitrack sequencer"
arch=('i686' 'x86_64')
2017-04-26 12:27:11 +00:00
url="http://qtractor.org/"
2014-01-03 02:40:56 +00:00
license=('GPL')
2015-12-22 00:31:46 +00:00
depends=('qt5-x11extras' 'suil' 'lilv' 'libmad' 'liblo>=0.28'
2016-08-09 18:18:50 +00:00
'rubberband' 'hicolor-icon-theme')
2015-12-22 00:31:46 +00:00
makedepends=('qt5-tools' 'ladspa' 'dssi')
2014-03-29 16:20:23 +00:00
optdepends=('dssi-vst: win32 VST support')
2016-08-09 18:18:50 +00:00
source=("https://sourceforge.net/projects/qtractor/files/qtractor/$pkgver/qtractor-$pkgver.tar.gz"
2014-01-03 02:40:56 +00:00
'04-q_atomic_ftbfs.patch')
2017-04-26 12:27:11 +00:00
md5sums=('89949777599c68208f120a6af93f8a12'
2016-08-09 18:18:50 +00:00
'da44b00b6bcf808a1b840959361ba19f')
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
2016-12-10 16:58:49 +00:00
sed -i '/__x86_64__/,/#endif/d' src/qtractorPluginFactory.cpp
2014-03-29 16:20:23 +00:00
# force qt4
2015-12-22 00:31:46 +00:00
#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
export ac_qmake=/usr/bin/qmake-qt5 \
ac_moc=/usr/bin/moc-qt5 \
ac_uic=/usr/bin/uic-qt5 \
ac_lupdate=/usr/bin/lupdate-qt5 \
ac_lrelease=/usr/bin/lrelease-qt5 \
QMAKE=qmake-qt5
2016-10-20 00:35:51 +00:00
2016-08-09 18:18:50 +00:00
# Fix build with GCC 6 (Fedora)
2016-10-20 00:35:51 +00:00
#sed -i.ac_with_paths -e "s|^ac_with_paths=.*|ac_with_paths=|g" configure configure.ac
2014-03-29 16:20:23 +00:00
}
build() {
cd $pkgname-$pkgver
2016-12-10 16:58:49 +00:00
./configure --prefix=/usr \
--libdir=/usr/lib
2014-01-03 02:40:56 +00:00
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: