community/csound to 6.12.2-8

This commit is contained in:
Kevin Mihelich 2019-06-18 23:16:36 +00:00
parent a5a3c8f1ea
commit 09ad4a21d1

View file

@ -13,7 +13,7 @@ buildarch=22
pkgbase=csound
pkgname=('csound' 'csound-doc')
pkgver=6.12.2
pkgrel=7
pkgrel=8
pkgdesc="A programming language for sound rendering and signal processing."
arch=('x86_64')
url="https://csound.com"
@ -21,7 +21,7 @@ license=('LGPL')
# libpd needs to be packaged: https://github.com/libpd/libpd/releases
# current gmm doesn't work https://github.com/csound/csound/issues/920
makedepends=('boost' 'cmake' 'cunit' 'doxygen' 'dssi' 'eigen' 'faust' 'fltk'
'fluidsynth' 'git' 'hdf5' 'java-environment=8' 'ladspa' 'libmusicxml'
'fluidsynth' 'git' 'hdf5' 'java-environment' 'ladspa' 'libmusicxml'
'libwebsockets' 'llvm' 'luajit' 'portmidi' 'portsmf' 'python2' 'stk' 'swig'
'wiiuse')
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz"
@ -45,6 +45,7 @@ prepare() {
}
build() {
local _java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' -f2| cut -d '.' -f1)
cd "${pkgbase}-${pkgver}/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS="-Wno-error -Wno-missing-field-initializers -DPFFFT_SIMD_DISABLE" \
@ -83,6 +84,9 @@ package_csound() {
# 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"
# moving csnd6.jar to /usr/share/java
#install -vdm 755 "${pkgdir}/usr/share/java/"
#mv -v "${pkgdir}/usr/lib/"*.jar "${pkgdir}/usr/share/java/"
}
package_csound-doc() {