git: 39a91dd9aaca - main - audio/{nekobi,kars}-lv2: Remove because they are bundled in audio/dpf-plugins

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 29 Jan 2022 18:28:38 UTC
The branch main has been updated by yuri:

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

commit 39a91dd9aacae191239476db7511f9f1e4cac9a2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-29 18:26:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-29 18:28:04 +0000

    audio/{nekobi,kars}-lv2: Remove because they are bundled in audio/dpf-plugins
---
 MOVED                                              |  2 +
 audio/Makefile                                     |  2 -
 audio/kars-lv2/Makefile                            | 45 ----------------------
 audio/kars-lv2/distinfo                            |  5 ---
 audio/kars-lv2/pkg-descr                           |  3 --
 audio/nekobi-lv2/Makefile                          | 45 ----------------------
 audio/nekobi-lv2/distinfo                          |  5 ---
 audio/nekobi-lv2/files/mntent.h                    | 35 -----------------
 .../nekobi-lv2/files/patch-dpf_dgl_src_Window.cpp  | 20 ----------
 audio/nekobi-lv2/pkg-descr                         |  8 ----
 audio/nekobi-lv2/pkg-plist                         |  6 ---
 11 files changed, 2 insertions(+), 174 deletions(-)

diff --git a/MOVED b/MOVED
index 4f630f48a3d3..d632b8a01141 100644
--- a/MOVED
+++ b/MOVED
@@ -16879,3 +16879,5 @@ x11-toolkits/py-qt5-widgets|devel/py-qt5-pyqt|2022-01-27|Merged into devel/py-qt
 x11/py-qt5-opengl|devel/py-qt5-pyqt|2022-01-27|Merged into devel/py-qt5-pyqt
 net-mgmt/zabbix54-frontend|net-mgmt/zabbix54-frontend@php74|2022-01-27|Build as php 7.4-flavored only
 x11-fonts/sourcesanspro-ttf|x11-fonts/source-sans-ttf|2022-01-28|Rename to match upstream naming
+audio/nekobi-lv2|audio/dpf-plugins-lv2/|2022-01-28|Nekobi is part of dpf-plugins
+audio/kars-lv2|audio/dpf-plugins-lv2/|2022-01-28|Kars is part of dpf-plugins
diff --git a/audio/Makefile b/audio/Makefile
index cdc83fdc5295..19761faf08c4 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -338,7 +338,6 @@
     SUBDIR += juke
     SUBDIR += julius
     SUBDIR += kapitonov-plugins-pack-lv2
-    SUBDIR += kars-lv2
     SUBDIR += kexis
     SUBDIR += kid3-kf5
     SUBDIR += kid3-qt5
@@ -538,7 +537,6 @@
     SUBDIR += ncmpcpp
     SUBDIR += ncpamixer
     SUBDIR += ncspot
-    SUBDIR += nekobi-lv2
     SUBDIR += noise-repellent-lv2
     SUBDIR += noise-suppression-for-voice-lv2
     SUBDIR += normalize
