void-packages/srcpkgs/cadence/template
2021-10-09 08:01:49 -04:00

25 lines
895 B
Bash

# Template file for 'cadence'
pkgname=cadence
version=0.9.1
revision=2
wrksrc="Cadence-${version}"
build_style=gnu-makefile
python_version=3
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=e530787ded0d53a3004c7a8260114ddb970c2aea43875d62eccd599ac96e1fd1
post_extract() {
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) sed -i -e 's/-mtune=generic -msse -mfpmath=sse//' c++/Makefile.mk ;;
esac
}