. "$GRIMOIRE/FUNCTIONS" SPELL=sdl2 if [ "$SDL2_BRANCH" == "scm" ]; then VERSION=2.0-$(get_scm_version) SOURCE=$SPELL-2.0-hg.tar.bz2 FORCE_DOWNLOAD=on SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-2.0-hg SOURCE_URL[0]=hg_http://hg.libsdl.org/SDL:$SPELL-2.0-hg SOURCE_IGNORE=volatile else VERSION=2.0.3 SOURCE=SDL2-$VERSION.tar.gz SOURCE2=$SOURCE.sig SOURCE2_IGNORE=signature SOURCE_GPG=A7763BE6.gpg:$SOURCE2:UPSTREAM_KEY SOURCE_URL[0]=http://www.libsdl.org/release/$SOURCE SOURCE2_URL[0]=$SOURCE_URL.sig SOURCE_DIRECTORY=$BUILD_DIRECTORY/SDL2-$VERSION fi WEB_SITE=http://www.libsdl.org/ ENTERED=20120127 LICENSE[0]=ZLIB DOCS="docs/html docs/index.html COPYING README*" KEYWORDS="libs" SHORT="Portable game library for low-level access to hardware." cat << EOF SDL is a library that allows you portable low-level access to a video framebuffer, audio output, mouse, and keyboard. With SDL, it is easy to write portable games which run on Linux (x86, Sparc, PPC, Alpha), Solaris (Sparc), Win32 (95, 98, NT), BeOS (x86), and MacOS (PPC). EOF .