diff options
author | Edward W. Koenig <kingbeowulf@linuxgalaxy.org> | 2024-03-18 18:44:33 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-23 08:17:17 +0700 |
commit | fe648eaafc30c8730e0feb193c128b9299fc308b (patch) | |
tree | 26d72e458b1a3b142e2f6b60715e029a9a5a0c2a | |
parent | 540bd782bbd6de7d8f21925b1aa0865c3533c4ec (diff) | |
download | slackbuilds-fe648eaafc30c8730e0feb193c128b9299fc308b.tar.gz slackbuilds-fe648eaafc30c8730e0feb193c128b9299fc308b.tar.xz |
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/README | 17 | ||||
-rw-r--r-- | 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 |