community/csound to 6.11.0-4

This commit is contained in:
Kevin Mihelich 2018-07-28 23:14:48 +00:00
parent 786450f7e6
commit 046c100526

View file

@ -13,7 +13,7 @@ buildarch=22
pkgbase=csound
pkgname=('csound' 'csound-doc')
pkgver=6.11.0
pkgrel=3
pkgrel=4
pkgdesc="A programming language for sound rendering and signal processing."
arch=('x86_64')
url="http://csound.com"
@ -22,7 +22,7 @@ license=('LGPL')
# current gmm doesn't work https://github.com/csound/csound/issues/920
makedepends=('boost' 'cmake' 'dssi' 'eigen' 'faust' 'fltk' 'fluidsynth' 'git'
'hdf5' 'java-environment' 'ladspa' 'libwebsockets' 'llvm' 'luajit' 'pd'
'portmidi' 'portsmf' 'stk' 'swig')
'portmidi' 'portsmf' 'python2' 'stk' 'swig')
source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/csound/csound/archive/${pkgver}.tar.gz"
"${pkgname[0]}.sh"
"fix-compiler-flag-overrides.patch"
@ -62,18 +62,23 @@ build() {
package_csound() {
groups=('pro-audio')
depends=('fltk' 'fluidsynth' 'git' 'hdf5' 'liblo' 'libwebsockets' 'luajit'
depends=('fluidsynth' 'git' 'hdf5' 'liblo' 'libwebsockets' 'luajit'
'portmidi' 'portsmf' 'stk' 'tk')
optdepends=('csound-doc: The canonical Csound Reference Manual'
'csoundqt: Qt frontend'
'fltk: fltk GUIs'
'faust: Embed faust'
'java-environment: Use csound with Java'
'python2: python opcodes'
'vim-csound: Use csound with vim')
cd "${pkgname}-${pkgver}/bld"
make DESTDIR="${pkgdir}/" install
# export vars in profile.d
install -vDm 755 "${srcdir}/${pkgname}.sh" -t "${pkgdir}/etc/profile.d/"
# rename extract executable due to name conflict with libextractor
# https://github.com/csound/csound/issues/985
mv -v "${pkgdir}/usr/bin/extract" "${pkgdir}/usr/bin/${pkgname}-extract"
}
package_csound-doc() {