2 # Copyright (C) 2019 Ian Kelling
3 # SPDX-License-Identifier: AGPL-3.0-or-later
5 if ! test "$BASH_VERSION"; then echo "error: shell is not bash" >&2; exit 1; fi
6 shopt -s inherit_errexit
2>/dev
/null ||
: # ignore fail in bash < 4.4
8 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" exit status: $?, PIPESTATUS: ${PIPESTATUS[*]}" >&2' ERR
10 if [[ -s ~
/.bashrc
]];then . ~
/.bashrc
;fi
31 libavahi-compat-libdnssd-dev
38 mkc
/a
/opt
/mumble
/build
40 # just looked through cmake_options.md and picked things that looked good. oss, alsa, portaudio, pipewire are off just to avoid superflous options we dont use.
41 cmake
-Dcoreaudio=OFF
-Dzeroconf=OFF
-Doss=OFF
-Dportaudio=OFF
-Dalsa=OFF
-Dpipewire=OFF
-Dserver=OFF
-Doverlay-xcompile=OFF
-Doverlay=OFF
-Dupdate=OFF
-Dwasapi=OFF
-Dxboxinput=OFF
-Dlto=ON
-Doptimize=ON ..