48 lines
1.6 KiB
Bash
48 lines
1.6 KiB
Bash
# Template file for 'sonic-visualiser'
|
||
pkgname=sonic-visualiser
|
||
version=3.1.1
|
||
revision=1
|
||
build_style=gnu-configure
|
||
hostmakedepends="pkg-config capnproto-devel"
|
||
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
|
||
liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
|
||
portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel sord-devel
|
||
vamp-plugin-sdk-devel"
|
||
short_desc="Viewing and analysing the contents of music audio files"
|
||
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
||
license="GPL-2.0-or-later"
|
||
homepage="https://www.sonicvisualiser.org/"
|
||
changelog="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/repository/entry/CHANGELOG"
|
||
distfiles="https://code.soundsoftware.ac.uk/attachments/download/2391/${pkgname}-${version}.tar.gz"
|
||
checksum=d02a0d8c8efc44810b7078311f02d23909b433c50179c0aec55117cde373d0c1
|
||
|
||
if [ -n "$CROSS_BUILD" ]; then
|
||
hostmakedepends+=" qt5-qmake qt5-svg-devel"
|
||
fi
|
||
|
||
post_extract() {
|
||
# don’t run target-built testing-binaries when cross building
|
||
if [ -n "$CROSS_BUILD" ]; then
|
||
sed -i -e '/QMAKE_POST_LINK/d' \
|
||
test-svcore-base.pro \
|
||
test-svcore-data-fileio.pro \
|
||
test-svcore-data-model.pro \
|
||
test-svcore-system.pro
|
||
fi
|
||
}
|
||
|
||
do_install() {
|
||
vbin sonic-visualiser
|
||
vbin piper-vamp-simple-server
|
||
vbin vamp-plugin-load-checker
|
||
vlicense COPYING
|
||
vlicense deploy/linux/doc/sonic-visualiser/copyright
|
||
vdoc README.md
|
||
vdoc README.OSC
|
||
vdoc CITATION
|
||
vinstall icons/sv-icon.svg 644 usr/share/pixmaps
|
||
vinstall icons/sv-icon-light.svg 644 usr/share/pixmaps
|
||
vinstall deploy/linux/deb-skeleton/usr/share/applications/sonic-visualiser.desktop 644 usr/share/applications
|
||
}
|
||
|