git: 8353bae3479b - main - multimedia/musikcube: Update 0.97.0 -> 0.98.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 05 Jul 2022 04:24:21 UTC
The branch main has been updated by yuri:

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

commit 8353bae3479b275032e9a32dac46f2e5c4dc4a6c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-05 04:22:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-05 04:24:15 +0000

    multimedia/musikcube: Update 0.97.0 -> 0.98.0
    
    Reported by:    portscout
---
 multimedia/musikcube/Makefile                               |  4 ++--
 multimedia/musikcube/distinfo                               |  6 +++---
 multimedia/musikcube/files/patch-CMakeLists.txt             | 13 +++++++++++++
 multimedia/musikcube/files/patch-src_plugins_pulseout_pch.h |  8 ++++++++
 multimedia/musikcube/pkg-plist                              |  1 +
 5 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/multimedia/musikcube/Makefile b/multimedia/musikcube/Makefile
index 4dd69f467aae..54bef93c77bd 100644
--- a/multimedia/musikcube/Makefile
+++ b/multimedia/musikcube/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	musikcube
-DISTVERSION=	0.97.0
-PORTREVISION=	1
+DISTVERSION=	0.98.0
 CATEGORIES=	multimedia audio
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -20,6 +19,7 @@ LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
 		libmpg123.so:audio/mpg123 \
 		libogg.so:audio/libogg \
 		libopenmpt.so:audio/libopenmpt \
+		libpulse.so:audio/pulseaudio \
 		libsndio.so:audio/sndio \
 		libtag.so:audio/taglib \
 		libvorbis.so:audio/libvorbis
diff --git a/multimedia/musikcube/distinfo b/multimedia/musikcube/distinfo
index 408fcbbe20e4..5b2f99005671 100644
--- a/multimedia/musikcube/distinfo
+++ b/multimedia/musikcube/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645737342
-SHA256 (clangen-musikcube-0.97.0_GH0.tar.gz) = ab170c5100251fcd6c8fd3c32eea45e9854c6c6272c6b0970bffbfc55d0b2ec5
-SIZE (clangen-musikcube-0.97.0_GH0.tar.gz) = 6375298
+TIMESTAMP = 1656988955
+SHA256 (clangen-musikcube-0.98.0_GH0.tar.gz) = a4ae9d6d0fa5ce99de2e7bbc1de75cc8638704a2284b38a51178e23bbe55499c
+SIZE (clangen-musikcube-0.98.0_GH0.tar.gz) = 6484960
diff --git a/multimedia/musikcube/files/patch-CMakeLists.txt b/multimedia/musikcube/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..b10cd691bb73
--- /dev/null
+++ b/multimedia/musikcube/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+--- CMakeLists.txt.orig	2022-07-05 03:16:16 UTC
++++ CMakeLists.txt
+@@ -97,7 +97,9 @@ add_dependencies(musikcubed musikcore)
+ add_plugin("src/plugins/taglib_plugin" "taglibreader")
+ # outputs
+ add_plugin("src/plugins/nullout" "nullout")
+-add_plugin("src/plugins/alsaout" "alsaout")
++if(NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
++  add_plugin("src/plugins/alsaout" "alsaout")
++endif()
+ add_plugin("src/plugins/pulseout" "pulseout")
+ add_plugin("src/plugins/pipewireout" "pipewireout")
+ add_plugin("src/plugins/sndioout" "sndioout")
diff --git a/multimedia/musikcube/files/patch-src_plugins_pulseout_pch.h b/multimedia/musikcube/files/patch-src_plugins_pulseout_pch.h
new file mode 100644
index 000000000000..1b58a6f86c19
--- /dev/null
+++ b/multimedia/musikcube/files/patch-src_plugins_pulseout_pch.h
@@ -0,0 +1,8 @@
+--- src/plugins/pulseout/pch.h.orig	2022-07-05 03:39:04 UTC
++++ src/plugins/pulseout/pch.h
+@@ -38,4 +38,4 @@
+ #include <musikcore/config.h>
+ #include <iostream>
+ 
+-#include <alsa/asoundlib.h>
++//#include <alsa/asoundlib.h>
diff --git a/multimedia/musikcube/pkg-plist b/multimedia/musikcube/pkg-plist
index 99dcb392e7e6..c411773f4b13 100644
--- a/multimedia/musikcube/pkg-plist
+++ b/multimedia/musikcube/pkg-plist
@@ -61,6 +61,7 @@ include/musikcube/musikcore/sdk/constants.h
 %%DATADIR%%/plugins/libhttpdatastream.so
 %%DATADIR%%/plugins/libnullout.so
 %%DATADIR%%/plugins/libopenmptdecoder.so
+%%DATADIR%%/plugins/libpulseout.so
 %%DATADIR%%/plugins/libserver.so
 %%DATADIR%%/plugins/libsndioout.so
 %%DATADIR%%/plugins/libstockencoders.so