git: d8bec3c32ae3 - main - multimedia/snapcast: Update 0.25.0 -> 0.26.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 19 Jun 2022 06:48:01 UTC
The branch main has been updated by yuri:

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

commit d8bec3c32ae3060b5888dbae55c1fcd0c8db5a8c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-19 06:47:25 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-19 06:47:25 +0000

    multimedia/snapcast: Update 0.25.0 -> 0.26.0
    
    Reported by:    portscout
---
 multimedia/snapcast/Makefile  | 11 +++++++----
 multimedia/snapcast/distinfo  |  6 +++---
 multimedia/snapcast/pkg-plist |  3 +++
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/multimedia/snapcast/Makefile b/multimedia/snapcast/Makefile
index 8b9c9c097078..329c3d8c2674 100644
--- a/multimedia/snapcast/Makefile
+++ b/multimedia/snapcast/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	snapcast
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.25.0
+DISTVERSION=	0.26.0
 CATEGORIES=	multimedia audio
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -18,13 +18,13 @@ LIB_DEPENDS=	libavahi-common.so:net/avahi-app \
 		libvorbis.so:audio/libvorbis \
 		libsoxr.so:audio/libsoxr
 
-BROKEN=		error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'int' in initializer list 
-
-USES=		cmake compiler:c++14-lang pkgconfig
+USES=		cmake compiler:c++17-lang pkgconfig python shebangfix
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	badaix
 
+SHEBANG_FILES=	server/etc/plug-ins/meta_mpd.py
+
 OPTIONS_DEFINE=		CLIENT
 OPTIONS_DEFAULT=	CLIENT
 OPTIONS_SUB=		yes
@@ -33,4 +33,7 @@ CLIENT_DESC=		Build and install client in addition to server
 CLIENT_CMAKE_BOOL=	BUILD_CLIENT
 CLIENT_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 
+post-install: # workaround for https://github.com/badaix/snapcast/issues/1021
+	@${CHMOD} +r ${STAGEDIR}${PREFIX}/share/snapserver/plug-ins/meta_mpd.py
+
 .include <bsd.port.mk>
diff --git a/multimedia/snapcast/distinfo b/multimedia/snapcast/distinfo
index c55fd038dbc9..874b4bc107e1 100644
--- a/multimedia/snapcast/distinfo
+++ b/multimedia/snapcast/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621177575
-SHA256 (badaix-snapcast-v0.25.0_GH0.tar.gz) = c4e449cb693e091261727421f4965492be049632537e034fa9c59c92d091a846
-SIZE (badaix-snapcast-v0.25.0_GH0.tar.gz) = 1412827
+TIMESTAMP = 1655619767
+SHA256 (badaix-snapcast-v0.26.0_GH0.tar.gz) = 166353267a5c461a3a0e7cbd05d78c4bfdaebeda078801df3b76820b54f27683
+SIZE (badaix-snapcast-v0.26.0_GH0.tar.gz) = 1537036
diff --git a/multimedia/snapcast/pkg-plist b/multimedia/snapcast/pkg-plist
index 3269fac9eeb2..d5b476d1cf6c 100644
--- a/multimedia/snapcast/pkg-plist
+++ b/multimedia/snapcast/pkg-plist
@@ -5,6 +5,8 @@ etc/snapserver.conf
 share/man/man1/snapserver.1.gz
 %%CLIENT%%share/pixmaps/snapcast.svg
 share/snapserver/index.html
+share/snapserver/plug-ins/meta_mpd.py
+share/snapserver/snapweb/10-seconds-of-silence.mp3
 share/snapserver/snapweb/3rd-party/libflac.js
 share/snapserver/snapweb/config.js
 share/snapserver/snapweb/favicon.ico
@@ -13,6 +15,7 @@ share/snapserver/snapweb/launcher-icon.png
 share/snapserver/snapweb/manifest.json
 share/snapserver/snapweb/mute_icon.png
 share/snapserver/snapweb/play.png
+share/snapserver/snapweb/snapcast-512.png
 share/snapserver/snapweb/snapcontrol.js
 share/snapserver/snapweb/snapstream.js
 share/snapserver/snapweb/speaker_icon.png