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

2019-04-18 Thread David Runge via arch-commits
Date: Thursday, April 18, 2019 @ 20:40:14
  Author: dvzrv
Revision: 452001

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   91 
 csound.sh |3 +
 fluidsynth2.patch |   59 +
 3 files changed, 153 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 452000, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-18 20:40:14 UTC (rev 452001)
@@ -0,0 +1,91 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.12.2
+pkgrel=7
+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
+# 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'
+'wiiuse')
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz;
+"${pkgbase}.sh"
+"fluidsynth2.patch"
+
"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;
+"fluidsynth2.patch")
+sha512sums=('e00a1f74e38cc5edadcaa4ea2a38a79a010be21008cad091b46c79ed18242a925ab9279fc049b4e82f6944e4d6e815787b7f847b08ae3bba9bde60570aa96f58'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'bf762db1079dde5b62f2bfe8ba649ac9e719b6ada535f3d67d048213133aeecb3caa3cb1e5bbf26fe78e4b1882e08be9bbea701bd49c914bfbf8d3ab7d83013b'
+
'eb287b9070c16d6cfbd890532d97eda34d72d8b5e5548a1a55ed7de91b2b913e04426cd50c94d0ac84221396002421077a5d22b3b67ce634c34a9aa1ceb53d9d'
+
'881bbdae5ab7fceb28199084173492eb8cc6477e72100739599e9d1448c607062efd1390b5cb19e03aeeae9c58eb608b61f36853dddb4d9141b86da31d00bc45'
+
'bf762db1079dde5b62f2bfe8ba649ac9e719b6ada535f3d67d048213133aeecb3caa3cb1e5bbf26fe78e4b1882e08be9bbea701bd49c914bfbf8d3ab7d83013b')
+
+prepare() {
+  cd "${pkgbase}-${pkgver}"
+  patch -Np1 -i ../fluidsynth2.patch
+  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' 'wiiuse')
+  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 

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

2019-04-07 Thread David Runge via arch-commits
Date: Sunday, April 7, 2019 @ 14:53:10
  Author: dvzrv
Revision: 450297

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   91 
 csound.sh |3 +
 fluidsynth2.patch |   59 +
 3 files changed, 153 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 450296, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-07 14:53:10 UTC (rev 450297)
@@ -0,0 +1,91 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.12.2
+pkgrel=6
+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
+# 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'
+'wiiuse')
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz;
+"${pkgbase}.sh"
+"fluidsynth2.patch"
+
"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;
+"fluidsynth2.patch")
+sha512sums=('e00a1f74e38cc5edadcaa4ea2a38a79a010be21008cad091b46c79ed18242a925ab9279fc049b4e82f6944e4d6e815787b7f847b08ae3bba9bde60570aa96f58'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'bf762db1079dde5b62f2bfe8ba649ac9e719b6ada535f3d67d048213133aeecb3caa3cb1e5bbf26fe78e4b1882e08be9bbea701bd49c914bfbf8d3ab7d83013b'
+
'eb287b9070c16d6cfbd890532d97eda34d72d8b5e5548a1a55ed7de91b2b913e04426cd50c94d0ac84221396002421077a5d22b3b67ce634c34a9aa1ceb53d9d'
+
'881bbdae5ab7fceb28199084173492eb8cc6477e72100739599e9d1448c607062efd1390b5cb19e03aeeae9c58eb608b61f36853dddb4d9141b86da31d00bc45'
+
'bf762db1079dde5b62f2bfe8ba649ac9e719b6ada535f3d67d048213133aeecb3caa3cb1e5bbf26fe78e4b1882e08be9bbea701bd49c914bfbf8d3ab7d83013b')
+
+prepare() {
+  cd "${pkgbase}-${pkgver}"
+  patch -Np1 -i ../fluidsynth2.patch
+  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' 'wiiuse')
+  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:


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

2019-03-18 Thread David Runge via arch-commits
Date: Tuesday, March 19, 2019 @ 00:11:16
  Author: dvzrv
Revision: 442524

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   91 
 csound.sh |3 +
 fluidsynth2.patch |   59 +
 3 files changed, 153 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 442523, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-19 00:11:16 UTC (rev 442524)
@@ -0,0 +1,91 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.12.2
+pkgrel=5
+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
+# 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'
+'wiiuse')
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz;
+"${pkgbase}.sh"
+"fluidsynth2.patch"
+
"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;
+"fluidsynth2.patch")
+sha512sums=('e00a1f74e38cc5edadcaa4ea2a38a79a010be21008cad091b46c79ed18242a925ab9279fc049b4e82f6944e4d6e815787b7f847b08ae3bba9bde60570aa96f58'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'bf762db1079dde5b62f2bfe8ba649ac9e719b6ada535f3d67d048213133aeecb3caa3cb1e5bbf26fe78e4b1882e08be9bbea701bd49c914bfbf8d3ab7d83013b'
+
'eb287b9070c16d6cfbd890532d97eda34d72d8b5e5548a1a55ed7de91b2b913e04426cd50c94d0ac84221396002421077a5d22b3b67ce634c34a9aa1ceb53d9d'
+
'881bbdae5ab7fceb28199084173492eb8cc6477e72100739599e9d1448c607062efd1390b5cb19e03aeeae9c58eb608b61f36853dddb4d9141b86da31d00bc45'
+
'bf762db1079dde5b62f2bfe8ba649ac9e719b6ada535f3d67d048213133aeecb3caa3cb1e5bbf26fe78e4b1882e08be9bbea701bd49c914bfbf8d3ab7d83013b')
+
+prepare() {
+  cd "${pkgbase}-${pkgver}"
+  patch -Np1 -i ../fluidsynth2.patch
+  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' 'wiiuse')
+  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 

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

2019-02-16 Thread Brett Cornwall via arch-commits
Date: Sunday, February 17, 2019 @ 00:23:51
  Author: ainola
Revision: 433985

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   91 
 csound.sh |3 +
 fluidsynth2.patch |   73 +
 3 files changed, 167 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 433984, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-17 00:23:51 UTC (rev 433985)
@@ -0,0 +1,91 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.12.2
+pkgrel=3
+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;
+"fluidsynth2.patch")
+sha512sums=('e00a1f74e38cc5edadcaa4ea2a38a79a010be21008cad091b46c79ed18242a925ab9279fc049b4e82f6944e4d6e815787b7f847b08ae3bba9bde60570aa96f58'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'eb287b9070c16d6cfbd890532d97eda34d72d8b5e5548a1a55ed7de91b2b913e04426cd50c94d0ac84221396002421077a5d22b3b67ce634c34a9aa1ceb53d9d'
+
'881bbdae5ab7fceb28199084173492eb8cc6477e72100739599e9d1448c607062efd1390b5cb19e03aeeae9c58eb608b61f36853dddb4d9141b86da31d00bc45'
+
'11e9350a5578dfb294fe90dcfbf9db28d62010dd88cc4b91a4254c3080bd49bf03d0b95d210ad5e3741e45505f0cb2f0081b78131743a8b77d3bca6a3076620c')
+
+prepare() {
+  cd "${pkgbase}-${pkgver}"
+  # requires out-of-tree build
+  mkdir build
+
+  # Until Fluidsynth 2 support is included in an official release
+  patch -p1 < ../fluidsynth2.patch
+}
+
+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:


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

