28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'sonic-visualiser'
|
|
pkgname=sonic-visualiser
|
|
version=4.5.1
|
|
revision=1
|
|
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=59ab88682590b3bdfd230248a2b0c2372987fff9dabf1b1b1d4095014625efe9
|
|
|
|
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
|
|
}
|