mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
community/qtractor to 0.8.5-1
This commit is contained in:
parent
1ed1332187
commit
b28e3ab6c6
1 changed files with 12 additions and 34 deletions
|
@ -1,65 +1,43 @@
|
|||
# $Id$
|
||||
# Maintainer : Ray Rashif <schiv@archlinux.org>
|
||||
# Maintainer : speps <speps at aur dot archlinux dot org>
|
||||
# Maintainer: David Runge <dave@sleepmap.de>
|
||||
# Maintainer: Ray Rashif <schiv@archlinux.org>
|
||||
# Contributor: speps <speps at aur dot archlinux dot org>
|
||||
# Contributor: Philipp Überbacher <hollunder at gmx dot at>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - patch to fix building on ARM
|
||||
|
||||
pkgname=qtractor
|
||||
pkgver=0.8.3
|
||||
pkgver=0.8.5
|
||||
pkgrel=1
|
||||
pkgdesc="Audio/MIDI multitrack sequencer"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
url="http://qtractor.org/"
|
||||
license=('GPL')
|
||||
depends=('qt5-x11extras' 'suil' 'lilv' 'libmad' 'liblo>=0.28'
|
||||
'rubberband' 'hicolor-icon-theme')
|
||||
makedepends=('qt5-tools' 'ladspa' 'dssi')
|
||||
optdepends=('dssi-vst: win32 VST support')
|
||||
source=("https://sourceforge.net/projects/qtractor/files/qtractor/$pkgver/qtractor-$pkgver.tar.gz"
|
||||
source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||
'04-q_atomic_ftbfs.patch')
|
||||
md5sums=('f8888944e6ac1af3760cd92648658d4b'
|
||||
'da44b00b6bcf808a1b840959361ba19f')
|
||||
sha512sums=('9f916e46460403fcb4b1e2dadd048dd52c0d74425a2220cc4d40456141ff7bf5a9cb2fda0f394dac38079af67c322720468d9b7825181442875945899b699329'
|
||||
'fe0e4d6adcd0eb64c39a194f16c026e6505d5f3b0537b7724ed9060443340559cc12a57665aec3e2a4d4c71ea05b1e575508cae334a8ca3a16543b5fdf55b4bf')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
cd "${pkgname}-${pkgver}"
|
||||
patch -p1 -i ../04-q_atomic_ftbfs.patch
|
||||
|
||||
# do not look for /usr/lib64/lv2
|
||||
# prevent to load lv2 plugins twice
|
||||
sed -i '/__x86_64__/,/#endif/d' src/qtractorPluginFactory.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
|
||||
|
||||
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
|
||||
|
||||
# Fix build with GCC 6 (Fedora)
|
||||
#sed -i.ac_with_paths -e "s|^ac_with_paths=.*|ac_with_paths=|g" configure configure.ac
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue