PKGBUILDs/community/qtractor/PKGBUILD

52 lines
1.7 KiB
Bash
Raw Normal View History

2014-01-03 02:40:56 +00:00
# $Id$
2017-12-24 22:23:45 +00:00
# Maintainer: David Runge <dave@sleepmap.de>
2018-03-23 00:03:04 +00:00
# Contributor: Ray Rashif <schiv@archlinux.org>
2017-12-24 22:23:45 +00:00
# Contributor: 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
2018-05-30 12:52:02 +00:00
pkgver=0.9.1
2018-03-23 00:03:04 +00:00
pkgrel=1
2014-01-03 02:40:56 +00:00
pkgdesc="Audio/MIDI multitrack sequencer"
2017-12-24 22:23:45 +00:00
arch=('x86_64')
2017-04-26 12:27:11 +00:00
url="http://qtractor.org/"
2014-01-03 02:40:56 +00:00
license=('GPL')
2018-03-23 00:03:04 +00:00
groups=('pro-audio')
2018-02-07 19:59:06 +00:00
depends=('qt5-x11extras' 'suil' 'lilv' 'libmad' 'liblo'
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')
2017-12-24 22:23:45 +00:00
source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
2018-05-30 12:52:02 +00:00
"qt5.11.diff"
2014-01-03 02:40:56 +00:00
'04-q_atomic_ftbfs.patch')
2018-05-30 12:52:02 +00:00
sha512sums=('c40a7535740bc8315ffc640f791b640a12a4ba135070502682681c3022923f1edb62738127cae0c523a6410cb163b4cac2828544ae629b42fc93946f3d4d8a59'
'bf6407de7039f2c60ff082717a2da72cd5a00bb1fe368b399519d9de79f1917173f8680c3137fa819b6c50063f17e4caab92f90092dc5ee398ca3db1382d0eb9'
2017-12-24 22:23:45 +00:00
'fe0e4d6adcd0eb64c39a194f16c026e6505d5f3b0537b7724ed9060443340559cc12a57665aec3e2a4d4c71ea05b1e575508cae334a8ca3a16543b5fdf55b4bf')
2014-01-03 02:40:56 +00:00
2014-03-29 16:20:23 +00:00
prepare() {
2017-12-24 22:23:45 +00:00
cd "${pkgname}-${pkgver}"
2018-05-30 12:52:02 +00:00
autoreconf -vfi
# fix for qt5.11: https://github.com/rncbc/qtractor/pull/155
patch -Np1 -i "../qt5.11.diff"
2014-01-03 02:40:56 +00:00
patch -p1 -i ../04-q_atomic_ftbfs.patch
2014-03-29 16:20:23 +00:00
}
build() {
2017-12-24 22:23:45 +00:00
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() {
2017-12-24 22:23:45 +00:00
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2018-02-07 19:59:06 +00:00
# docs
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
2018-05-30 12:52:02 +00:00
-vDm 644 {AUTHORS,README,README.VST,TODO}
2014-01-03 02:40:56 +00:00
}
# vim:set ts=2 sw=2 et: