void-packages/srcpkgs/cadence/template

23 lines
884 B
Bash

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