28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'sonic-visualiser'
|
|
pkgname=sonic-visualiser
|
|
version=4.5
|
|
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=c57b8277b51e7b0accdc6c3b5a575d3961b43ed9e5e0661e053a6ac388ab82a3
|
|
|
|
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
|
|
}
|