summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Edward W. Koenig2024-03-19 02:44:33 +0100
committer Willy Sudiarto Raharjo2024-03-23 02:17:17 +0100
commitfe648eaafc30c8730e0feb193c128b9299fc308b (patch)
tree26d72e458b1a3b142e2f6b60715e029a9a5a0c2a
parent540bd782bbd6de7d8f21925b1aa0865c3533c4ec (diff)
downloadslackbuilds-fe648eaafc30c8730e0feb193c128b9299fc308b.tar.gz
network/mumble-server: Added ICE option
Signed-off-by: Edward W. Koenig <kingbeowulf@linuxgalaxy.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/mumble-server/README17
-rw-r--r--network/mumble-server/mumble-server.SlackBuild9
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