void-packages/srcpkgs/qmidinet/template
2019-04-11 10:28:09 -03:00

23 lines
700 B
Bash

# Template file for 'qmidinet'
pkgname=qmidinet
version=0.5.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="qt5-devel jack-devel alsa-lib-devel"
short_desc="MIDI Network Gateway via UDP/IP Multicast"
maintainer="Olga Ustuzhanina <me@laserbat.pw>"
license="GPL-2.0-or-later"
homepage="https://qmidinet.sourceforge.io/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=98cb53a417abfbc9f6d32738602cf9937653e2b5e878479e1f637d35365a84c6
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
vsed -i -e "$ a QMAKE_CC=${CC}\nQMAKE_CXX=${CXX}\nQMAKE_LINK=${CXX}" src/src.pri.in
fi
}