From fe648eaafc30c8730e0feb193c128b9299fc308b Mon Sep 17 00:00:00 2001 From: "Edward W. Koenig" Date: Mon, 18 Mar 2024 18:44:33 -0700 Subject: network/mumble-server: Added ICE option Signed-off-by: Edward W. Koenig Signed-off-by: Willy Sudiarto Raharjo --- network/mumble-server/README | 17 +++++++++-------- network/mumble-server/mumble-server.SlackBuild | 9 ++++++++- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/network/mumble-server/README b/network/mumble-server/README index 7beb778f42..b4c6caeeee 100644 --- a/network/mumble-server/README +++ b/network/mumble-server/README @@ -1,15 +1,13 @@ mumble-sever is the VoIP server component for Mumble. Murmur is -installed in a system-wide fashion, but can also be run by individual -users. Each mumble-server process supports multiple virtual servers, -each with their own user base and channel list. Administration of -mumble-server is done through D-Bus. +installed in a system-wide fashion, but can also be run by +individual users. Each mumble-server process supports multiple virtual +servers, each with their own user base and channel list. +Administration of mumble-server is done through D-Bus. -This script requires the system to have a mumble-server user and -group: +This script requires the system to have a mumble-server user and group: # groupadd -g 261 murmur - # useradd -g murmur -u 261 -d /var/lib/mumble-server \ - -s /bin/false murmur + # useradd -g murmur -u 261 -d /var/lib/mumble-server -s /bin/false murmur To use a different user and/or group: @@ -30,3 +28,6 @@ Not all of the upstream documentation has been updated yet. Notes: - This does not build the mumble client (mumble). +- ZeroC Ice is optional for server RPC support. Build with + ICE=yes ./mumble-server.SlackBuild + See: https://wiki.mumble.info/wiki/Ice diff --git a/network/mumble-server/mumble-server.SlackBuild b/network/mumble-server/mumble-server.SlackBuild index 26b486b68c..fd4e4b4fba 100644 --- a/network/mumble-server/mumble-server.SlackBuild +++ b/network/mumble-server/mumble-server.SlackBuild @@ -31,6 +31,7 @@ VERSION=${VERSION:-1.4.287} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ICE=${ICE:-no} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -67,6 +68,12 @@ if ! getent passwd $MURMUR_USER; then exit 1 fi +if [ "$ICE" = "no" ]; then + BUILD_ICE="-Dice=OFF" +else + BUILD_ICE="-Dice=ON" +fi + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -109,7 +116,7 @@ cmake \ -DCMAKE_BUILD_TYPE=Release \ -Dclient=OFF \ -Dserver=ON \ - -Dice=OFF \ + $BUILD_ICE \ -Dzeroconf=OFF .. make -- cgit v1.2.3