mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/csound to 6.16.2-7
This commit is contained in:
parent
1c0d8a6fea
commit
575f1271f9
1 changed files with 33 additions and 34 deletions
|
@ -11,43 +11,43 @@
|
|||
buildarch=22
|
||||
|
||||
pkgbase=csound
|
||||
pkgname=('csound' 'csound-doc')
|
||||
pkgname=(csound csound-doc)
|
||||
pkgver=6.16.2
|
||||
_manual_pkgver=6.16.0
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="A programming language for sound rendering and signal processing."
|
||||
arch=('x86_64')
|
||||
arch=(x86_64)
|
||||
url="https://csound.com"
|
||||
license=('LGPL2.1')
|
||||
license=(LGPL2.1)
|
||||
# libpd needs to be packaged: https://github.com/libpd/libpd/releases
|
||||
# gmm > 5.1 breaks linear-algebra opcode: https://github.com/csound/csound/issues/920
|
||||
makedepends=(
|
||||
'alsa-lib'
|
||||
'cmake'
|
||||
'doxygen'
|
||||
'dssi'
|
||||
'fluidsynth'
|
||||
'hdf5'
|
||||
'jack'
|
||||
'java-environment'
|
||||
'ladspa'
|
||||
'libmusicxml'
|
||||
'libsamplerate'
|
||||
'libsndfile'
|
||||
'libwebsockets'
|
||||
'llvm'
|
||||
'lua'
|
||||
'openssl'
|
||||
'portaudio'
|
||||
'portmidi'
|
||||
'portsmf'
|
||||
'python'
|
||||
'stk'
|
||||
'strip-nondeterminism'
|
||||
'swig'
|
||||
'wiiuse'
|
||||
alsa-lib
|
||||
cmake
|
||||
doxygen
|
||||
dssi
|
||||
fluidsynth
|
||||
hdf5
|
||||
jack
|
||||
java-environment
|
||||
ladspa
|
||||
libmusicxml
|
||||
libsamplerate
|
||||
libsndfile
|
||||
libwebsockets
|
||||
llvm
|
||||
lua
|
||||
openssl
|
||||
portaudio
|
||||
portmidi
|
||||
portsmf
|
||||
python
|
||||
stk
|
||||
strip-nondeterminism
|
||||
swig
|
||||
wiiuse
|
||||
)
|
||||
checkdepends=('cunit')
|
||||
checkdepends=(cunit)
|
||||
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz"
|
||||
"${pkgbase}.sh"
|
||||
"https://github.com/${pkgbase}/${pkgbase}/releases/download/${_manual_pkgver}/Csound${_manual_pkgver}_manual_html.zip"
|
||||
|
@ -72,7 +72,7 @@ build() {
|
|||
# it's not allowed to redistribute the scansyn opcodes: https://github.com/csound/csound/issues/1148
|
||||
# the python plugin is not python3 compatible: https://github.com/csound/csound/issues/631
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE='None' \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-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" \
|
||||
|
@ -93,8 +93,8 @@ check() {
|
|||
}
|
||||
|
||||
package_csound() {
|
||||
groups=('pro-audio')
|
||||
depends=('gcc-libs' 'glibc' 'libcurl.so' 'libsamplerate.so' 'libsndfile.so')
|
||||
groups=(pro-audio)
|
||||
depends=(gcc-libs glibc libcurl.so libsamplerate.so libsndfile.so)
|
||||
optdepends=('alsa-lib: for librtalsa plugin'
|
||||
'csound-doc: for the canonical Csound Reference Manual'
|
||||
'csound-plugins: for extra opcodes not shipped with Csound'
|
||||
|
@ -117,7 +117,7 @@ package_csound() {
|
|||
'python-numpy: For Csound Python bindings'
|
||||
'vim-csound: vim integration'
|
||||
'zlib: for libfaustcsound plugin')
|
||||
provides=('libcsound64.so' 'libcsnd6.so')
|
||||
provides=(libcsound64.so libcsnd6.so)
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make VERBOSE=1 DESTDIR="${pkgdir}/" install -C build
|
||||
|
||||
|
@ -135,7 +135,6 @@ package_csound() {
|
|||
}
|
||||
|
||||
package_csound-doc() {
|
||||
license=('LGPL2.1' 'GPL')
|
||||
install -vDm 644 "${srcdir}/Csound${_manual_pkgver}_manual.pdf" \
|
||||
"${pkgdir}/usr/share/doc/${pkgname}/${pkgbase}-manual.pdf"
|
||||
install -dv "${pkgdir}/usr/share/doc/${pkgname}/html"
|
||||
|
|
Loading…
Reference in a new issue