void-packages/srcpkgs/qmidinet/template
Olga U 53a63e58eb New package: qmidinet-0.5.0
Closes: #11805 [via git-merge-pr]
2018-03-07 21:51:05 -08:00

21 lines
662 B
Bash

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