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

David Runge dvzrv at archlinux.org
Sat Jul 28 22:28:46 UTC 2018


    Date: Saturday, July 28, 2018 @ 22:28:46
  Author: dvzrv
Revision: 363927

upgpkg: csound 6.11.0-4

Moving extract binary to csound-extract, because of name conflict with libextractor. Moving fltk and python2 to optdepends.

Modified:
  csound/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-28 22:19:54 UTC (rev 363926)
+++ PKGBUILD	2018-07-28 22:28:46 UTC (rev 363927)
@@ -6,7 +6,7 @@
 pkgbase=csound
 pkgname=('csound' 'csound-doc')
 pkgver=6.11.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A programming language for sound rendering and signal processing."
 arch=('x86_64')
 url="http://csound.com"
@@ -15,7 +15,7 @@
 # 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' 'stk' 'swig')
+'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"
@@ -56,12 +56,14 @@
 
 package_csound() {
   groups=('pro-audio')
-  depends=('fltk' 'fluidsynth' 'git' 'hdf5' 'liblo' 'libwebsockets' 'luajit'
+  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
@@ -68,6 +70,9 @@
 
   # 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() {



More information about the arch-commits mailing list