community/csound to 6.13.0-2

This commit is contained in:
Kevin Mihelich 2019-08-05 18:23:31 +00:00
parent 6d3e395d58
commit 730f573e64

View file

@ -13,7 +13,7 @@ buildarch=22
pkgbase=csound
pkgname=('csound' 'csound-doc')
pkgver=6.13.0
pkgrel=1
pkgrel=2
pkgdesc="A programming language for sound rendering and signal processing."
arch=('x86_64')
url="https://csound.com"
@ -40,7 +40,11 @@ prepare() {
build() {
local _java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' -f2| cut -d '.' -f1)
cd "${pkgbase}-${pkgver}/build"
# without CMAKE_BUILD_TYPE=Release, csound is build as beta: https://bugs.archlinux.org/task/63348
# it's not allowed to redistribute the scansyn opcodes: https://github.com/csound/csound/issues/1148
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE='Release' \
-DBUILD_SCANSYN_OPCODES=OFF \
-DCMAKE_CXX_FLAGS="-Wno-error -Wno-missing-field-initializers -DPFFFT_SIMD_DISABLE" \
-DCMAKE_C_FLAGS="-Wno-error -Wno-missing-field-initializers -DPFFFT_SIMD_DISABLE" \
-DBUILD_JAVA_INTERFACE=0 \