[games-fps/urbanterror] Added specifics about USE="+altgamma" (recommended!)

This commit is contained in:
Nils "holgersson" Freydank 2017-04-01 00:34:53 +02:00
parent 57a6fe2dda
commit 8adc7cb809
No known key found for this signature in database
GPG Key ID: 389761F3E6B0AABE
2 changed files with 11 additions and 3 deletions

View File

@ -14,7 +14,7 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="altgamma">Clearskies - X11-based gamma for Linux</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="opus">Use opus as sound codec</flag>
<flag name="mumble">Use Mumble for in-game VoIP (currently not supported by upstream)</flag>

View File

@ -7,7 +7,6 @@ inherit git-r3
# TODO:
# unbundle zlib
# set LICENSE only for the engine or for game-data, too in *this* ebuild?
# fix USE="-altgamma"
DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine"
HOMEPAGE="http://urbanterror.info"
@ -116,11 +115,20 @@ pkg_postinst() {
elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work."
einfo
fi
if use altgamma ; then
if use altgamma; then
einfo
elog "You might need to set:"
elog " seta r_altgamma \"1\""
elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work."
einfo
fi
if ! use altgamma; then
einfo
elog "If you are using a modesetting graphics driver you might"
elog "consider setting USE=\"altgamma\"."
elog "For details take a look on:"
elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222"
einfo
fi
fi
}