void-packages/srcpkgs/cadence/template

26 lines
882 B
Bash

# Template file for 'cadence'
pkgname=cadence
version=0.9.2
revision=1
wrksrc="Cadence-${version}"
build_style=gnu-makefile
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="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2.0-only"
homepage="https://kx.studio/Applications:Cadence"
distfiles="https://github.com/falkTX/Cadence/archive/v${version}.tar.gz"
checksum=a07fe845e55c1785d3e1a091b77efd3bb01a88648bd11215461f9fa6a797ae87
python_version=3
post_extract() {
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) sed -i -e 's/-mtune=generic -msse -mfpmath=sse//' c++/Makefile.mk ;;
esac
}