[arch-commits] Commit in csound/repos (3 files)

2020-09-07 Thread David Runge via arch-commits
Date: Monday, September 7, 2020 @ 20:11:58
  Author: dvzrv
Revision: 700289

archrelease: copy trunk to community-staging-x86_64

Added:
  csound/repos/community-staging-x86_64/
  csound/repos/community-staging-x86_64/PKGBUILD
(from rev 700288, csound/trunk/PKGBUILD)
  csound/repos/community-staging-x86_64/csound.sh
(from rev 700288, csound/trunk/csound.sh)

---+
 PKGBUILD  |  112 
 csound.sh |3 +
 2 files changed, 115 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 700288, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 20:11:58 UTC (rev 700289)
@@ -0,0 +1,112 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.15.0
+pkgrel=2
+pkgdesc="A programming language for sound rendering and signal processing."
+arch=('x86_64')
+url="https://csound.com;
+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' '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=('3462a544357b9ef7d8f2e6c7aed5f0659524fab08669950436da856c9854f81f658f1bd50061e7e6bfd28663a578ef2e0ea75ac4f0f9c72d47682aa26185'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'cf7df42f3b6d869a5e9f531c64a50287f9385927b26c48ff3c334b2ed95d17334be85a3ef671008504d1a365b1412e2715dcff61a41e3c83b60621df25d67946'
+
'0eca00951708d7064d789bdd0d98534e815ecc275e09b3020cce89d6f6b1009c0347e7d5fd400ed321bd7e05c89d79644f64c18f47b46013bb6b49c88e42fca0')
+b2sums=('9513ae484606bacd82971bad80a8a4e9e42fa7ff9af33a7850052b2c3941b5260817efe8c502310da815802dd75681fbf239782783566bb402333917c91dbd1b'
+
'8a556685d0f9ee55c4de521b3d76fc729936e98e991e8ea860d64b29a1b09d142ab0a51548b2dddadb41ecb796e84ba1f8ed114494b4c67d7d6d8ab3475b2ede'
+
'b15b3381f13c7877130dfec60803ba1cdd12e5d2d92e5ea02c4d0dd5c1c70cc2bbec5f76634b385a0ffd20e7397d6c33bbe374128f01345999f34e2e2a0b7dd1'
+
'898da87eb8b10a75f3f6256eeade7aa180ff5e6dd93de8d2bf462d01d1d1cf5f4c5d7c4ed73402aa019674d597ff3fd1b7ac436059d9df39e0d77a15365d529e')
+
+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='None' \
+-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 \
+-W no-dev \
+-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'
+  'faust: for libfaustcsound plugin'
+  'fluidsynth: for libfluidOpcodes plugin'
+  'jack: for libjacko, librtjack and libjackTransport plugins'
+  'liblo: for 

[arch-commits] Commit in csound/repos (3 files)

2020-07-09 Thread David Runge via arch-commits
Date: Thursday, July 9, 2020 @ 09:46:10
  Author: dvzrv
Revision: 661803

archrelease: copy trunk to community-staging-x86_64

Added:
  csound/repos/community-staging-x86_64/
  csound/repos/community-staging-x86_64/PKGBUILD
(from rev 661802, csound/trunk/PKGBUILD)
  csound/repos/community-staging-x86_64/csound.sh
(from rev 661802, csound/trunk/csound.sh)

---+
 PKGBUILD  |  124 
 csound.sh |3 +
 2 files changed, 127 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 661802, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-09 09:46:10 UTC (rev 661803)
