[arch-commits] Commit in sonic-visualiser/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Jul 18 08:44:19 UTC 2018
Date: Wednesday, July 18, 2018 @ 08:44:19
Author: dvzrv
Revision: 361806
archrelease: copy trunk to community-x86_64
Added:
sonic-visualiser/repos/community-x86_64/PKGBUILD
(from rev 361805, sonic-visualiser/trunk/PKGBUILD)
Deleted:
sonic-visualiser/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 61 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-18 08:44:12 UTC (rev 361805)
+++ PKGBUILD 2018-07-18 08:44:19 UTC (rev 361806)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: Orivej Desh <masecretaire at gmx.fr>
-
-pkgname=sonic-visualiser
-pkgver=3.0.3
-pkgrel=3
-pkgdesc="A viewer and analyser of music audio files."
-arch=('x86_64')
-url="https://www.sonicvisualiser.org/"
-license=('GPL2')
-groups=('pro-audio')
-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')
-
-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
- make
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
-
- # 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 \
- "${pkgdir}/usr/bin/piper-vamp-simple-server"
- install -vDm755 vamp-plugin-load-checker \
- "${pkgdir}/usr/bin/vamp-plugin-load-checker"
-
- # desktop files
- install -t "${pkgdir}/usr/share/applications" -vDm644 *.desktop
-
- # icons
- for _s in 16 22 24 32 48 64 128; do
- install -vDm644 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 \
- "${pkgdir}/usr/share/icons/hicolor/scalable/apps/sv-icon.svg"
-
- # samples
- install -t "${pkgdir}/usr/share/${pkgname}/samples" -vDm644 samples/*
-
- # templates
- install -t "${pkgdir}/usr/share/${pkgname}/templates" -vDm644 templates/*
-
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm644 {CHANGELOG,CITATION,README}
-}
Copied: sonic-visualiser/repos/community-x86_64/PKGBUILD (from rev 361805, sonic-visualiser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-18 08:44:19 UTC (rev 361806)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Orivej Desh <masecretaire at gmx.fr>
+
+_download_id=2381
+pkgname=sonic-visualiser
+pkgver=3.1
+pkgrel=1
+pkgdesc="A viewer and analyser of music audio files."
+arch=('x86_64')
+url="https://www.sonicvisualiser.org/"
+license=('GPL2')
+groups=('pro-audio')
+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/${_download_id}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('dc44e101d0ffbe858ff43dbd32eed8edea9fcfee166c7a13b08da7059fcd24f434814a73e78f5ded5d3adbf1420c1d448c3bf891525048424ac9213e0801b998')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+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 -vDm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -vDm 755 piper-vamp-simple-server \
+ "${pkgdir}/usr/bin/piper-vamp-simple-server"
+ install -vDm 755 vamp-plugin-load-checker \
+ "${pkgdir}/usr/bin/vamp-plugin-load-checker"
+
+ # desktop files
+ install -t "${pkgdir}/usr/share/applications/" -vDm 644 *.desktop
+
+ # icons
+ for _s in 16 22 24 32 48 64 128; do
+ install -vDm 644 icons/sv-${_s}x${_s}.png \
+ "${pkgdir}/usr/share/icons/hicolor/${_s}x${_s}/apps/sv-icon.png"
+ done
+ 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" -vDm 644 samples/*
+
+ # templates
+ install -t "${pkgdir}/usr/share/${pkgname}/templates" -vDm 644 templates/*
+
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm 644 {CHANGELOG,CITATION,README.{md,OSC}}
+}
More information about the arch-commits
mailing list