[arch-commits] Commit in csound/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Fri Nov 19 18:18:50 UTC 2021


    Date: Friday, November 19, 2021 @ 18:18:50
  Author: dvzrv
Revision: 1052785

upgpkg: csound 6.16.2-7: Rebuild against stk 4.6.2.

Simplify quoting in file.

Modified:
  csound/trunk/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 34 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-19 18:06:20 UTC (rev 1052784)
+++ PKGBUILD	2021-11-19 18:18:50 UTC (rev 1052785)
@@ -4,43 +4,43 @@
 # Contributor: Bernardo Barros
 
 pkgbase=csound
-pkgname=('csound' 'csound-doc')
+pkgname=(csound csound-doc)
 pkgver=6.16.2
 _manual_pkgver=6.16.0
-pkgrel=6
+pkgrel=7
 pkgdesc="A programming language for sound rendering and signal processing."
-arch=('x86_64')
+arch=(x86_64)
 url="https://csound.com"
-license=('LGPL2.1')
+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'
-  'cmake'
-  'doxygen'
-  'dssi'
-  'fluidsynth'
-  'hdf5'
-  'jack'
-  'java-environment'
-  'ladspa'
-  'libmusicxml'
-  'libsamplerate'
-  'libsndfile'
-  'libwebsockets'
-  'llvm'
-  'lua'
-  'openssl'
-  'portaudio'
-  'portmidi'
-  'portsmf'
-  'python'
-  'stk'
-  'strip-nondeterminism'
-  'swig'
-  'wiiuse'
+  alsa-lib
+  cmake
+  doxygen
+  dssi
+  fluidsynth
+  hdf5
+  jack
+  java-environment
+  ladspa
+  libmusicxml
+  libsamplerate
+  libsndfile
+  libwebsockets
+  llvm
+  lua
+  openssl
+  portaudio
+  portmidi
+  portsmf
+  python
+  stk
+  strip-nondeterminism
+  swig
+  wiiuse
 )
-checkdepends=('cunit')
+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/${_manual_pkgver}/Csound${_manual_pkgver}_manual_html.zip"
@@ -65,7 +65,7 @@
   # 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' \
+        -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" \
@@ -83,8 +83,8 @@
 }
 
 package_csound() {
-  groups=('pro-audio')
-  depends=('gcc-libs' 'glibc' 'libcurl.so' 'libsamplerate.so' 'libsndfile.so')
+  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'
               'csound-plugins: for extra opcodes not shipped with Csound'
@@ -107,7 +107,7 @@
               'python-numpy: For Csound Python bindings'
               'vim-csound: vim integration'
               'zlib: for libfaustcsound plugin')
-  provides=('libcsound64.so' 'libcsnd6.so')
+  provides=(libcsound64.so libcsnd6.so)
   cd "${pkgname}-${pkgver}"
   make VERBOSE=1 DESTDIR="${pkgdir}/" install -C build
 
@@ -125,7 +125,6 @@
 }
 
 package_csound-doc() {
-  license=('LGPL2.1' 'GPL')
   install -vDm 644 "${srcdir}/Csound${_manual_pkgver}_manual.pdf" \
     "${pkgdir}/usr/share/doc/${pkgname}/${pkgbase}-manual.pdf"
   install -dv "${pkgdir}/usr/share/doc/${pkgname}/html"



More information about the arch-commits mailing list