. "$GRIMOIRE/FUNCTIONS" SPELL=mesalib if [[ -z $MESALIB_BRANCH ]]; then MESALIB_BRANCH="stable" fi case "$MESALIB_BRANCH" in stable) VERSION=7.9.2 ;; feature) VERSION=7.10.3 ;; development) VERSION=7.11.2 ;; scm) VERSION=$(get_scm_version) ;; esac if [[ "$MESALIB_BRANCH" == "scm" ]]; then SOURCE=$SPELL-git.tar.bz2 FORCE_DOWNLOAD="on" SOURCE_URL[0]=git://anongit.freedesktop.org/git/mesa/mesa:mesalib-git SOURCE_DIRECTORY=${BUILD_DIRECTORY}/mesalib-git SOURCE_IGNORE=volatile else SOURCE=MesaLib-${VERSION}.tar.bz2 SOURCE_URL[0]=ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$SOURCE SOURCE_DIRECTORY=${BUILD_DIRECTORY}/Mesa-${VERSION} SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME" fi PATCHLEVEL=1 LICENSE[0]=GPL WEB_SITE=http://www.mesa3d.org/ KEYWORDS="graphics libs" ENTERED=20021120 SHORT="Mesa implementation of the OpenGL(TM) API" cat << EOF Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL.* To the extent that Mesa utilizes the OpenGL command syntax or state machine, it is being used with authorization from Silicon Graphics, Inc.(SGI). However, the author does not possess an OpenGL license from SGI, and makes no claim that Mesa is in any way a compatible replacement for OpenGL or associated with SGI. Those who want a licensed implementation of OpenGL should contact a licensed vendor. EOF