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

David Runge dvzrv at archlinux.org
Fri Aug 31 17:28:55 UTC 2018


    Date: Friday, August 31, 2018 @ 17:28:55
  Author: dvzrv
Revision: 375884

upgpkg: sonic-visualiser 3.1.1-2

Rebuilding against capnproto 0.7.0, explicitely using c++14.

Modified:
  sonic-visualiser/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-31 16:36:33 UTC (rev 375883)
+++ PKGBUILD	2018-08-31 17:28:55 UTC (rev 375884)
@@ -6,7 +6,7 @@
 _download_id=2391
 pkgname=sonic-visualiser
 pkgver=3.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A viewer and analyser of music audio files."
 arch=('x86_64')
 url="https://www.sonicvisualiser.org/"
@@ -18,6 +18,17 @@
 source=("https://code.soundsoftware.ac.uk/attachments/download/${_download_id}/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('e83efffb62179e67a0e5fd7352f63f5a0210102a7fb38c5ad486479a3749f68a44fec2d1843d1c1ca826ba0004bf421811a270a0a50e3f89f71d956dc7a76ae7')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # build using c++14: https://sourceforge.net/p/sv1/bugs/261/
+  sed -e 's/c++11/c++14/g' -i *.pr* configure.ac* svcore/svcore.pro \
+  svapp/svapp.pro checker/*.pr* svgui/svgui.pro {bqaudioio,piper-cpp}/Makefile \
+  piper-cpp/vamp-client/qt/test.pro piper-cpp/ext/json11/Makefile \
+  dataquay/{lib.pro,tests/tests.pro}
+
+  autoreconf -vfi
+}
+
 build() {
   cd "${pkgname}-${pkgver}"
   # DESTDIR still ignored



More information about the arch-commits mailing list