New package: qmidinet-0.5.0

Closes: #11805 [via git-merge-pr]
This commit is contained in:
Olga U 2018-02-22 14:05:24 +07:00 committed by Michael Aldridge
parent bc3360f3df
commit 53a63e58eb
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,9 @@
--- src/qmidinetUdpDevice.cpp 2017-12-16 13:06:59.438768239 +0100
+++ - 2018-02-22 08:47:58.409130080 +0100
@@ -32,5 +32,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#include <sys/select.h>
inline void closesocket(int s) { ::close(s); }
#endif

21
srcpkgs/qmidinet/template Normal file
View File

@ -0,0 +1,21 @@
# 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