[arch-commits] Commit in csound/repos/community-x86_64 (4 files)
Jelle van der Waa
jelle at archlinux.org
Fri Apr 10 19:32:00 UTC 2020
Date: Friday, April 10, 2020 @ 19:32:00
Author: jelle
Revision: 613160
archrelease: copy trunk to community-x86_64
Added:
csound/repos/community-x86_64/PKGBUILD
(from rev 613159, csound/trunk/PKGBUILD)
csound/repos/community-x86_64/csound.sh
(from rev 613159, csound/trunk/csound.sh)
Deleted:
csound/repos/community-x86_64/PKGBUILD
csound/repos/community-x86_64/csound.sh
-----------+
PKGBUILD | 214 ++++++++++++++++++++++++++++++------------------------------
csound.sh | 6 -
2 files changed, 110 insertions(+), 110 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-10 19:31:52 UTC (rev 613159)
+++ PKGBUILD 2020-04-10 19:32:00 UTC (rev 613160)
@@ -1,107 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Ainola
-# Contributor: speps
-# Contributor: Bernardo Barros
-
-pkgbase=csound
-pkgname=('csound' 'csound-doc')
-pkgver=6.14.0
-pkgrel=1
-pkgdesc="A programming language for sound rendering and signal processing."
-arch=('x86_64')
-url="https://csound.com"
-license=('LGPL')
-# 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' 'boost' 'cmake' 'doxygen' 'dssi' 'eigen' 'faust' 'fltk'
-'fluidsynth' 'hdf5' 'jack' 'java-environment' 'ladspa' 'libmusicxml'
-'libsamplerate' 'libsndfile' 'libwebsockets' 'link' 'llvm' 'lua' 'openssl'
-'portaudio' 'portmidi' 'portsmf' 'stk' 'swig' 'wiiuse')
-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/${pkgver}/Csound${pkgver}_manual_html.zip"
- "https://github.com/${pkgbase}/${pkgbase}/releases/download/${pkgver}/Csound${pkgver}_manual_pdf.zip")
-sha512sums=('fc9eb1fc1b5cdbff88ebaa3500996938693481be2e9eead9193524878d1eb6ddd08dbe224892f7c24456e510c8c30e89aaeee8d090759b518994008cdeec9efd'
- '53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
- '638ecd8bc0b4c981e1f8c5592a123a3b1bb5582ee7017288be224eb670fccda79242ae42b6f6d8e91c2ad2f708af1de3c66283030d4b3373c0ec29ec260f379b'
- '55769acd58add0ec6df5e188c74e16424deb679aebdbdd50dc5d9006c80a26c31dfe2564e5d71478abcb7a920b40c1f1baa02e4c3fd682a6d3bbc378ddcb8b7d')
-
-prepare() {
- # fix file permissions in html manual
- find html/ -type f -exec chmod -c 644 {} \;
-}
-
-build() {
- local _java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' -f2| cut -d '.' -f1)
- cd "${pkgbase}-${pkgver}"
- # 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
- # the python plugin is not python3 compatible: https://github.com/csound/csound/issues/631
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE='Release' \
- -DBUILD_SCANSYN_OPCODES=OFF \
- -DJAVA_AWT_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib/libawt.so" \
- -DJAVA_JVM_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib" \
- -DLUA_LIBRARY=/usr/lib/liblua.so \
- -DBUILD_STATIC_LIBRARY=ON \
- -DBUILD_ABLETON_LINK_OPCODES=ON \
- -DABLETON_LINK_HOME=/usr/include/ableton \
- -B build \
- -S .
- make VERBOSE=1 -C build
-}
-
-check() {
- cd "${pkgbase}-${pkgver}"
- make test -C build
-}
-
-package_csound() {
- 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'
- 'csoundqt: for frontend/ editor with integrated help'
- 'fltk: for libvirtual and libwidgets plugins'
- 'hdf5: for hdf5ops plugin'
- 'java-runtime: java integration'
- 'libfaust.so: for libfaustcsound plugin'
- 'libfluidsynth.so: for libfluidOpcodes plugin'
- 'libjack.so: for libjacko, librtjack and libjackTransport plugins'
- 'liblo.so: for libosc plugin'
- 'libncursesw.so: for libfaustcsound plugin'
- 'libpng: for libimage plugin'
- 'libportmidi.so: for libpmidi plugin'
- 'libportaudio.so: for librtpa plugin'
- 'libpulse: for librtpulse plugin'
- 'libstk.so: for libstkops plugin'
- 'libwebsockets: for libwebsocketIO plugin'
- 'libwiiuse.so: for libwiimote plugin'
- 'libx11: for libwidgets plugin'
- 'lua: for LUA integration'
- 'openssl: for libfaustcsound plugin'
- 'vim-csound: vim integration'
- 'zlib: for libfaustcsound plugin')
- provides=('libcsound64.so' 'libcsnd6.so')
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}/" install -C build
-
- # export vars in profile.d
- install -vDm 755 "${srcdir}/${pkgname}.sh" -t "${pkgdir}/etc/profile.d/"
- # 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() {
- license=('LGPL' 'GPL')
- install -vDm 644 "${srcdir}/Csound${pkgver}_manual.pdf" \
- "${pkgdir}/usr/share/doc/${pkgname}/${pkgbase}-manual.pdf"
- install -dv "${pkgdir}/usr/share/doc/${pkgname}/html"
- cp -av "${srcdir}/html/"* "${pkgdir}/usr/share/doc/${pkgname}/html"
-}
-# vim:set ts=2 sw=2 et:
Copied: csound/repos/community-x86_64/PKGBUILD (from rev 613159, csound/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-10 19:32:00 UTC (rev 613160)
@@ -0,0 +1,107 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.14.0
+pkgrel=2
+pkgdesc="A programming language for sound rendering and signal processing."
+arch=('x86_64')
+url="https://csound.com"
+license=('LGPL')
+# 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' 'boost' 'cmake' 'doxygen' 'dssi' 'eigen' 'faust' 'fltk'
+'fluidsynth' 'hdf5' 'jack' 'java-environment' 'ladspa' 'libmusicxml'
+'libsamplerate' 'libsndfile' 'libwebsockets' 'abletonlink' 'llvm' 'lua' 'openssl'
+'portaudio' 'portmidi' 'portsmf' 'stk' 'swig' 'wiiuse')
+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/${pkgver}/Csound${pkgver}_manual_html.zip"
+ "https://github.com/${pkgbase}/${pkgbase}/releases/download/${pkgver}/Csound${pkgver}_manual_pdf.zip")
+sha512sums=('fc9eb1fc1b5cdbff88ebaa3500996938693481be2e9eead9193524878d1eb6ddd08dbe224892f7c24456e510c8c30e89aaeee8d090759b518994008cdeec9efd'
+ '53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+ '638ecd8bc0b4c981e1f8c5592a123a3b1bb5582ee7017288be224eb670fccda79242ae42b6f6d8e91c2ad2f708af1de3c66283030d4b3373c0ec29ec260f379b'
+ '55769acd58add0ec6df5e188c74e16424deb679aebdbdd50dc5d9006c80a26c31dfe2564e5d71478abcb7a920b40c1f1baa02e4c3fd682a6d3bbc378ddcb8b7d')
+
+prepare() {
+ # fix file permissions in html manual
+ find html/ -type f -exec chmod -c 644 {} \;
+}
+
+build() {
+ local _java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' -f2| cut -d '.' -f1)
+ cd "${pkgbase}-${pkgver}"
+ # 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
+ # the python plugin is not python3 compatible: https://github.com/csound/csound/issues/631
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DBUILD_SCANSYN_OPCODES=OFF \
+ -DJAVA_AWT_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib/libawt.so" \
+ -DJAVA_JVM_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib" \
+ -DLUA_LIBRARY=/usr/lib/liblua.so \
+ -DBUILD_STATIC_LIBRARY=ON \
+ -DBUILD_ABLETON_LINK_OPCODES=ON \
+ -DABLETON_LINK_HOME=/usr/include/ableton \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
+}
+
+check() {
+ cd "${pkgbase}-${pkgver}"
+ make test -C build
+}
+
+package_csound() {
+ 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'
+ 'csoundqt: for frontend/ editor with integrated help'
+ 'fltk: for libvirtual and libwidgets plugins'
+ 'hdf5: for hdf5ops plugin'
+ 'java-runtime: java integration'
+ 'libfaust.so: for libfaustcsound plugin'
+ 'libfluidsynth.so: for libfluidOpcodes plugin'
+ 'libjack.so: for libjacko, librtjack and libjackTransport plugins'
+ 'liblo.so: for libosc plugin'
+ 'libncursesw.so: for libfaustcsound plugin'
+ 'libpng: for libimage plugin'
+ 'libportmidi.so: for libpmidi plugin'
+ 'libportaudio.so: for librtpa plugin'
+ 'libpulse: for librtpulse plugin'
+ 'libstk.so: for libstkops plugin'
+ 'libwebsockets: for libwebsocketIO plugin'
+ 'libwiiuse.so: for libwiimote plugin'
+ 'libx11: for libwidgets plugin'
+ 'lua: for LUA integration'
+ 'openssl: for libfaustcsound plugin'
+ 'vim-csound: vim integration'
+ 'zlib: for libfaustcsound plugin')
+ provides=('libcsound64.so' 'libcsnd6.so')
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" install -C build
+
+ # export vars in profile.d
+ install -vDm 755 "${srcdir}/${pkgname}.sh" -t "${pkgdir}/etc/profile.d/"
+ # 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() {
+ license=('LGPL' 'GPL')
+ install -vDm 644 "${srcdir}/Csound${pkgver}_manual.pdf" \
+ "${pkgdir}/usr/share/doc/${pkgname}/${pkgbase}-manual.pdf"
+ install -dv "${pkgdir}/usr/share/doc/${pkgname}/html"
+ cp -av "${srcdir}/html/"* "${pkgdir}/usr/share/doc/${pkgname}/html"
+}
+# vim:set ts=2 sw=2 et:
Deleted: csound.sh
===================================================================
--- csound.sh 2020-04-10 19:31:52 UTC (rev 613159)
+++ csound.sh 2020-04-10 19:32:00 UTC (rev 613160)
@@ -1,3 +0,0 @@
-export OPCODE6DIR=/usr/lib/csound/plugins64-6.0
-export CSSTRNGS=/usr/share/locale
-export RAWWAVE_PATH=/usr/share/stk/rawwaves
Copied: csound/repos/community-x86_64/csound.sh (from rev 613159, csound/trunk/csound.sh)
===================================================================
--- csound.sh (rev 0)
+++ csound.sh 2020-04-10 19:32:00 UTC (rev 613160)
@@ -0,0 +1,3 @@
+export OPCODE6DIR=/usr/lib/csound/plugins64-6.0
+export CSSTRNGS=/usr/share/locale
+export RAWWAVE_PATH=/usr/share/stk/rawwaves
More information about the arch-commits
mailing list