blob: c086cdec3d044559d19027c643e9dd808df7632a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= snapcast
DISTVERSIONPREFIX= v
DISTVERSION= 0.26.0
PORTREVISION= 1
CATEGORIES= multimedia audio
MAINTAINER= yuri@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++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
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>
|