[arch-commits] Commit in csound/repos/community-x86_64 (6 files)

David Runge dvzrv at archlinux.org
Thu Aug 2 22:53:30 UTC 2018


    Date: Thursday, August 2, 2018 @ 22:53:30
  Author: dvzrv
Revision: 367473

archrelease: copy trunk to community-x86_64

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

-----------------------------------+
 PKGBUILD                          |  178 ++++++++++++++++++------------------
 csound.sh                         |    6 -
 fix-compiler-flag-overrides.patch |   28 ++---
 3 files changed, 106 insertions(+), 106 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-02 22:53:23 UTC (rev 367472)
+++ PKGBUILD	2018-08-02 22:53:30 UTC (rev 367473)
@@ -1,89 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Ainola
-# Contributor: speps
-# Contributor: Bernardo Barros
-
-pkgbase=csound
-pkgname=('csound' 'csound-doc')
-pkgver=6.11.0
-pkgrel=4
-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=('5e75c3c2ecbc02f5f190280682d60540d4181bd333592bcecfb34efdd725e6c841379706d30d5666e0deed575c5b8de9f1ae84a78dfb213480b149904313ef65'
-            '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" \
-    "${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-x86_64/PKGBUILD (from rev 367472, csound/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-02 22:53:30 UTC (rev 367473)
@@ -0,0 +1,89 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+
+pkgbase=csound
+pkgname=('csound' 'csound-doc')
+pkgver=6.11.0
+pkgrel=5
+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" \
+    "${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:

Deleted: csound.sh
===================================================================
--- csound.sh	2018-08-02 22:53:23 UTC (rev 367472)
+++ csound.sh	2018-08-02 22:53:30 UTC (rev 367473)
@@ -1,3 +0,0 @@
-export OPCODE6DIR=/usr/lib/csound/plugins64
-export CSSTRNGS=/usr/share/locale
-export RAWWAVE_PATH=/usr/lib/stk/rawwaves

Copied: csound/repos/community-x86_64/csound.sh (from rev 367472, csound/trunk/csound.sh)
===================================================================
--- csound.sh	                        (rev 0)
+++ csound.sh	2018-08-02 22:53:30 UTC (rev 367473)
@@ -0,0 +1,3 @@
+export OPCODE6DIR=/usr/lib/csound/plugins64
+export CSSTRNGS=/usr/share/locale
+export RAWWAVE_PATH=/usr/lib/stk/rawwaves

Deleted: fix-compiler-flag-overrides.patch
===================================================================
--- fix-compiler-flag-overrides.patch	2018-08-02 22:53:23 UTC (rev 367472)
+++ fix-compiler-flag-overrides.patch	2018-08-02 22:53:30 UTC (rev 367473)
@@ -1,14 +0,0 @@
-diff -ruN csound-6.11.0-a/CMakeLists.txt csound-6.11.0-b/CMakeLists.txt
---- csound-6.11.0-a/CMakeLists.txt	2018-05-10 10:31:20.000000000 +0200
-+++ csound-6.11.0-b/CMakeLists.txt	2018-05-17 20:40:50.659122644 +0200
-@@ -15,8 +15,8 @@
- if(NOT MSVC AND NOT WASM)
- set(CMAKE_CXX_FLAGS_RELEASE "-O3 ")
- set(CMAKE_C_FLAGS_RELEASE "-O3 ")
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}  -Wall -Werror -Wno-missing-field-initializers")
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wno-missing-field-initializers")
-+set(CMAKE_CXX_FLAGS " -Wall -Werror -Wno-missing-field-initializers ${CMAKE_CXX_FLAGS}")
-+set(CMAKE_C_FLAGS " -Wall -Werror -Wno-missing-field-initializers ${CMAKE_C_FLAGS}")
- endif()
- 
- # C++11 needed

Copied: csound/repos/community-x86_64/fix-compiler-flag-overrides.patch (from rev 367472, csound/trunk/fix-compiler-flag-overrides.patch)
===================================================================
--- fix-compiler-flag-overrides.patch	                        (rev 0)
+++ fix-compiler-flag-overrides.patch	2018-08-02 22:53:30 UTC (rev 367473)
@@ -0,0 +1,14 @@
+diff -ruN csound-6.11.0-a/CMakeLists.txt csound-6.11.0-b/CMakeLists.txt
+--- csound-6.11.0-a/CMakeLists.txt	2018-05-10 10:31:20.000000000 +0200
++++ csound-6.11.0-b/CMakeLists.txt	2018-05-17 20:40:50.659122644 +0200
+@@ -15,8 +15,8 @@
+ if(NOT MSVC AND NOT WASM)
+ set(CMAKE_CXX_FLAGS_RELEASE "-O3 ")
+ set(CMAKE_C_FLAGS_RELEASE "-O3 ")
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}  -Wall -Werror -Wno-missing-field-initializers")
+-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wno-missing-field-initializers")
++set(CMAKE_CXX_FLAGS " -Wall -Werror -Wno-missing-field-initializers ${CMAKE_CXX_FLAGS}")
++set(CMAKE_C_FLAGS " -Wall -Werror -Wno-missing-field-initializers ${CMAKE_C_FLAGS}")
+ endif()
+ 
+ # C++11 needed



More information about the arch-commits mailing list