New package: qmidiarp-0.6.5

This commit is contained in:
Matthias von Faber 2020-06-17 22:11:17 +02:00 committed by Duncan Overbruck
parent 8edf3f15ef
commit b8c7830009
3 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,21 @@
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,6 +69,8 @@
#include "mainwindow.h"
#include "main.h"
+#include <sys/types.h>
+#include <unistd.h>
static struct option options[] = {
{"version", 0, 0, 'v'},
--- a/src/midiworker.h
+++ b/src/midiworker.h
@@ -28,6 +28,7 @@
#include "main.h"
#include <cstdlib>
#include <cstdio>
+#include <sys/types.h>
/*! @brief MIDI worker base class for QMidiArp modules.

View File

@ -0,0 +1,15 @@
--- a/configure.ac
+++ b/configure.ac
@@ -127,12 +127,6 @@ if test "x$ac_buildapp" = "xyes" -o ["x$ac_lv2pluginuis" = "xyes" -a "x$ac_lv2w
QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir Qt5Gui`
QT_CXXFLAGS=`$PKG_CONFIG --cflags Qt5Core Qt5Gui Qt5Widgets`
QT_CXXFLAGS="$QT_CXXFLAGS -fPIC"
- EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
- AC_CHECK_FILE([$QT_INCLUDE_DIR/QtWidgets/QWidget],
- AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]),
- AC_CHECK_FILE([$EXTRA_QT_INCLUDE_DIR/QtWidgets/QWidget],
- QT_CPPFLAGS="$QT_CPPFLAGS -I$EXTRA_QT_INCLUDE_DIR",
- AC_MSG_WARN([QWidget not found])))
AC_SUBST(QT_CXXFLAGS)
AC_SUBST(Qt5_LIBS)

18
srcpkgs/qmidiarp/template Normal file
View File

@ -0,0 +1,18 @@
# Template file for 'qmidiarp'
pkgname=qmidiarp
version=0.6.5
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config qt5-host-tools"
makedepends="alsa-lib-devel jack-devel lv2 qt5-devel"
short_desc="MIDI arpeggiator and LFO"
maintainer="Matthias von Faber <mvf@gmx.eu>"
license="GPL-2.0-or-later"
homepage="http://qmidiarp.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=22a3a26d3dbe4bf215aa33c0fd4a79c088549328477840d00e72e50c6e807e10
CXXFLAGS="-D_GNU_SOURCE"
pre_configure() {
autoreconf -if
}