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

David Runge dvzrv at archlinux.org
Sat Apr 11 21:55:15 UTC 2020


    Date: Saturday, April 11, 2020 @ 21:55:15
  Author: dvzrv
Revision: 613368

upgpkg: csound 6.14.0-3: Rebuilding against hdf5 1.12.0.

Adding upstreamed patch to fix API breaking changes in the hdf5 opcode.

Modified:
  csound/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-11 21:44:37 UTC (rev 613367)
+++ PKGBUILD	2020-04-11 21:55:15 UTC (rev 613368)
@@ -6,7 +6,7 @@
 pkgbase=csound
 pkgname=('csound' 'csound-doc')
 pkgver=6.14.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A programming language for sound rendering and signal processing."
 arch=('x86_64')
 url="https://csound.com"
@@ -19,10 +19,12 @@
 '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')
@@ -30,6 +32,10 @@
 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() {



More information about the arch-commits mailing list