@@ -0,0 +1,124 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.14.0
+pkgrel=4
+pkgdesc="A programming language for sound rendering and signal processing."
+arch=('x86_64')
+url="https://csound.com;
+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' '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}-6.14.0-hdf5-1.12.0.patch::https://github.com/csound/csound/pull/1314/commits/de4a066566430e8742989dc41638242f5d07fa04.patch;
+
"${pkgbase}-6.14.0-gcc10.patch::https://github.com/csound/csound/commit/c444e8f752c3acc31d364b901204e09eae2e791e.patch;
+"${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'
+
'5086419f4d41b69a70308a6f540720baaef76e778564d9aa33a57e0a0f4f6c436a66dd071a8721b672ef36f8f3f73d881957fa39b95caf88534290157a5f8e75'
+
'9c1b4927d840ebec6c5bdd74a350f1dd5b36824df9d8f3288f7530bee4ea3aa973a0eeb82dfd03fbb09ba42f0d575936b7ef912140dd5f1f8a65d0f64f0fe890'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'638ecd8bc0b4c981e1f8c5592a123a3b1bb5582ee7017288be224eb670fccda79242ae42b6f6d8e91c2ad2f708af1de3c66283030d4b3373c0ec29ec260f379b'
+
'55769acd58add0ec6df5e188c74e16424deb679aebdbdd50dc5d9006c80a26c31dfe2564e5d71478abcb7a920b40c1f1baa02e4c3fd682a6d3bbc378ddcb8b7d')
+b2sums=('6e41fdc3db75f886e0c582ce0877411898eacf31a26da73d018be4ffa69f99da55a13434d99ae8a4f6f028766f83fdd3b8537b45ea9057cb971619677c1876df'
+
'fd779cdf880d7eafec815fe2755fc936ec0e77b890ec64c71d854036f846ecaf7d380e1738e573e6e20e0239eba641a77d5562134fc1a26e7215480aa1d15186'
+
'f2a91a3fb9b660b3f1eedd29673ad93d46ae9611767f060fa0db06e3f595433534f3a91c6182466af7ab75099ba25bc6f7d8a4df6d7b42458e05b1b2b5a9befd'
+
'8a556685d0f9ee55c4de521b3d76fc729936e98e991e8ea860d64b29a1b09d142ab0a51548b2dddadb41ecb796e84ba1f8ed114494b4c67d7d6d8ab3475b2ede'
+
'9565c21623a60e06aae82bfbde186e496b5f3ae0eb619289a7db08235c7dcd520bee2283552fdf2ddb4eb85c7b0f184397d2fa0ee14d3bdeff9dccb44a7d7ff1'
+
'a91a3689dd3efa5c32c924178b646b73787132a07575f05a65ee1acafc69108ce6c33512e0b703012f75f201a86a0b84e08976f158b01ef5201807d1aaa31c35')
+
+prepare() {
+  # fix file permissions in html manual
+  find html/ -type f -exec chmod -c 644 {} \;
+  cd "${pkgbase}-${pkgver}"
+  # adding patch for hdf5 API changes:
+  # https://github.com/csound/csound/issues/1313
+  patch -Np1 -i "../${pkgbase}-6.14.0-hdf5-1.12.0.patch"
+  # fix linking with gcc >= 10
+  patch -Np1 -i "../${pkgbase}-6.14.0-gcc10.patch"
+}
+
+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='None' \
+-DBUILD_SCANSYN_OPCODES=OFF \
+

[arch-commits] Commit in csound/repos (3 files)

2020-04-11 Thread David Runge via arch-commits
Date: Saturday, April 11, 2020 @ 21:56:25
  Author: dvzrv
Revision: 613369

archrelease: copy trunk to community-staging-x86_64

Added:
  csound/repos/community-staging-x86_64/
  csound/repos/community-staging-x86_64/PKGBUILD
(from rev 613368, csound/trunk/PKGBUILD)
  csound/repos/community-staging-x86_64/csound.sh
(from rev 613368, csound/trunk/csound.sh)

---+
 PKGBUILD  |  113 
 csound.sh |3 +
 2 files changed, 116 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 613368, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-11 21:56:25 UTC (rev 613369)
