[games-fps/urbanterror] Added USE="voip" for internal sound chat support.

This commit is contained in:
Nils "holgersson" Freydank 2017-04-03 17:44:36 +02:00
parent aae71505ec
commit f45de05215
No known key found for this signature in database
GPG Key ID: 389761F3E6B0AABE
2 changed files with 7 additions and 6 deletions

View File

@ -17,7 +17,8 @@
<flag name="altgamma">Alternative way for gamma setting with modesetting driver</flag> <flag name="altgamma">Alternative way for gamma setting with modesetting driver</flag>
<flag name="dedicated">Build only server target - dedicated to hosting a server</flag> <flag name="dedicated">Build only server target - dedicated to hosting a server</flag>
<flag name="opus">Use opus as sound codec</flag> <flag name="opus">Use opus as sound codec</flag>
<flag name="mumble">Use Mumble for in-game VoIP (currently not supported by upstream)</flag> <flag name="mumble">Use Mumble for in-game VoIP (experimental)</flag>
<flag name="voip">Use ioq3 ingame VoIP (experimental)</flag>
<flag name="server">Build server target</flag> <flag name="server">Build server target</flag>
</use> </use>
<upstream> <upstream>

View File

@ -16,7 +16,7 @@ EGIT_BRANCH="urt"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="" KEYWORDS=""
IUSE="+altgamma +curl debug dedicated mumble openal +opus server +sdl vorbis" IUSE="+altgamma +curl debug dedicated mumble openal +opus server +sdl voip vorbis"
PATCHES=( PATCHES=(
"${FILESDIR}"/${P}-respect_CFLAGS.patch "${FILESDIR}"/${P}-respect_CFLAGS.patch
) )
@ -65,20 +65,20 @@ src_compile() {
BUILD_STANDALONE=1 \ BUILD_STANDALONE=1 \
SERVERBIN="Quake3-UrT-Ded" \ SERVERBIN="Quake3-UrT-Ded" \
CLIENTBIN="Quake3-UrT" \ CLIENTBIN="Quake3-UrT" \
USE_RENDERER_DLOPEN=0 \ USE_RENDERER_DLOPEN=1 \
USE_YACC=0 \ USE_YACC=0 \
BASEGAME="q3ut4"\ BASEGAME="q3ut4"\
BASEGAME_CFLAGS="${CFLAGS}" \ BASEGAME_CFLAGS="${CFLAGS}" \
USE_SDL=$(buildit sdl) \ USE_SDL=$(buildit sdl) \
USE_SDL_DLOPEN=$(buildit sdl) \ USE_SDL_DLOPEN=$(buildit sdl) \
USE_OPENAL=$(buildit openal) \ USE_OPENAL=$(buildit openal) \
USE_OPENAL_DLOPEN=0 \ USE_OPENAL_DLOPEN=1 \
USE_CURL=$(buildit curl) \ USE_CURL=$(buildit curl) \
USE_CURL_DLOPEN=0 \ USE_CURL_DLOPEN=1 \
USE_CODEC_VORBIS=$(buildit vorbis) \ USE_CODEC_VORBIS=$(buildit vorbis) \
USE_CODEC_OPUS=$(buildit opus) \ USE_CODEC_OPUS=$(buildit opus) \
USE_MUMBLE=$(buildit mumble) \ USE_MUMBLE=$(buildit mumble) \
USE_VOIP=0 \ USE_VOIP=$(buildit voip) \
USE_INTERNAL_LIBS=0 \ USE_INTERNAL_LIBS=0 \
USE_INTERNAL_ZLIB=1 \ USE_INTERNAL_ZLIB=1 \
USE_LOCAL_HEADERS=0 \ USE_LOCAL_HEADERS=0 \