mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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
|
buildarch=22
|
||||||
|
|
||||||
pkgbase=csound
|
pkgbase=csound
|
||||||
pkgname=('csound' 'csound-doc')
|
pkgname=(csound csound-doc)
|
||||||
pkgver=6.16.2
|
pkgver=6.16.2
|
||||||
_manual_pkgver=6.16.0
|
_manual_pkgver=6.16.0
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
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"
|
||||||
license=('LGPL2.1')
|
license=(LGPL2.1)
|
||||||
# libpd needs to be packaged: https://github.com/libpd/libpd/releases
|
# 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
|
# gmm > 5.1 breaks linear-algebra opcode: https://github.com/csound/csound/issues/920
|
||||||
makedepends=(
|
makedepends=(
|
||||||
'alsa-lib'
|
alsa-lib
|
||||||
'cmake'
|
cmake
|
||||||
'doxygen'
|
doxygen
|
||||||
'dssi'
|
dssi
|
||||||
'fluidsynth'
|
fluidsynth
|
||||||
'hdf5'
|
hdf5
|
||||||
'jack'
|
jack
|
||||||
'java-environment'
|
java-environment
|
||||||
'ladspa'
|
ladspa
|
||||||
'libmusicxml'
|
libmusicxml
|
||||||
'libsamplerate'
|
libsamplerate
|
||||||
'libsndfile'
|
libsndfile
|
||||||
'libwebsockets'
|
libwebsockets
|
||||||
'llvm'
|
llvm
|
||||||
'lua'
|
lua
|
||||||
'openssl'
|
openssl
|
||||||
'portaudio'
|
portaudio
|
||||||
'portmidi'
|
portmidi
|
||||||
'portsmf'
|
portsmf
|
||||||
'python'
|
python
|
||||||
'stk'
|
stk
|
||||||
'strip-nondeterminism'
|
strip-nondeterminism
|
||||||
'swig'
|
swig
|
||||||
'wiiuse'
|
wiiuse
|
||||||
)
|
)
|
||||||
checkdepends=('cunit')
|
checkdepends=(cunit)
|
||||||
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"
|
||||||
"${pkgbase}.sh"
|
"${pkgbase}.sh"
|
||||||
"https://github.com/${pkgbase}/${pkgbase}/releases/download/${_manual_pkgver}/Csound${_manual_pkgver}_manual_html.zip"
|
"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
|
# 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
|
# the python plugin is not python3 compatible: https://github.com/csound/csound/issues/631
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE='None' \
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
-DBUILD_SCANSYN_OPCODES=OFF \
|
-DBUILD_SCANSYN_OPCODES=OFF \
|
||||||
-DCMAKE_CXX_FLAGS="-Wno-error -Wno-missing-field-initializers -DPFFFT_SIMD_DISABLE" \
|
-DCMAKE_CXX_FLAGS="-Wno-error -Wno-missing-field-initializers -DPFFFT_SIMD_DISABLE" \
|
||||||
-DCMAKE_C_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() {
|
package_csound() {
|
||||||
groups=('pro-audio')
|
groups=(pro-audio)
|
||||||
depends=('gcc-libs' 'glibc' 'libcurl.so' 'libsamplerate.so' 'libsndfile.so')
|
depends=(gcc-libs glibc libcurl.so libsamplerate.so libsndfile.so)
|
||||||
optdepends=('alsa-lib: for librtalsa plugin'
|
optdepends=('alsa-lib: for librtalsa plugin'
|
||||||
'csound-doc: for the canonical Csound Reference Manual'
|
'csound-doc: for the canonical Csound Reference Manual'
|
||||||
'csound-plugins: for extra opcodes not shipped with Csound'
|
'csound-plugins: for extra opcodes not shipped with Csound'
|
||||||
|
@ -117,7 +117,7 @@ package_csound() {
|
||||||
'python-numpy: For Csound Python bindings'
|
'python-numpy: For Csound Python bindings'
|
||||||
'vim-csound: vim integration'
|
'vim-csound: vim integration'
|
||||||
'zlib: for libfaustcsound plugin')
|
'zlib: for libfaustcsound plugin')
|
||||||
provides=('libcsound64.so' 'libcsnd6.so')
|
provides=(libcsound64.so libcsnd6.so)
|
||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
make VERBOSE=1 DESTDIR="${pkgdir}/" install -C build
|
make VERBOSE=1 DESTDIR="${pkgdir}/" install -C build
|
||||||
|
|
||||||
|
@ -135,7 +135,6 @@ package_csound() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package_csound-doc() {
|
package_csound-doc() {
|
||||||
license=('LGPL2.1' 'GPL')
|
|
||||||
install -vDm 644 "${srcdir}/Csound${_manual_pkgver}_manual.pdf" \
|
install -vDm 644 "${srcdir}/Csound${_manual_pkgver}_manual.pdf" \
|
||||||
"${pkgdir}/usr/share/doc/${pkgname}/${pkgbase}-manual.pdf"
|
"${pkgdir}/usr/share/doc/${pkgname}/${pkgbase}-manual.pdf"
|
||||||
install -dv "${pkgdir}/usr/share/doc/${pkgname}/html"
|
install -dv "${pkgdir}/usr/share/doc/${pkgname}/html"
|
||||||
|
|
Loading…
Reference in a new issue