@@ -0,0 +1,113 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.14.0
+pkgrel=3
+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}-6.14.0-hdf5-1.12.0.patch::https://github.com/csound/csound/pull/1314/commits/de4a066566430e8742989dc41638242f5d07fa04.patch;
+"${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'
+
'5086419f4d41b69a70308a6f540720baaef76e778564d9aa33a57e0a0f4f6c436a66dd071a8721b672ef36f8f3f73d881957fa39b95caf88534290157a5f8e75'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'638ecd8bc0b4c981e1f8c5592a123a3b1bb5582ee7017288be224eb670fccda79242ae42b6f6d8e91c2ad2f708af1de3c66283030d4b3373c0ec29ec260f379b'
+
'55769acd58add0ec6df5e188c74e16424deb679aebdbdd50dc5d9006c80a26c31dfe2564e5d71478abcb7a920b40c1f1baa02e4c3fd682a6d3bbc378ddcb8b7d')
+
+prepare() {
+  # fix file permissions in html manual
+  find html/ -type f -exec chmod -c 644 {} \;
+  cd "${pkgbase}-${pkgver}"
+  # adding patch for hdf5 API changes:
+  # https://github.com/csound/csound/issues/1313
+  patch -Np1 -i "../${pkgbase}-6.14.0-hdf5-1.12.0.patch"
+}
+
+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: 

[arch-commits] Commit in csound/repos (3 files)

2018-11-04 Thread David Runge via arch-commits
Date: Sunday, November 4, 2018 @ 19:59:23
  Author: dvzrv
Revision: 401518

archrelease: copy trunk to community-testing-x86_64

Added:
  csound/repos/community-testing-x86_64/
  csound/repos/community-testing-x86_64/PKGBUILD
(from rev 401517, csound/trunk/PKGBUILD)
  csound/repos/community-testing-x86_64/csound.sh
(from rev 401517, csound/trunk/csound.sh)

---+
 PKGBUILD  |   86 
 csound.sh |3 ++
 2 files changed, 89 insertions(+)

