[arch-commits] Commit in sonic-visualiser/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Jan 24 19:29:38 UTC 2019
Date: Thursday, January 24, 2019 @ 19:29:37
Author: dvzrv
Revision: 427568
upgpkg: sonic-visualiser 3.2.1-1
Upgrading to 3.2.1. Devendoring rubberband. Removing unneeded call to qmake.
Modified:
sonic-visualiser/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-24 18:52:13 UTC (rev 427567)
+++ PKGBUILD 2019-01-24 19:29:37 UTC (rev 427568)
@@ -2,9 +2,9 @@
# Contributor: speps <speps at aur dot archlinux dot org>
# Contributor: Orivej Desh <masecretaire at gmx.fr>
-_download_id=2420
+_download_id=2434
pkgname=sonic-visualiser
-pkgver=3.2
+pkgver=3.2.1
pkgrel=1
pkgdesc="A viewer and analyser of music audio files."
arch=('x86_64')
@@ -15,10 +15,20 @@
'libid3tag' 'liblo' 'liblrdf' 'libmad' 'liboggz' 'libpulse' 'portaudio'
'qt5-svg' 'rubberband' 'sord')
source=("https://code.soundsoftware.ac.uk/attachments/download/${_download_id}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('213cf6bf871628560a9e89e58445e9ee9dfcc050c3c013b535e37ebff08c9952d03001d08d20cedd965539e49aae3bdc1df7e6edad585597638ea0071109b84f')
+sha512sums=('65a8d1ee41373d18bb2525b46b2a4b291071e2bca0edb6700cc9bd8f399926f6280ea961d7f5bfa74a0d9ea827b9be0b2a9054500d33eb6d4d67b72f5daa2583')
prepare() {
cd "${pkgname}-${pkgver}"
+ # devendoring of rubberband required:
+ # https://sourceforge.net/p/sv1/bugs/265/
+ rm -rf rubberband
+ sed -e '/rubberband/d' \
+ -e 's/vamp-plugin-sdk \\/vamp-plugin-sdk/' \
+ -i base.pri
+ sed -e '/rubberband/d' \
+ -e 's/PulseAudioIO.h \\/PulseAudioIO.h/' \
+ -e 's/SystemRecordSource.cpp \\/SystemRecordSource.cpp/' \
+ -i bq-files.pri
autoreconf -vfi
}
@@ -27,8 +37,8 @@
# DESTDIR still ignored
# https://sourceforge.net/p/sv1/bugs/254
export INSTALL_ROOT="${pkgdir}/"
+ export LIBS="$(pkgconf --libs rubberband) ${LIBS}"
./configure --prefix=/usr
- qmake-qt5 ${pkgname}.pro
make
}
More information about the arch-commits
mailing list