void-packages/srcpkgs/sonic-visualiser/template
2021-12-23 01:16:31 -03:00

27 lines
1.1 KiB
Bash

# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
version=4.4
revision=2
build_style=meson
hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
speex-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://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
checksum=762d95cfceff5f2ba31bb632596f6c822ca5b4ee21f3e3615add20bfc24ae16e
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_extract() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
vsed -i "s/^general_link_args = \[\]/general_link_args = \['-latomic'\]/" meson.build
fi
}