diff options
Diffstat (limited to 'multimedia/snapcast')
-rw-r--r-- | multimedia/snapcast/Makefile | 19 | ||||
-rw-r--r-- | multimedia/snapcast/distinfo | 6 | ||||
-rw-r--r-- | multimedia/snapcast/files/patch-CMakeLists.txt | 20 | ||||
-rw-r--r-- | multimedia/snapcast/pkg-descr | 2 | ||||
-rw-r--r-- | multimedia/snapcast/pkg-plist | 15 |
5 files changed, 19 insertions, 43 deletions
diff --git a/multimedia/snapcast/Makefile b/multimedia/snapcast/Makefile index 8b9c9c097078..1d9c36f64110 100644 --- a/multimedia/snapcast/Makefile +++ b/multimedia/snapcast/Makefile @@ -1,16 +1,18 @@ PORTNAME= snapcast DISTVERSIONPREFIX= v -DISTVERSION= 0.25.0 +DISTVERSION= 0.28.0 CATEGORIES= multimedia audio MAINTAINER= yuri@FreeBSD.org COMMENT= Multiroom client-server audio player +WWW= https://github.com/badaix/snapcast LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/asio.hpp:devel/boost-libs -LIB_DEPENDS= libavahi-common.so:net/avahi-app \ +LIB_DEPENDS= libasound.so:audio/alsa-lib \ + libavahi-common.so:net/avahi-app \ libexpat.so:textproc/expat2 \ libFLAC.so:audio/flac \ libogg.so:audio/libogg \ @@ -18,19 +20,24 @@ 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 server/etc/plug-ins/meta_mopidy.py \ + server/etc/plug-ins/meta_librespot-java.py + OPTIONS_DEFINE= CLIENT -OPTIONS_DEFAULT= CLIENT +OPTIONS_DEFAULT= #CLIENT OPTIONS_SUB= yes CLIENT_DESC= Build and install client in addition to server CLIENT_CMAKE_BOOL= BUILD_CLIENT CLIENT_LIB_DEPENDS= libpulse.so:audio/pulseaudio +CLIENT_BROKEN= Snapclient not yet supported for FreeBSD (according to CMakeLists.txt) # see https://github.com/badaix/snapcast/issues/1098 + +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..696c22c79e6b 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 = 1713585937 +SHA256 (badaix-snapcast-v0.28.0_GH0.tar.gz) = 7911037dd4b06fe98166db1d49a7cd83ccf131210d5aaad47507bfa0cfc31407 +SIZE (badaix-snapcast-v0.28.0_GH0.tar.gz) = 1198568 diff --git a/multimedia/snapcast/files/patch-CMakeLists.txt b/multimedia/snapcast/files/patch-CMakeLists.txt deleted file mode 100644 index 0b28024b3671..000000000000 --- a/multimedia/snapcast/files/patch-CMakeLists.txt +++ /dev/null @@ -1,20 +0,0 @@ ---- CMakeLists.txt.orig 2021-01-09 21:43:59 UTC -+++ CMakeLists.txt -@@ -73,7 +73,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - set(MACOSX TRUE) - elseif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") - set (FREEBSD TRUE) -- if (BUILD_CLIENT) -+ if (FALSE AND BUILD_CLIENT) - message(FATAL_ERROR "Snapclient not yet supported for FreeBSD, use \"-DBUILD_CLIENT=OFF\"") - endif() - elseif (${CMAKE_SYSTEM_NAME} MATCHES "Android") -@@ -163,7 +163,7 @@ if(NOT WIN32 AND NOT ANDROID) - list(APPEND INCLUDE_DIRS "/usr/local/include") - else() - -- pkg_search_module(ALSA REQUIRED alsa) -+ #pkg_search_module(ALSA REQUIRED alsa) - if (ALSA_FOUND) - add_definitions(-DHAS_ALSA) - endif (ALSA_FOUND) diff --git a/multimedia/snapcast/pkg-descr b/multimedia/snapcast/pkg-descr index a8f7afecbb28..4e92ab38a61f 100644 --- a/multimedia/snapcast/pkg-descr +++ b/multimedia/snapcast/pkg-descr @@ -9,5 +9,3 @@ play the same audio stream. One of the most generic ways to use Snapcast is in conjunction with the music player daemon (MPD) or Mopidy. - -WWW: https://github.com/badaix/snapcast diff --git a/multimedia/snapcast/pkg-plist b/multimedia/snapcast/pkg-plist index 3269fac9eeb2..580daa32b441 100644 --- a/multimedia/snapcast/pkg-plist +++ b/multimedia/snapcast/pkg-plist @@ -5,16 +5,7 @@ etc/snapserver.conf share/man/man1/snapserver.1.gz %%CLIENT%%share/pixmaps/snapcast.svg share/snapserver/index.html -share/snapserver/snapweb/3rd-party/libflac.js -share/snapserver/snapweb/config.js -share/snapserver/snapweb/favicon.ico +share/snapserver/plug-ins/meta_librespot-java.py +share/snapserver/plug-ins/meta_mopidy.py +share/snapserver/plug-ins/meta_mpd.py share/snapserver/snapweb/index.html -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/snapcontrol.js -share/snapserver/snapweb/snapstream.js -share/snapserver/snapweb/speaker_icon.png -share/snapserver/snapweb/stop.png -share/snapserver/snapweb/styles.css |