. ${GRIMOIRE}/FUNCTIONS && SPELL=cairo case "$CAIRO_BRANCH" in scm) VERSION=$(get_scm_version) SOURCE=$SPELL-git.tar.bz2 SOURCE_URL[0]=git://anongit.freedesktop.org/git/cairo:cairo-git SOURCE_IGNORE=volatile FORCE_DOWNLOAD=1 SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git" ;; devel) VERSION=1.15.2 SOURCE_HASH=sha512:a2a92e8ef946308544e5403f494c01406f9bb73b681623fa913055baf17733f6b4769e395aacf305c553f5b95b5751b3ce8d9484e19f9fe4cf32d57cfaf27bd0 SOURCE=$SPELL-$VERSION.tar.xz SOURCE_URL[0]=http://cairographics.org/snapshots/$SOURCE SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION" ;; stable) VERSION=1.14.6 SOURCE_HASH=sha512:e2aa17a33b95b68d407b53ac321cca15b0c148eb49b8639c75b2af1e75e7b417a2168ea978dabb8581b341f0f45dc042d3b1a56b01ab525b1984015f0865316b SOURCE=$SPELL-$VERSION.tar.xz SOURCE_URL[0]=http://cairographics.org/releases/$SOURCE SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION" ;; esac WEB_SITE=http://cairographics.org/ LICENSE[0]=MIT ENTERED=20040617 KEYWORDS="x11 libs" SHORT="multi-platform 2D graphics library" cat << EOF Cairo is a vector graphics library with cross-device output support. Currently supported output targets include the X Window System and in-memory image buffers. PostScript and PDF file output is planned. Cairo is designed to produce identical output on all output media while taking advantage of display hardware acceleration when available (eg. through the X Render Extension). EOF