[arch-commits] Commit in sonic-visualiser/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Jul 18 08:44:12 UTC 2018
Date: Wednesday, July 18, 2018 @ 08:44:12
Author: dvzrv
Revision: 361805
upgpkg: sonic-visualiser 3.1-1
Upgrading to 3.1. Removing capnproto hotfix and unused autoreconf call.
Modified:
sonic-visualiser/trunk/PKGBUILD
----------+
PKGBUILD | 38 +++++++++++++++-----------------------
1 file changed, 15 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-18 08:07:37 UTC (rev 361804)
+++ PKGBUILD 2018-07-18 08:44:12 UTC (rev 361805)
@@ -3,9 +3,10 @@
# Contributor: speps <speps at aur dot archlinux dot org>
# Contributor: Orivej Desh <masecretaire at gmx.fr>
+_download_id=2381
pkgname=sonic-visualiser
-pkgver=3.0.3
-pkgrel=3
+pkgver=3.1
+pkgrel=1
pkgdesc="A viewer and analyser of music audio files."
arch=('x86_64')
url="https://www.sonicvisualiser.org/"
@@ -14,19 +15,9 @@
depends=('capnproto' 'libfishsound' 'libid3tag' 'liblo'
'liblrdf' 'libmad' 'liboggz' 'libpulse' 'portaudio' 'qt5-svg'
'rubberband' 'sord' 'hicolor-icon-theme')
-source=("https://code.soundsoftware.ac.uk/attachments/download/2246/${pkgname}-${pkgver}.tar.gz"
- "https://raw.githubusercontent.com/piper-audio/piper/02bafb5284eb20e4c8d96ac5fe5b697ed11f59a4/capnp/piper.capnp")
-sha512sums=('845cc92231f6c8eec24e4f583d1a736042ecfa73b7a7c401efb3d6e26050657851b1672043482ebc78dd19ded0e6aee6f930165e6410330eafaa08e0d4a50aa1'
- '43d3f20d7849cf5fe69933e1c57ef56f3a1fadada5a0c73a01628ae62b14ef40c2ee7c907063eb08ad7a267c71420b4385fccf1bd7b0ed9cacd7907d1dcc9f4d')
+source=("https://code.soundsoftware.ac.uk/attachments/download/${_download_id}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('dc44e101d0ffbe858ff43dbd32eed8edea9fcfee166c7a13b08da7059fcd24f434814a73e78f5ded5d3adbf1420c1d448c3bf891525048424ac9213e0801b998')
-prepare() {
- cd "${pkgname}-${pkgver}"
- # Fix capnproto use: https://sourceforge.net/p/sv1/bugs/239/
- cp "${srcdir}/piper.capnp" piper-cpp/vamp-capnp/piper.capnp
- capnp compile -oc++ piper-cpp/vamp-capnp/piper.capnp
- autoreconf -vi
-}
-
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
@@ -36,34 +27,35 @@
package() {
cd "${pkgname}-${pkgver}"
+ make install DESTDIR="${pkgdir}/"
# install everything separately, because build system is broken:
# https://sourceforge.net/p/sv1/bugs/247/
# binaries
- install -vDm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -vDm755 piper-vamp-simple-server \
+ install -vDm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -vDm 755 piper-vamp-simple-server \
"${pkgdir}/usr/bin/piper-vamp-simple-server"
- install -vDm755 vamp-plugin-load-checker \
+ install -vDm 755 vamp-plugin-load-checker \
"${pkgdir}/usr/bin/vamp-plugin-load-checker"
# desktop files
- install -t "${pkgdir}/usr/share/applications" -vDm644 *.desktop
+ install -t "${pkgdir}/usr/share/applications/" -vDm 644 *.desktop
# icons
for _s in 16 22 24 32 48 64 128; do
- install -vDm644 icons/sv-${_s}x${_s}.png \
+ install -vDm 644 icons/sv-${_s}x${_s}.png \
"${pkgdir}/usr/share/icons/hicolor/${_s}x${_s}/apps/sv-icon.png"
done
- install -vDm644 icons/sv-icon.svg \
+ install -vDm 644 icons/sv-icon.svg \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/sv-icon.svg"
# samples
- install -t "${pkgdir}/usr/share/${pkgname}/samples" -vDm644 samples/*
+ install -t "${pkgdir}/usr/share/${pkgname}/samples" -vDm 644 samples/*
# templates
- install -t "${pkgdir}/usr/share/${pkgname}/templates" -vDm644 templates/*
+ install -t "${pkgdir}/usr/share/${pkgname}/templates" -vDm 644 templates/*
# docs
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm644 {CHANGELOG,CITATION,README}
+ -vDm 644 {CHANGELOG,CITATION,README.{md,OSC}}
}
More information about the arch-commits
mailing list