diff --git a/audio/kars-lv2/Makefile b/audio/kars-lv2/Makefile
deleted file mode 100644
index 0b57d1c6809d..000000000000
--- a/audio/kars-lv2/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-PORTNAME=	kars
-DISTVERSION=	g20220113
-CATEGORIES=	audio
-PKGNAMESUFFIX=	-lv2
-
-MAINTAINER=	yuri@FreeBSD.org
-COMMENT=	Simple karplus-strong plucked string synth
-
-LICENSE=	ISCL
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-BUILD_DEPENDS=	lv2>0:audio/lv2 \
-		bash:shells/bash
-xLIB_DEPENDS=	libjack.so:audio/jack \
-		libpulse.so:audio/pulseaudio
-
-USES=		gmake shebangfix
-
-SHEBANG_FILES=	dpf/utils/generate-ttl.sh
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	DISTRHO
-GH_PROJECT=	Kars
-GH_TAGNAME=	2b247cd
-GH_TUPLE=	DISTRHO:DPF:5d7fd17:dpf/dpf
-
-PLIST_FILES=	bin/Kars \
-		lib/dssi/Kars-dssi.so \
-		lib/lv2/Kars.lv2/Kars_dsp.so \
-		lib/lv2/Kars.lv2/Kars_dsp.ttl \
-		lib/lv2/Kars.lv2/manifest.ttl \
-		lib/vst/Kars-vst.so
-
-do-install: # no install target, same as in https://github.com/DISTRHO/Nekobi/issues/8
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2
-	cd ${WRKSRC}/bin && ${COPYTREE_SHARE} Kars.lv2 ${STAGEDIR}${PREFIX}/lib/lv2/
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/Kars ${STAGEDIR}${PREFIX}/bin
-	# VST plugin
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst
-	${INSTALL_LIB} ${WRKSRC}/bin/Kars-vst.so ${STAGEDIR}${PREFIX}/lib/vst
-	# DSSI plugin
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/dssi
-	${INSTALL_LIB} ${WRKSRC}/bin/Kars-dssi.so ${STAGEDIR}${PREFIX}/lib/dssi
-
-.include <bsd.port.mk>
diff --git a/audio/kars-lv2/distinfo b/audio/kars-lv2/distinfo
deleted file mode 100644
index e8b8e4eaaf1a..000000000000
--- a/audio/kars-lv2/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1643478331
-SHA256 (DISTRHO-Kars-g20220113-2b247cd_GH0.tar.gz) = f678357f93a07e32352155d61ef7e725ba8b52a96203d90ab3e31705a627dc1f
-SIZE (DISTRHO-Kars-g20220113-2b247cd_GH0.tar.gz) = 7318
-SHA256 (DISTRHO-DPF-5d7fd17_GH0.tar.gz) = 146a08d2e07e3027b6ae98e73a2f1399735ae7e9266c04ad9a8140070404085b
-SIZE (DISTRHO-DPF-5d7fd17_GH0.tar.gz) = 3366156
diff --git a/audio/kars-lv2/pkg-descr b/audio/kars-lv2/pkg-descr
deleted file mode 100644
index fd1991f89313..000000000000
--- a/audio/kars-lv2/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-kars is a simple karplus-strong plucked string synth.
-
-WWW: https://github.com/DISTRHO/Kars
diff --git a/audio/nekobi-lv2/Makefile b/audio/nekobi-lv2/Makefile
deleted file mode 100644
index 4838ab9dc28b..000000000000
--- a/audio/nekobi-lv2/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-PORTNAME=	nekobi
-DISTVERSION=	g20180825
-PORTREVISION=	4
-CATEGORIES=	audio
-PKGNAMESUFFIX=	-lv2
-
-MAINTAINER=	yuri@FreeBSD.org
-COMMENT=	Simple single-oscillator synth based on the Roland TB-303
-
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-BUILD_DEPENDS=	lv2>0:audio/lv2 \
-		bash:shells/bash
-LIB_DEPENDS=	libjack.so:audio/jack
-
-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=	Nekobi
-GH_TAGNAME=	840a692
-GH_TUPLE=	DISTRHO:DPF:ea7545a:dpf/dpf
-USE_GL=		gl
-USE_XORG=	x11
-
-CFLAGS+=	-I${FILESDIR}
-CFLAGS+=	-Wno-c++11-narrowing # clang prints errors: https://github.com/DISTRHO/Nekobi/issues/7
-
-CONFLICTS_INSTALL=	dpf-plugins-lv2 # bin/Nekobi
-
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == gcc
-post-patch:
-	@${REINPLACE_CMD} -e 's/-mtune=generic -msse -msse2 //' \
-		${WRKSRC}/dpf/Makefile.base.mk
-.endif
-
-do-install: # https://github.com/DISTRHO/Nekobi/issues/8
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2
-	cd ${WRKSRC}/bin && ${COPYTREE_SHARE} Nekobi.lv2 ${STAGEDIR}${PREFIX}/lib/lv2/
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/Nekobi ${STAGEDIR}${PREFIX}/bin
-
-.include <bsd.port.post.mk>
diff --git a/audio/nekobi-lv2/distinfo b/audio/nekobi-lv2/distinfo
deleted file mode 100644
index 0a2aa496264d..000000000000
--- a/audio/nekobi-lv2/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1549141025
-SHA256 (DISTRHO-Nekobi-g20180825-840a692_GH0.tar.gz) = c9c9cdd95ca19f8ead5ff4c0ba8849747ee34b65e6beb185c45bd4c53adfdb7e
-SIZE (DISTRHO-Nekobi-g20180825-840a692_GH0.tar.gz) = 420235
-SHA256 (DISTRHO-DPF-ea7545a_GH0.tar.gz) = 3b5be02832277d7e65c058a31573d93e694b10503872a12393637da61d7b0721
-SIZE (DISTRHO-DPF-ea7545a_GH0.tar.gz) = 1621242
diff --git a/audio/nekobi-lv2/files/mntent.h b/audio/nekobi-lv2/files/mntent.h
deleted file mode 100644
index 1e37778b2178..000000000000
--- a/audio/nekobi-lv2/files/mntent.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifdef HAVE_MNTENT_H
-#include <mntent.h>
-#else
-
-#ifndef mntent_h_
-#define mntent_h_
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/param.h>
-#include <sys/ucred.h>
-#include <sys/mount.h>
-
-#define MOUNTED "mounted"
-#define MNTTYPE_NFS "nfs"
-
-//#define MOPTSLEN (256 - (MNAMELEN * 2 + MFSNAMELEN + 2 * sizeof(int)))
-
-struct mntent {
-	char *mnt_fsname;   /* file system name */
-	char *mnt_dir; /* file system path prefix */
-	char *mnt_type;	   /* dbg, efs,	nfs */
-	char *mnt_opts;	   /* ro, hide,	etc. */
-	int  mnt_freq; /* dump frequency, in days */
-	int  mnt_passno;	   /* pass number on parallel fsck */
-};
-
-FILE * setmntent(char * filep, char * type);
-struct mntent *getmntent(FILE * filep);
-//char * hasmntopt(struct mntent * mnt, char * opt);
-int endmntent(FILE * filep);
-
-#endif /* mntent_h_ */
-#endif /* not HAVE_MNTENT_H */
diff --git a/audio/nekobi-lv2/files/patch-dpf_dgl_src_Window.cpp b/audio/nekobi-lv2/files/patch-dpf_dgl_src_Window.cpp
deleted file mode 100644
index 12b1dfb16c9b..000000000000
--- a/audio/nekobi-lv2/files/patch-dpf_dgl_src_Window.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- dpf/dgl/src/Window.cpp.orig	2018-09-25 22:56:57 UTC
-+++ dpf/dgl/src/Window.cpp
-@@ -18,6 +18,7 @@
- //#define PUGL_GRAB_FOCUS 1
- 
- #include "../Base.hpp"
-+#include <unistd.h>
- 
- #undef PUGL_HAVE_CAIRO
- #undef PUGL_HAVE_GL
-@@ -1164,7 +1165,8 @@ bool Window::openFileBrowser(const FileB
- 
-     if (startDir.isEmpty())
-     {
--        if (char* const dir_name = get_current_dir_name())
-+        char buf[MAXPATHLEN];
-+        if (char* const dir_name = getwd(buf))
-         {
-             startDir = dir_name;
-             std::free(dir_name);
diff --git a/audio/nekobi-lv2/pkg-descr b/audio/nekobi-lv2/pkg-descr
deleted file mode 100644
index b0aa39e3df7d..000000000000
--- a/audio/nekobi-lv2/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Simple single-oscillator synth based on the Roland TB-303.
-
-This is a DPF'ied build of nekobee, allowing LV2 and VST builds of the plugin,
-plus a nicer UI with a simple cat animation.
-
-Please see also the port audio/nekobee which is a corresponding DSSI plugin.
-
-WWW: https://github.com/DISTRHO/Nekobi
diff --git a/audio/nekobi-lv2/pkg-plist b/audio/nekobi-lv2/pkg-plist
deleted file mode 100644
index 9c84540775c4..000000000000
--- a/audio/nekobi-lv2/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/Nekobi
-lib/lv2/Nekobi.lv2/Nekobi_dsp.so
-lib/lv2/Nekobi.lv2/Nekobi_dsp.ttl
-lib/lv2/Nekobi.lv2/Nekobi_ui.so
-lib/lv2/Nekobi.lv2/Nekobi_ui.ttl
-lib/lv2/Nekobi.lv2/manifest.ttl