mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/csound to 6.12.2-8
This commit is contained in:
parent
a5a3c8f1ea
commit
09ad4a21d1
1 changed files with 6 additions and 2 deletions
|
@ -13,7 +13,7 @@ buildarch=22
|
||||||
pkgbase=csound
|
pkgbase=csound
|
||||||
pkgname=('csound' 'csound-doc')
|
pkgname=('csound' 'csound-doc')
|
||||||
pkgver=6.12.2
|
pkgver=6.12.2
|
||||||
pkgrel=7
|
pkgrel=8
|
||||||
pkgdesc="A programming language for sound rendering and signal processing."
|
pkgdesc="A programming language for sound rendering and signal processing."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://csound.com"
|
url="https://csound.com"
|
||||||
|
@ -21,7 +21,7 @@ license=('LGPL')
|
||||||
# libpd needs to be packaged: https://github.com/libpd/libpd/releases
|
# libpd needs to be packaged: https://github.com/libpd/libpd/releases
|
||||||
# current gmm doesn't work https://github.com/csound/csound/issues/920
|
# current gmm doesn't work https://github.com/csound/csound/issues/920
|
||||||
makedepends=('boost' 'cmake' 'cunit' 'doxygen' 'dssi' 'eigen' 'faust' 'fltk'
|
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'
|
'libwebsockets' 'llvm' 'luajit' 'portmidi' 'portsmf' 'python2' 'stk' 'swig'
|
||||||
'wiiuse')
|
'wiiuse')
|
||||||
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz"
|
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz"
|
||||||
|
@ -45,6 +45,7 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
local _java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' -f2| cut -d '.' -f1)
|
||||||
cd "${pkgbase}-${pkgver}/build"
|
cd "${pkgbase}-${pkgver}/build"
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_CXX_FLAGS="-Wno-error -Wno-missing-field-initializers -DPFFFT_SIMD_DISABLE" \
|
-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
|
# rename extract executable due to name conflict with libextractor
|
||||||
# https://github.com/csound/csound/issues/985
|
# https://github.com/csound/csound/issues/985
|
||||||
mv -v "${pkgdir}/usr/bin/extract" "${pkgdir}/usr/bin/${pkgname}-extract"
|
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() {
|
package_csound-doc() {
|
||||||
|
|
Loading…
Reference in a new issue