. "$GRIMOIRE/FUNCTIONS"
           SPELL=poppler
if [[ $POPPLER_BRANCH == scm ]]; then
         VERSION=$(get_scm_version)
          SOURCE=$SPELL-git.tar.bz2
  FORCE_DOWNLOAD=on
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
   SOURCE_URL[0]=git://git.freedesktop.org/git/poppler/poppler:poppler-git
   SOURCE_IGNORE=volatile
else
 if [[ $POPPLER_BRANCH == devel ]]; then
         VERSION=0.26.5
     SOURCE_HASH=sha512:c374865809ed0c0ba43b4218f1e2185d1692a74a16aef722b2c6388bed7fbd8eef6e809f10fa061b90e8e35f28be2a5858d7dd6bf9d1c0c6e3c23ed8026688cc
 else
         VERSION=0.26.5
     SOURCE_HASH=sha512:c374865809ed0c0ba43b4218f1e2185d1692a74a16aef722b2c6388bed7fbd8eef6e809f10fa061b90e8e35f28be2a5858d7dd6bf9d1c0c6e3c23ed8026688cc
 fi
          SOURCE=$SPELL-$VERSION.tar.xz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
   SOURCE_URL[0]=http://poppler.freedesktop.org/$SOURCE
fi
        WEB_SITE=http://poppler.freedesktop.org/
      LICENSE[0]=GPL
         ENTERED=20050502
  SECURITY_PATCH=5
           SHORT="PDF rendering library"
cat << EOF
Poppler is a PDF rendering library based on the xpdf-3.0 code base.
EOF
