void-packages/srcpkgs/cadence/template
2018-11-01 16:15:44 +01:00

25 lines
907 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="lemmi <lemmi@nerd2nerd.org>"
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
}