git: f6a2e2fee1fd - main - audio/dpf-plugins-lv2: Update 1.4 -> 1.5

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 18 Jan 2022 18:42:51 UTC
The branch main has been updated by yuri:

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

commit f6a2e2fee1fd9ae183f2dd86a3f8b97c278e8c57
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-18 18:06:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-18 18:42:44 +0000

    audio/dpf-plugins-lv2: Update 1.4 -> 1.5
    
    Reported by:    portscout
---
 audio/dpf-plugins-lv2/Makefile                     | 10 ++++-----
 audio/dpf-plugins-lv2/distinfo                     |  6 ++---
 .../files/patch-dpf_dgl_src_Window.cpp             | 26 ----------------------
 .../patch-dpf_utils_lv2-ttl-generator_GNUmakefile  | 11 ---------
 audio/dpf-plugins-lv2/pkg-plist                    |  3 +--
 5 files changed, 9 insertions(+), 47 deletions(-)

diff --git a/audio/dpf-plugins-lv2/Makefile b/audio/dpf-plugins-lv2/Makefile
index cfb08663b77e..ab5c1fea1e77 100644
--- a/audio/dpf-plugins-lv2/Makefile
+++ b/audio/dpf-plugins-lv2/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	dpf-plugins
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4
-PORTREVISION=	2
+DISTVERSION=	1.5
 CATEGORIES=	audio
 PKGNAMESUFFIX=	-lv2
 
@@ -14,20 +13,21 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	lv2>0:audio/lv2 \
 		bash:shells/bash
 LIB_DEPENDS=	liblo.so:audio/liblo \
-		libprojectM.so:graphics/libprojectm
+		libprojectM.so:graphics/libprojectm \
+		libpulse-simple.so:audio/pulseaudio
 
 USES=		compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg
 SHEBANG_FILES=	dpf/utils/generate-ttl.sh
 USE_GITHUB=	yes
 GH_ACCOUNT=	DISTRHO
 GH_PROJECT=	DPF-Plugins
-USE_XORG=	x11
+USE_XORG=	x11 xcursor xext xrandr
 USE_GL=		gl
 
 CXXFLAGS+=	-I${FILESDIR}
 LDFLAGS+=	-pthread
 
-CONFLICTS_INSTALL=	 nekobi-lv2 # bin/Nekobi
+CONFLICTS_INSTALL=	nekobi-lv2 # bin/Nekobi
 
 OPTIONS_DEFINE=		JACK
 OPTIONS_DEFAULT=	JACK
diff --git a/audio/dpf-plugins-lv2/distinfo b/audio/dpf-plugins-lv2/distinfo
index cc87301ff251..4ff31471fd90 100644
--- a/audio/dpf-plugins-lv2/distinfo
+++ b/audio/dpf-plugins-lv2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1610868324
-SHA256 (DISTRHO-DPF-Plugins-v1.4_GH0.tar.gz) = 2bdf76975cc4018f6001ef87ea40290e2a990db9dc66de3f0a7c21062fb21034
-SIZE (DISTRHO-DPF-Plugins-v1.4_GH0.tar.gz) = 8295487
+TIMESTAMP = 1642527495
+SHA256 (DISTRHO-DPF-Plugins-v1.5_GH0.tar.gz) = a421bfc1fe879473e5b5862dca4070e94e4fbe8daa13a6de0d4c432df25747a0
+SIZE (DISTRHO-DPF-Plugins-v1.5_GH0.tar.gz) = 71355133
diff --git a/audio/dpf-plugins-lv2/files/patch-dpf_dgl_src_Window.cpp b/audio/dpf-plugins-lv2/files/patch-dpf_dgl_src_Window.cpp
deleted file mode 100644
index 88edf4d36bff..000000000000
--- a/audio/dpf-plugins-lv2/files/patch-dpf_dgl_src_Window.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
---- dpf/dgl/src/Window.cpp.orig	2021-01-15 11:38:19 UTC
-+++ dpf/dgl/src/Window.cpp
-@@ -65,6 +65,10 @@ extern "C" {
- #include "../StandaloneWindow.hpp"
- #include "../../distrho/extra/String.hpp"
- 
-+#if defined(__FreeBSD__)
-+#include <unistd.h>
-+#endif
-+
- #define FOR_EACH_WIDGET(it) \
-   for (std::list<Widget*>::iterator it = fWidgets.begin(); it != fWidgets.end(); ++it)
- 
-@@ -1426,7 +1430,12 @@ bool Window::openFileBrowser(const FileBrowserOptions&
- #  ifdef DISTRHO_OS_LINUX
-     if (startDir.isEmpty())
-     {
-+#if defined(__FreeBSD__)
-+        char buf[1024];
-+        if (char* const dir_name = ::getwd(buf))
-+#else
-         if (char* const dir_name = get_current_dir_name())
-+#endif
-         {
-             startDir = dir_name;
-             std::free(dir_name);
diff --git a/audio/dpf-plugins-lv2/files/patch-dpf_utils_lv2-ttl-generator_GNUmakefile b/audio/dpf-plugins-lv2/files/patch-dpf_utils_lv2-ttl-generator_GNUmakefile
deleted file mode 100644
index d8454d297036..000000000000
--- a/audio/dpf-plugins-lv2/files/patch-dpf_utils_lv2-ttl-generator_GNUmakefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- dpf/utils/lv2-ttl-generator/GNUmakefile.orig	2021-01-17 07:29:47 UTC
-+++ dpf/utils/lv2-ttl-generator/GNUmakefile
-@@ -15,7 +15,7 @@ build: ../lv2_ttl_generator.exe
- else # WINDOWS
- 
- ifneq ($(HAIKU),true)
--LDFLAGS += -ldl
-+#LDFLAGS += -ldl
- endif
- 
- build: ../lv2_ttl_generator
diff --git a/audio/dpf-plugins-lv2/pkg-plist b/audio/dpf-plugins-lv2/pkg-plist
index 8fba069846a8..02acaf2e9f5e 100644
--- a/audio/dpf-plugins-lv2/pkg-plist
+++ b/audio/dpf-plugins-lv2/pkg-plist
@@ -10,7 +10,6 @@
 %%JACK%%bin/MaPitchshift
 %%JACK%%bin/Nekobi
 %%JACK%%bin/PingPongPan
-%%JACK%%bin/ProM
 %%JACK%%bin/SoulForce
 %%JACK%%bin/glBars
 lib/dssi/3BandEQ-dssi.so
@@ -110,6 +109,6 @@ lib/vst/MaGigaverb-vst.so
 lib/vst/MaPitchshift-vst.so
 lib/vst/Nekobi-vst.so
 lib/vst/PingPongPan-vst.so
-lib/vst/ProM-vst.so
+lib/vst/ProM.vst/ProM.so
 lib/vst/SoulForce-vst.so
 lib/vst/glBars-vst.so