void-packages/srcpkgs/cadence/template

25 lines
910 B
Bash

# Template file for 'cadence'
pkgname=cadence
version=0.9.0
revision=2
wrksrc="Cadence-${version}"
build_style=gnu-makefile
pycompile_version="$py3_ver"
pycompile_dirs="usr/share/cadence/src"
hostmakedepends="pkg-config qt5-host-tools python3-PyQt5-devel-tools"
makedepends="jack-devel ladish-devel pulseaudio-devel qt5-devel"
depends="a2jmidid desktop-file-utils hicolor-icon-theme jack python3-PyQt5-dbus
python3-PyQt5-svg"
short_desc="Set of tools useful for audio production"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-2.0-only"
homepage="http://kxstudio.linuxaudio.org/Applications:Cadence"
distfiles="https://github.com/falkTX/Cadence/archive/v${version}.tar.gz"
checksum=ebe37879793dc23afacda164ae5eca9b6e7b4d40fcad30e2588dd60596ade11f
post_extract() {
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) sed -i -e 's/-mtune=generic -msse -mfpmath=sse//' c++/Makefile.mk ;;
esac
}