Copied: csound/repos/community-testing-x86_64/PKGBUILD (from rev 401517, 
csound/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-11-04 19:59:23 UTC (rev 401518)
@@ -0,0 +1,86 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.12.0
+pkgrel=1
+pkgdesc="A programming language for sound rendering and signal processing."
+arch=('x86_64')
+url="http://csound.com;
+license=('LGPL')
+# wiiuse needs release before add: https://github.com/rpavlik/wiiuse/issues/92
+# libpd needs to be packaged: https://github.com/libpd/libpd/releases
+# current gmm doesn't work https://github.com/csound/csound/issues/920
+makedepends=('boost' 'cmake' 'cunit' 'doxygen' 'dssi' 'eigen' 'faust' 'fltk'
+'fluidsynth' 'git' 'hdf5' 'java-environment=8' 'ladspa' 'libmusicxml'
+'libwebsockets' 'llvm' 'luajit' 'portmidi' 'portsmf' 'python2' 'stk' 'swig')
+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=('7053f998782e7f07fe209f866346179514434bd51ba4caf015bac09ed3843616d1644aac54cc7b8d437a81e69c634646419d45f07a65807f4061f8568bb4d232'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'eb287b9070c16d6cfbd890532d97eda34d72d8b5e5548a1a55ed7de91b2b913e04426cd50c94d0ac84221396002421077a5d22b3b67ce634c34a9aa1ceb53d9d'
+
'88f7cf0c1053d1af31f18f0f866e68ffd8fb8b5d7c1f762e8c391f8e447a178b0700b7cf05327bc6e9c35a0b6acaa3f198359786ea8b8a3a07d63b4fc7a3c316')
+
+prepare() {
+  cd "${pkgbase}-${pkgver}"
+  # requires out-of-tree build
+  mkdir build
+}
+
+build() {
+  cd "${pkgbase}-${pkgver}/build"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DJAVA_AWT_LIBRARY=/usr/lib/jvm/java-8-openjdk/jre/lib/amd64/libawt.so 
\
+-DJAVA_JVM_LIBRARY=/usr/lib/jvm/java-8-openjdk/jre/lib/amd64 \
+-DLUA_MODULE_INSTALL_DIR=/usr/lib/lua/5.1/ \
+-DLUAJIT_LIBRARY=/usr/lib/libluajit-5.1.so \
+-DLUA_H_PATH=/usr/include/luajit-2.0/ \
+-DPYTHON_MODULE_INSTALL_DIR=/usr/lib/python2.7/site-packages \
+-DBUILD_STATIC_LIBRARY=ON \
+..
+  make
+}
+
+check() {
+  cd "${pkgbase}-${pkgver}/build"
+  make test
+}
+
+package_csound() {
+  groups=('pro-audio')
+  depends=('fluidsynth' 'git' 'hdf5' 'liblo' 'libmusicxml' 'libwebsockets'
+  'luajit' 'portmidi' 'portsmf' 'stk' 'tk')
+  optdepends=('csound-doc: The canonical Csound Reference Manual'
+  'csoundqt: Qt frontend'
+  'fltk: fltk GUIs'
+  'faust: Embed faust'
+  'java-runtime=8: Use csound with Java'
+  'python2: python opcodes'
+  'vim-csound: Use csound with vim')
+  cd "${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}/" install
+
+  # 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"
+}
+
+package_csound-doc() {
+  license=('LGPL' 'GPL')
+  install -vDm 644 "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"
+  # fix file permissions
+  find "${pkgdir}" -type f -exec chmod -c 644 {} \;
+}
+
+# vim:set ts=2 sw=2 et:

Copied: csound/repos/community-testing-x86_64/csound.sh (from rev 401517, 
csound/trunk/csound.sh)
===
--- community-testing-x86_64/csound.sh  (rev 0)
+++ community-testing-x86_64/csound.sh  2018-11-04 19:59:23 UTC (rev 401518)
@@ -0,0 +1,3 @@
+export OPCODE6DIR=/usr/lib/csound/plugins64-6.0
+export CSSTRNGS=/usr/share/locale
+export RAWWAVE_PATH=/usr/share/stk/rawwaves


[arch-commits] Commit in csound/repos (3 files)

2018-03-18 Thread Evangelos Foutras via arch-commits
Date: Monday, March 19, 2018 @ 00:24:24
  Author: foutrelis
Revision: 309102

archrelease: copy trunk to community-staging-x86_64

Added:
  csound/repos/community-staging-x86_64/
  csound/repos/community-staging-x86_64/PKGBUILD
(from rev 309101, csound/trunk/PKGBUILD)
  csound/repos/community-staging-x86_64/csound.sh
(from rev 309101, csound/trunk/csound.sh)

---+
 PKGBUILD  |   73 
 csound.sh |3 ++
 2 files changed, 76 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 309101, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-19 00:24:24 UTC (rev 309102)
@@ -0,0 +1,73 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.10.0
+pkgrel=10
+pkgdesc="A programming language for sound rendering and signal processing."
+arch=('x86_64')
+url="http://csound.com;
+license=('LGPL')
+# wiiuse needs release before add: https://github.com/rpavlik/wiiuse/issues/92
+# current gmm doesn't work https://github.com/csound/csound/issues/920
+makedepends=('boost' 'cmake' 'dssi' 'eigen' 'faust' 'fltk' 'fluidsynth'
+'java-environment' 'ladspa' 'llvm' 'luajit' 'pd' 'portaudio' 'portmidi'
+'python2' 'swig')
+source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/csound/csound/archive/${pkgver}.tar.gz;
+"${pkgname[0]}.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=('1ccf0a2d5273da016ec585e788e4af0b91f55c3be081a51c53dc39b0fbcfba0cf1308828784a1e5dfc39250dedbd3f4b48afbb5c4140c11fd469ca6753702ed4'
+
'26e92e7168961686b3d89e9d552f4b086922469f7fc3e8b4b967d32bb7e41fddf014fd52a0aef30f229db57f7eac2980efe7c54b3fc3a7c321ae7e20adbb3995'
+
'f61f46705607eb39897fd3b27353fb233acd9da5e00a2b64d63116f74b889f2daafa72d48ed7c5ec1890e32d81331f91455861f2cb3fad3d13b7d27ec203357a'
+
'cf6ec335782032fb0703a3042c0222316cd215eba2be242e65d4f1ae23d886177620c96cc63c1aace43a72c1d6258a88612c1ffd5ef0e43675729bae39969fa1')
+
+prepare() {
+  cd "${pkgname[0]}-${pkgver}"
+  # requires out-of-tree build
+  mkdir bld
+}
+
+build() {
+  cd "${pkgname[0]}-${pkgver}/bld"
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+   -DJAVA_MODULE_INSTALL_DIR=/usr/lib/csound/java \
+   -DBUILD_FAUST_OPCODES=1 \
+   -DFAUST_LIBRARY=/usr/lib/libfaust.a \
+   -DLUA_MODULE_INSTALL_DIR=/usr/lib/lua/5.1/ \
+   -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+   -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+   -DPYTHON_MODULE_INSTALL_DIR=/usr/lib/python2.7/site-packages
+  make
+}
+
+package_csound() {
+  depends=('curl' 'fltk' 'fluidsynth' 'hdf5' 'liblo' 'luajit' 'portaudio' 
'portmidi' 'python2' 'stk' 'tk')
+  optdepends=('csound-doc: The canonical Csound Reference Manual'
+  'csoundqt: Qt frontend'
+  'faust: embed faust'
+  'java-environment: Java Wrapper'
+  'vim-csound: Use csound with vim')
+  cd "${pkgname}-${pkgver}/bld"
+  make DESTDIR="${pkgdir}/" install
+
+  # export vars in profile.d
+  install -vDm755 "${srcdir}/${pkgname[0]}.sh" \
+"${pkgdir}/etc/profile.d/${pkgname[0]}.sh"
+}
+
+package_csound-doc() {
+  license=('LGPL' 'GPL')
+  install -vDm644 Csound${pkgver}_manual.pdf \
+"${pkgdir}/usr/share/doc/${pkgname[1]}/${pkgbase}-manual.pdf"
+
+  install -dv "${pkgdir}/usr/share/doc/${pkgname[1]}/html"
+  cp -av "${srcdir}"/html/* "${pkgdir}/usr/share/doc/${pkgname[1]}/html"
+  # fix file permissions
+  find "${pkgdir}" -type f -exec chmod -c 644 {} \;
+}
+
+# vim:set ts=2 sw=2 et:

Copied: csound/repos/community-staging-x86_64/csound.sh (from rev 309101, 
csound/trunk/csound.sh)
===
--- community-staging-x86_64/csound.sh  (rev 0)
+++ community-staging-x86_64/csound.sh  2018-03-19 00:24:24 UTC (rev 309102)
@@ -0,0 +1,3 @@
+export OPCODE6DIR=/usr/lib/csound/plugins64
+export CSSTRNGS=/usr/share/locale
+export RAWWAVE_PATH=/usr/lib/stk/rawwaves


[arch-commits] Commit in csound/repos (3 files)

2018-02-12 Thread David Runge via arch-commits
Date: Monday, February 12, 2018 @ 16:05:32
  Author: dvzrv
Revision: 293323

archrelease: copy trunk to community-x86_64

Added:
  csound/repos/community-x86_64/
  csound/repos/community-x86_64/PKGBUILD
(from rev 293322, csound/trunk/PKGBUILD)
  csound/repos/community-x86_64/csound.sh
(from rev 293322, csound/trunk/csound.sh)

---+
 PKGBUILD  |   70 
 csound.sh |3 ++
 2 files changed, 73 insertions(+)

Copied: csound/repos/community-x86_64/PKGBUILD (from rev 293322, 
csound/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2018-02-12 16:05:32 UTC (rev 293323)
@@ -0,0 +1,70 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.10.0
+pkgrel=7
+pkgdesc="A programming language for sound rendering and signal processing."
+arch=('x86_64')
+url="http://csound.com;
+license=('LGPL')
+# add gmm (after fix) and wiiuse
+makedepends=('boost' 'cmake' 'dssi' 'eigen' 'faust' 'fltk' 'fluidsynth' 
'java-environment' 'ladspa' 'llvm' 'luajit' 'pd' 'portaudio' 'portmidi' 
'python2' 'swig')
+# add {neovim,vim}-csound once there's a tagged release
+source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/csound/csound/archive/${pkgver}.tar.gz;
+"${pkgname[0]}.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=('1ccf0a2d5273da016ec585e788e4af0b91f55c3be081a51c53dc39b0fbcfba0cf1308828784a1e5dfc39250dedbd3f4b48afbb5c4140c11fd469ca6753702ed4'
+
'26e92e7168961686b3d89e9d552f4b086922469f7fc3e8b4b967d32bb7e41fddf014fd52a0aef30f229db57f7eac2980efe7c54b3fc3a7c321ae7e20adbb3995'
+
'f61f46705607eb39897fd3b27353fb233acd9da5e00a2b64d63116f74b889f2daafa72d48ed7c5ec1890e32d81331f91455861f2cb3fad3d13b7d27ec203357a'
+
'cf6ec335782032fb0703a3042c0222316cd215eba2be242e65d4f1ae23d886177620c96cc63c1aace43a72c1d6258a88612c1ffd5ef0e43675729bae39969fa1')
+
+prepare() {
+  cd "${pkgname[0]}-${pkgver}"
+  # requires out-of-tree build
+  mkdir bld
+}
+
+build() {
+  cd "${pkgname[0]}-${pkgver}/bld"
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+   -DJAVA_MODULE_INSTALL_DIR=/usr/lib/csound/java \
+   -DBUILD_FAUST_OPCODES=1 \
+   -DFAUST_LIBRARY=/usr/lib/libfaust.a \
+   -DLUA_MODULE_INSTALL_DIR=/usr/lib/lua/5.1/ \
+   -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+   -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+   -DPYTHON_MODULE_INSTALL_DIR=/usr/lib/python2.7/site-packages
+  make
+}
+
+package_csound() {
+  depends=('curl' 'fltk' 'fluidsynth' 'hdf5' 'liblo' 'luajit' 'portaudio' 
'portmidi' 'python2' 'stk' 'tk')
+  optdepends=('csound-doc: The canonical Csound Reference Manual'
+  'csoundqt: Qt frontend'
+  'faust: embed faust'
+  'java-environment: Java Wrapper')
+  cd "${pkgname}-${pkgver}/bld"
+  make DESTDIR="${pkgdir}/" install
+
+  # export vars in profile.d
+  install -vDm755 "${srcdir}/${pkgname[0]}.sh" \
+"${pkgdir}/etc/profile.d/${pkgname[0]}.sh"
+}
+
+package_csound-doc() {
+  license=('LGPL' 'GPL')
+  install -vDm644 Csound${pkgver}_manual.pdf \
+"${pkgdir}/usr/share/doc/${pkgbase}/${pkgbase}-manual.pdf"
+
+  install -dv "${pkgdir}/usr/share/doc/${pkgbase}/html"
+  cp -av "${srcdir}"/html/* "${pkgdir}/usr/share/doc/${pkgbase}/html"
+  # fix file permissions
+  find "${pkgdir}" -type f -exec chmod -c 644 {} \;
+}
+
+# vim:set ts=2 sw=2 et:

Copied: csound/repos/community-x86_64/csound.sh (from rev 293322, 
csound/trunk/csound.sh)
===
--- community-x86_64/csound.sh  (rev 0)
+++ community-x86_64/csound.sh  2018-02-12 16:05:32 UTC (rev 293323)
@@ -0,0 +1,3 @@
+export OPCODE6DIR=/usr/lib/csound/plugins64
+export CSSTRNGS=/usr/share/locale
+export RAWWAVE_PATH=/usr/lib/stk/rawwaves


[arch-commits] Commit in csound/repos (3 files)

2018-01-26 Thread David Runge via arch-commits
Date: Friday, January 26, 2018 @ 13:17:07
  Author: dvzrv
Revision: 287140

archrelease: copy trunk to community-testing-x86_64

Added:
  csound/repos/community-testing-x86_64/
  csound/repos/community-testing-x86_64/PKGBUILD
(from rev 287139, csound/trunk/PKGBUILD)
  csound/repos/community-testing-x86_64/csound.sh
(from rev 287139, csound/trunk/csound.sh)

---+
 PKGBUILD  |   51 +++
 csound.sh |3 +++
 2 files changed, 54 insertions(+)

Copied: csound/repos/community-testing-x86_64/PKGBUILD (from rev 287139, 
csound/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-01-26 13:17:07 UTC (rev 287140)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgname=csound
+pkgver=6.10.0
+pkgrel=3
+pkgdesc="A programming language for sound rendering and signal processing."
+arch=('x86_64')
+url="http://csound.com;
+license=('LGPL')
+depends=('curl' 'fltk' 'fluidsynth' 'hdf5' 'liblo' 'luajit' 'portaudio' 
'portmidi' 'python2' 'stk' 'tk')
+# add faust (after fix), gmm (after fix), wiiuse and
+makedepends=('boost' 'cmake' 'dssi' 'eigen' 'java-environment' 'ladspa' 
'luajit' 'pd' 'swig')
+# add {neovim,vim}-csound once there's a tagged release
+optdepends=('csound-doc: The canonical Csound Reference Manual'
+'csoundqt: Qt frontend'
+'java-environment: Java Wrapper')
+source=("https://github.com/csound/csound/archive/${pkgver}.tar.gz;
+"csound.sh")
+sha512sums=('1ccf0a2d5273da016ec585e788e4af0b91f55c3be081a51c53dc39b0fbcfba0cf1308828784a1e5dfc39250dedbd3f4b48afbb5c4140c11fd469ca6753702ed4'
+
'26e92e7168961686b3d89e9d552f4b086922469f7fc3e8b4b967d32bb7e41fddf014fd52a0aef30f229db57f7eac2980efe7c54b3fc3a7c321ae7e20adbb3995')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # requires out-of-tree build
+  [ -d bld ] || mkdir bld
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/bld"
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+   -DJAVA_MODULE_INSTALL_DIR=/usr/lib/csound/java \
+   -DLUA_MODULE_INSTALL_DIR=/usr/lib/lua/5.1/ \
+   -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+   -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+   -DPYTHON_MODULE_INSTALL_DIR=/usr/lib/python2.7/site-packages
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}/bld"
+  make DESTDIR="${pkgdir}/" install
+
+  # export vars in profile.d
+  install -Dm755 "${srcdir}/${pkgname}.sh" \
+"${pkgdir}/etc/profile.d/${pkgname}.sh"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: csound/repos/community-testing-x86_64/csound.sh (from rev 287139, 
csound/trunk/csound.sh)
===
--- community-testing-x86_64/csound.sh  (rev 0)
+++ community-testing-x86_64/csound.sh  2018-01-26 13:17:07 UTC (rev 287140)
@@ -0,0 +1,3 @@
+export OPCODE6DIR=/usr/lib/csound/plugins64
+export CSSTRNGS=/usr/share/locale
+export RAWWAVE_PATH=/usr/lib/stk/rawwaves