void-packages/srcpkgs/qmidinet/template

22 lines
673 B
Bash

# Template file for 'qmidinet'
pkgname=qmidinet
version=0.5.2
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-2.0-or-later"
homepage="https://qmidinet.sourceforge.io/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=dab64b3760d8250c864f5c45317fdf5c72336c57585c1d92c865b05d7d1e5c78
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