2018-10-23 Thread David Runge via arch-commits
Date: Tuesday, October 23, 2018 @ 20:02:41
  Author: dvzrv
Revision: 398721

archrelease: copy trunk to community-staging-x86_64

Added:
  csound/repos/community-staging-x86_64/
  csound/repos/community-staging-x86_64/PKGBUILD
(from rev 398720, csound/trunk/PKGBUILD)
  csound/repos/community-staging-x86_64/csound.sh
(from rev 398720, csound/trunk/csound.sh)
  csound/repos/community-staging-x86_64/fix-compiler-flag-overrides.patch
(from rev 398720, csound/trunk/fix-compiler-flag-overrides.patch)

---+
 PKGBUILD  |   89 
 csound.sh |3 +
 fix-compiler-flag-overrides.patch |   14 +
 3 files changed, 106 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 398720, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-23 20:02:41 UTC (rev 398721)
@@ -0,0 +1,89 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.11.0
+pkgrel=9
+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' 'git'
+'hdf5' 'java-environment' 'ladspa' 'libwebsockets' 'llvm' 'luajit' 'pd'
+'portmidi' 'portsmf' 'python2' 'stk' 'swig')
+source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/csound/csound/archive/${pkgver}.tar.gz;
+"${pkgname[0]}.sh"
+"fix-compiler-flag-overrides.patch"
+
"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=('0261a9ed83d1545c4a29ab1e64dfe6ee72b3c4529b8c2107b81d6753a3fd76614aca12d59fc6d59b5cc093be4f631e41fdb3d57121bc4eeb67d6ca44c3ad01ad'
+
'53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc'
+
'67a67dd7718da8e88f7c92f18ce1136372044d40c3a9ef86bdaed5c8172e225aa03448ec656da22d60fe9edfc0f6b10f337b02b96505f2e8c0815ef1b8b6a084'
+
'c40fe88be3c101d84c473225183ccf02978113e24ad49d67945a1113012c39f590a7d51aeba939c4c43c691763b155a8f203ea993004f9d67d887f7ddce977d5'
+
'c2ed8c9e44c50df7a82c3f10d117007795a38d6d7d5b364240b3def75a5469111d2e1c0ab059825233c765fa7ceb1c876f4439045b6d88bd0060b56343fb7c81')
+
+prepare() {
+  cd "${pkgname[0]}-${pkgver}"
+  # problems compiler flags overrides: 
https://github.com/csound/csound/issues/960
+  patch -Np1 -i "${srcdir}/fix-compiler-flag-overrides.patch"
+  # requires out-of-tree build
+  mkdir bld
+}
+
+build() {
+  cd "${pkgname[0]}-${pkgver}/bld"
+  cmake .. -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_CXX_FLAGS="-Wno-error -Wno-missing-field-initializers" \
+   -DCMAKE_C_FLAGS="-Wno-error -Wno-missing-field-initializers" \
+   
-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 \
+   -DBUILD_FAUST_OPCODES=1 \
+   -DFAUST_LIBRARY=/usr/lib/libfaust.a \
+   -DLUAJIT_LIBRARY=/usr/lib/libluajit-5.1.so \
+   -DLUA_H_PATH=/usr/include/luajit-2.0/ \
+   -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() {
+  groups=('pro-audio')
+  depends=('fluidsynth' 'git' 'hdf5' 'liblo' 'libwebsockets' 'luajit'
+  'portmidi' 'portsmf' 'stk' 'tk')
+  optdepends=('csound-doc: The canonical Csound Reference Manual'
+  'csoundqt: Qt frontend'
+  'fltk: fltk GUIs'
+  'faust: Embed faust'
+  'java-environment: Use csound with Java'
+  'python2: python opcodes'
+  'vim-csound: Use csound with vim')
+  cd "${pkgname}-${pkgver}/bld"
+  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" \
+

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

2018-09-20 Thread David Runge via arch-commits
Date: Thursday, September 20, 2018 @ 19:55:11
  Author: dvzrv
Revision: 383791

archrelease: copy trunk to community-staging-x86_64

Added:
  csound/repos/community-staging-x86_64/
  csound/repos/community-staging-x86_64/PKGBUILD
(from rev 383790, csound/trunk/PKGBUILD)
  csound/repos/community-staging-x86_64/csound.sh
(from rev 383790, csound/trunk/csound.sh)
  csound/repos/community-staging-x86_64/fix-compiler-flag-overrides.patch
(from rev 383790, csound/trunk/fix-compiler-flag-overrides.patch)

---+
 PKGBUILD  |   89 
 csound.sh |3 +
 fix-compiler-flag-overrides.patch |   14 +
 3 files changed, 106 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 383790, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-20 19:55:11 UTC (rev 383791)
@@ -0,0 +1,89 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.11.0
+pkgrel=7
+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' 'git'
+'hdf5' 'java-environment' 'ladspa' 'libwebsockets' 'llvm' 'luajit' 'pd'
+'portmidi' 'portsmf' 'python2' 'stk' 'swig')
+source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/csound/csound/archive/${pkgver}.tar.gz;
+"${pkgname[0]}.sh"
+"fix-compiler-flag-overrides.patch"
+
"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=('0261a9ed83d1545c4a29ab1e64dfe6ee72b3c4529b8c2107b81d6753a3fd76614aca12d59fc6d59b5cc093be4f631e41fdb3d57121bc4eeb67d6ca44c3ad01ad'
+
'26e92e7168961686b3d89e9d552f4b086922469f7fc3e8b4b967d32bb7e41fddf014fd52a0aef30f229db57f7eac2980efe7c54b3fc3a7c321ae7e20adbb3995'
+
'67a67dd7718da8e88f7c92f18ce1136372044d40c3a9ef86bdaed5c8172e225aa03448ec656da22d60fe9edfc0f6b10f337b02b96505f2e8c0815ef1b8b6a084'
+
'c40fe88be3c101d84c473225183ccf02978113e24ad49d67945a1113012c39f590a7d51aeba939c4c43c691763b155a8f203ea993004f9d67d887f7ddce977d5'
+
'c2ed8c9e44c50df7a82c3f10d117007795a38d6d7d5b364240b3def75a5469111d2e1c0ab059825233c765fa7ceb1c876f4439045b6d88bd0060b56343fb7c81')
+
+prepare() {
+  cd "${pkgname[0]}-${pkgver}"
+  # problems compiler flags overrides: 
https://github.com/csound/csound/issues/960
+  patch -Np1 -i "${srcdir}/fix-compiler-flag-overrides.patch"
+  # requires out-of-tree build
+  mkdir bld
+}
+
+build() {
+  cd "${pkgname[0]}-${pkgver}/bld"
+  cmake .. -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_CXX_FLAGS="-Wno-error -Wno-missing-field-initializers" \
+   -DCMAKE_C_FLAGS="-Wno-error -Wno-missing-field-initializers" \
+   
-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 \
+   -DBUILD_FAUST_OPCODES=1 \
+   -DFAUST_LIBRARY=/usr/lib/libfaust.a \
+   -DLUAJIT_LIBRARY=/usr/lib/libluajit-5.1.so \
+   -DLUA_H_PATH=/usr/include/luajit-2.0/ \
+   -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() {
+  groups=('pro-audio')
+  depends=('fluidsynth' 'git' 'hdf5' 'liblo' 'libwebsockets' 'luajit'
+  'portmidi' 'portsmf' 'stk' 'tk')
+  optdepends=('csound-doc: The canonical Csound Reference Manual'
+  'csoundqt: Qt frontend'
+  'fltk: fltk GUIs'
+  'faust: Embed faust'
+  'java-environment: Use csound with Java'
+  'python2: python opcodes'
+  'vim-csound: Use csound with vim')
+  cd "${pkgname}-${pkgver}/bld"
+  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" \
+

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

2018-08-24 Thread David Runge via arch-commits
Date: Friday, August 24, 2018 @ 10:33:03
  Author: dvzrv
Revision: 373665

archrelease: copy trunk to community-staging-x86_64

Added:
  csound/repos/community-staging-x86_64/
  csound/repos/community-staging-x86_64/PKGBUILD
(from rev 373664, csound/trunk/PKGBUILD)
  csound/repos/community-staging-x86_64/csound.sh
(from rev 373664, csound/trunk/csound.sh)
  csound/repos/community-staging-x86_64/fix-compiler-flag-overrides.patch
(from rev 373664, csound/trunk/fix-compiler-flag-overrides.patch)

---+
 PKGBUILD  |   89 
 csound.sh |3 +
 fix-compiler-flag-overrides.patch |   14 +
 3 files changed, 106 insertions(+)

Copied: csound/repos/community-staging-x86_64/PKGBUILD (from rev 373664, 
csound/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-24 10:33:03 UTC (rev 373665)
@@ -0,0 +1,89 @@
+# Maintainer: David Runge 
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.11.0
+pkgrel=6
+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' 'git'
+'hdf5' 'java-environment' 'ladspa' 'libwebsockets' 'llvm' 'luajit' 'pd'
+'portmidi' 'portsmf' 'python2' 'stk' 'swig')
+source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/csound/csound/archive/${pkgver}.tar.gz;
+"${pkgname[0]}.sh"
+"fix-compiler-flag-overrides.patch"
+
"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=('0261a9ed83d1545c4a29ab1e64dfe6ee72b3c4529b8c2107b81d6753a3fd76614aca12d59fc6d59b5cc093be4f631e41fdb3d57121bc4eeb67d6ca44c3ad01ad'
+
'26e92e7168961686b3d89e9d552f4b086922469f7fc3e8b4b967d32bb7e41fddf014fd52a0aef30f229db57f7eac2980efe7c54b3fc3a7c321ae7e20adbb3995'
+
'67a67dd7718da8e88f7c92f18ce1136372044d40c3a9ef86bdaed5c8172e225aa03448ec656da22d60fe9edfc0f6b10f337b02b96505f2e8c0815ef1b8b6a084'
+
'c40fe88be3c101d84c473225183ccf02978113e24ad49d67945a1113012c39f590a7d51aeba939c4c43c691763b155a8f203ea993004f9d67d887f7ddce977d5'
+
'c2ed8c9e44c50df7a82c3f10d117007795a38d6d7d5b364240b3def75a5469111d2e1c0ab059825233c765fa7ceb1c876f4439045b6d88bd0060b56343fb7c81')
+
+prepare() {
+  cd "${pkgname[0]}-${pkgver}"
+  # problems compiler flags overrides: 
https://github.com/csound/csound/issues/960
+  patch -Np1 -i "${srcdir}/fix-compiler-flag-overrides.patch"
+  # requires out-of-tree build
+  mkdir bld
+}
+
+build() {
+  cd "${pkgname[0]}-${pkgver}/bld"
+  cmake .. -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_CXX_FLAGS="-Wno-error -Wno-missing-field-initializers" \
+   -DCMAKE_C_FLAGS="-Wno-error -Wno-missing-field-initializers" \
+   
-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 \
+   -DBUILD_FAUST_OPCODES=1 \
+   -DFAUST_LIBRARY=/usr/lib/libfaust.a \
+   -DLUAJIT_LIBRARY=/usr/lib/libluajit-5.1.so \
+   -DLUA_H_PATH=/usr/include/luajit-2.0/ \
+   -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() {
+  groups=('pro-audio')
+  depends=('fluidsynth' 'git' 'hdf5' 'liblo' 'libwebsockets' 'luajit'
+  'portmidi' 'portsmf' 'stk' 'tk')
+  optdepends=('csound-doc: The canonical Csound Reference Manual'
+  'csoundqt: Qt frontend'
+  'fltk: fltk GUIs'
+  'faust: Embed faust'
+  'java-environment: Use csound with Java'
+  'python2: python opcodes'
+  'vim-csound: Use csound with vim')
+  cd "${pkgname}-${pkgver}/bld"
+  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" \
+