git: fc6bee24e9f6 - main - audio/qmidiarp: Update 0.6.5 → 0.7.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 26 Jul 2023 06:20:31 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fc6bee24e9f6e1249a0d7545267ec0054b0713ab

commit fc6bee24e9f6e1249a0d7545267ec0054b0713ab
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-26 04:46:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-26 06:20:24 +0000

    audio/qmidiarp: Update 0.6.5 → 0.7.0
---
 audio/qmidiarp/Makefile                    | 16 ++++++++++------
 audio/qmidiarp/distinfo                    |  6 +++---
 audio/qmidiarp/files/patch-src_midilfo.cpp | 12 ------------
 3 files changed, 13 insertions(+), 21 deletions(-)

diff --git a/audio/qmidiarp/Makefile b/audio/qmidiarp/Makefile
index 954295769c1b..5221601f11f1 100644
--- a/audio/qmidiarp/Makefile
+++ b/audio/qmidiarp/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	qmidiarp
 DISTVERSIONPREFIX=	qmidiarp-
-DISTVERSION=	0.6.5
-PORTREVISION=	6
+DISTVERSION=	0.7.0
 CATEGORIES=	audio
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,7 +10,8 @@ WWW=		http://qmidiarp.sourceforge.net/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	lv2>0:audio/lv2
+BUILD_DEPENDS=	gsed:textproc/gsed \
+		lv2>0:audio/lv2
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		liblo.so:audio/liblo \
 		libjack.so:audio/jack
@@ -19,17 +19,21 @@ LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 PORTSCOUT=	limit:^qmidiarp
 
 USES=		autoreconf compiler:c++11-lib desktop-file-utils \
-		gmake gnome localbase libtool pkgconfig qt:5
-USE_GITHUB=	yes
-GH_ACCOUNT=	emuse
+		gmake gnome localbase:ldflags libtool pkgconfig qt:5
 USE_QT=		core gui network widgets buildtools:build \
 		linguisttools:build
 USE_CXXSTD=	c++11
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	emuse
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-qt5 --enable-translations=yes
 
 CXXFLAGS+=	-Duint=uint32_t # workaround for https://sourceforge.net/p/qmidiarp/bugs/27/
 
+BINARY_ALIAS=	sed=gsed
+
 OPTIONS_DEFINE=	NLS LV2
 OPTIONS_DEFAULT=LV2
 OPTIONS_SUB=	yes
diff --git a/audio/qmidiarp/distinfo b/audio/qmidiarp/distinfo
index f58f2cc62226..eb31b13b6ae3 100644
--- a/audio/qmidiarp/distinfo
+++ b/audio/qmidiarp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1531200325
-SHA256 (emuse-qmidiarp-qmidiarp-0.6.5_GH0.tar.gz) = 4c28c2ed4e8e660caae3137e9353ac86ab313eaa4963b1c4036ed4572c30ec59
-SIZE (emuse-qmidiarp-qmidiarp-0.6.5_GH0.tar.gz) = 291340
+TIMESTAMP = 1690343516
+SHA256 (emuse-qmidiarp-qmidiarp-0.7.0_GH0.tar.gz) = 942dea602f3bd3c2660495abaad88c96ce52032f169bca0b28389811534e5a13
+SIZE (emuse-qmidiarp-qmidiarp-0.7.0_GH0.tar.gz) = 344929
diff --git a/audio/qmidiarp/files/patch-src_midilfo.cpp b/audio/qmidiarp/files/patch-src_midilfo.cpp
deleted file mode 100644
index 5fe9a33426fb..000000000000
--- a/audio/qmidiarp/files/patch-src_midilfo.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/midilfo.cpp.orig	2019-04-05 09:20:35 UTC
-+++ src/midilfo.cpp
-@@ -22,6 +22,9 @@
-  *
-  */
- #include <cmath>
-+#ifdef __FreeBSD__
-+#include <sys/types.h>
-+#endif
- #include "midilfo.h"
- 
-