24 lines
700 B
Bash
24 lines
700 B
Bash
# Template file for 'qmidinet'
|
|
pkgname=qmidinet
|
|
version=0.5.3
|
|
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=205817e7e89ea8ab229813fcaaa7769a6a4fbb77d98b20cfff1755abc28f2652
|
|
|
|
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
|
|
}
|