22 lines
662 B
Bash
22 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
|