cadence: add missing python3-PyQt4-dbus dep, cross-compilation support (#12355)

This commit is contained in:
cr6git 2018-04-05 13:09:33 +02:00 committed by Alessio Sergi
parent d1f65651ed
commit b18f091693
1 changed files with 10 additions and 3 deletions

View File

@ -1,16 +1,23 @@
# Template file for 'cadence' # Template file for 'cadence'
pkgname=cadence pkgname=cadence
version=0.8.1.20170707 version=0.8.1.20170707
revision=2 revision=3
_commit=e91750e39acb119cf97f8105a7acc28a8901a4e2 _commit=e91750e39acb119cf97f8105a7acc28a8901a4e2
wrksrc="Cadence-${_commit}" wrksrc="Cadence-${_commit}"
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="pkg-config python3-PyQt4 python-PyQt4-devel-tools" hostmakedepends="pkg-config qt-host-tools python3-PyQt4 python-PyQt4-devel-tools"
makedepends="jack-devel ladish-devel pulseaudio-devel qt-devel" makedepends="jack-devel ladish-devel pulseaudio-devel qt-devel"
depends="a2jmidid desktop-file-utils hicolor-icon-theme jack python3-PyQt4 python3-dbus" depends="a2jmidid desktop-file-utils hicolor-icon-theme jack python3-PyQt4-dbus"
maintainer="cr6git <quark6@protonmail.com>" maintainer="cr6git <quark6@protonmail.com>"
short_desc="Set of tools useful for audio production" short_desc="Set of tools useful for audio production"
homepage="http://kxstudio.linuxaudio.org/Applications:Cadence" homepage="http://kxstudio.linuxaudio.org/Applications:Cadence"
license="GPL-2" license="GPL-2"
distfiles="https://github.com/falkTX/Cadence/archive/${_commit}.tar.gz" distfiles="https://github.com/falkTX/Cadence/archive/${_commit}.tar.gz"
checksum=6d50b01b89d83be663228209b2ec373bb4211f2f3c21bc88a426d86f20ec64a8 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
}