svn commit: r566577 - in head/multimedia: . snapcast snapcast/files

Yuri Victorovich yuri at FreeBSD.org
Fri Feb 26 01:33:41 UTC 2021


Author: yuri
Date: Fri Feb 26 01:33:39 2021
New Revision: 566577
URL: https://svnweb.freebsd.org/changeset/ports/566577

Log:
  New port: multimedia/snapcast: Multiroom client-server audio player

Added:
  head/multimedia/snapcast/
  head/multimedia/snapcast/Makefile   (contents, props changed)
  head/multimedia/snapcast/distinfo   (contents, props changed)
  head/multimedia/snapcast/files/
  head/multimedia/snapcast/files/patch-CMakeLists.txt   (contents, props changed)
  head/multimedia/snapcast/pkg-descr   (contents, props changed)
  head/multimedia/snapcast/pkg-plist   (contents, props changed)
Modified:
  head/multimedia/Makefile

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Fri Feb 26 01:14:43 2021	(r566576)
+++ head/multimedia/Makefile	Fri Feb 26 01:33:39 2021	(r566577)
@@ -359,6 +359,7 @@
     SUBDIR += smplayer-themes
     SUBDIR += sms1xxx-kmod
     SUBDIR += smtube
+    SUBDIR += snapcast
     SUBDIR += snappy
     SUBDIR += spigot
     SUBDIR += spook

Added: head/multimedia/snapcast/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/snapcast/Makefile	Fri Feb 26 01:33:39 2021	(r566577)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME=	snapcast
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.23.0
+CATEGORIES=	multimedia audio
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Multiroom client-server audio player
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/asio.hpp:devel/boost-libs
+LIB_DEPENDS=	libavahi-common.so:net/avahi-app \
+		libexpat.so:textproc/expat2 \
+		libFLAC.so:audio/flac \
+		libogg.so:audio/libogg \
+		libopus.so:audio/opus \
+		libvorbis.so:audio/libvorbis \
+		libsoxr.so:audio/libsoxr
+
+USES=		cmake compiler:c++14-lang pkgconfig
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	badaix
+
+OPTIONS_DEFINE=		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
+
+.include <bsd.port.mk>

Added: head/multimedia/snapcast/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/snapcast/distinfo	Fri Feb 26 01:33:39 2021	(r566577)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614300754
+SHA256 (badaix-snapcast-v0.23.0_GH0.tar.gz) = 70efdeea60021f493f77ba1f3d00784911463cad11c6df214ecb19d74899b611
+SIZE (badaix-snapcast-v0.23.0_GH0.tar.gz) = 1279670

Added: head/multimedia/snapcast/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/snapcast/files/patch-CMakeLists.txt	Fri Feb 26 01:33:39 2021	(r566577)
@@ -0,0 +1,20 @@
+--- 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)

Added: head/multimedia/snapcast/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/snapcast/pkg-descr	Fri Feb 26 01:33:39 2021	(r566577)
@@ -0,0 +1,13 @@
+Snapcast is a multiroom client-server audio player, where all clients are time
+synchronized with the server to play perfectly synced audio. It's not a
+standalone player, but an extension that turns your existing audio player into
+a Sonos-like multiroom solution.
+
+Audio is captured by the server and routed to the connected clients. Several
+players can feed audio to the server in parallel and clients can be grouped to
+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

Added: head/multimedia/snapcast/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/snapcast/pkg-plist	Fri Feb 26 01:33:39 2021	(r566577)
@@ -0,0 +1,18 @@
+%%CLIENT%%bin/snapclient
+bin/snapserver
+etc/snapserver.conf
+%%CLIENT%%man/man1/snapclient.1.gz
+man/man1/snapserver.1.gz
+share/snapserver/index.html
+share/snapserver/snapweb/3rd-party/libflac.js
+share/snapserver/snapweb/favicon.ico
+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


More information about the svn-ports-all mailing list