git: 3e790e90be9a - main - audio/ocp: Update to 0.2.102

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 06 Feb 2023 06:53:52 UTC
The branch main has been updated by ehaupt:

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

commit 3e790e90be9a104a3d605499d5290e3f565e4d5f
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-02-06 06:53:21 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-02-06 06:53:44 +0000

    audio/ocp: Update to 0.2.102
---
 audio/ocp/Makefile                  |  7 ++++---
 audio/ocp/distinfo                  |  6 +++---
 audio/ocp/files/patch-Rules.make.in | 11 +++++++++++
 audio/ocp/pkg-plist                 | 10 ++++++++++
 4 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index c87abca8b01f..f30f8ae17056 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ocp
-PORTVERSION=	0.2.101
+PORTVERSION=	0.2.102
 PORTEPOCH=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://stian.cubic.org/ocp/
@@ -14,7 +14,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 ONLY_FOR_ARCHS=	amd64 i386 powerpc powerpc64 powerpc64le
 
 BUILD_DEPENDS=	xa65:devel/xa65
-LIB_DEPENDS=	libcjson.so:devel/libcjson \
+LIB_DEPENDS=	libancient.so:archivers/ancient \
+		libcjson.so:devel/libcjson \
 		libdiscid.so:audio/libdiscid \
 		libid3tag.so:audio/libid3tag \
 		libmad.so:audio/libmad \
@@ -23,7 +24,7 @@ LIB_DEPENDS=	libcjson.so:devel/libcjson \
 		libvorbis.so:audio/libvorbis
 
 USES=		compiler:c11 dos2unix gmake gnome iconv jpeg localbase:ldflags \
-		makeinfo ncurses pkgconfig tar:xz
+		makeinfo ncurses pkgconfig shared-mime-info tar:xz
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--libdir=${PREFIX}/lib \
diff --git a/audio/ocp/distinfo b/audio/ocp/distinfo
index 12925ee9e24d..711a20b09fcd 100644
--- a/audio/ocp/distinfo
+++ b/audio/ocp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1672058439
-SHA256 (ocp-0.2.101.tar.xz) = e80f901d8284f324f34c7acfad5f2365f2b1b846c7747aeea7540030e83f0c68
-SIZE (ocp-0.2.101.tar.xz) = 3835668
+TIMESTAMP = 1675595463
+SHA256 (ocp-0.2.102.tar.xz) = aea088879cc9641222c26de6715e86a55d18600d72c5a8e9660e197f9fafff9c
+SIZE (ocp-0.2.102.tar.xz) = 3849816
diff --git a/audio/ocp/files/patch-Rules.make.in b/audio/ocp/files/patch-Rules.make.in
new file mode 100644
index 000000000000..2285c0e18108
--- /dev/null
+++ b/audio/ocp/files/patch-Rules.make.in
@@ -0,0 +1,11 @@
+--- Rules.make.in.orig	2023-02-05 14:42:33 UTC
++++ Rules.make.in
+@@ -94,7 +94,7 @@ HAVE_SYS_IO_H=@HAVE_SYS_IO_H@
+ HAVE_SYS_STAT_H=@HAVE_SYS_STAT_H@
+ HAVE_SYS_TYPES_H=@HAVE_SYS_TYPES_H@
+ 
+-LIBANCIENT_CXXFLAGS=@LIBANCIENT_CFLAGS@
++LIBANCIENT_CXXFLAGS=@LIBANCIENT_CFLAGS@ -std=c++17
+ LIBANCIENT_LIBS=@LIBANCIENT_LIBS@
+ 
+ ALSA_CFLAGS=@ALSA_CFLAGS@
diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist
index 75e43fd65bb6..2be41c6742d2 100644
--- a/audio/ocp/pkg-plist
+++ b/audio/ocp/pkg-plist
@@ -20,7 +20,17 @@ lib/ocp/devwmix.so
 lib/ocp/devwmixf.so
 lib/ocp/devwnone.so
 lib/ocp/libocp.so
+lib/ocp/autoload/freverb.so
+lib/ocp/autoload/ireverb.so
 man/man1/ocp.1.gz
+share/mime/audio/x-ams.xml
+share/mime/audio/x-ay.xml
+share/mime/audio/x-dmf.xml
+share/mime/audio/x-hvl.xml
+share/mime/audio/x-mdl.xml
+share/mime/audio/x-ptm.xml
+share/mime/audio/x-ym.xml
+share/mime/packages/opencubicplayer.xml
 %%ADPLUG%%%%DATADIR%%/data/adplug.db
 %%ALSA%%lib/ocp/devpalsa.so
 %%DATADIR%%/data/ocp.hlp