. "$GRIMOIRE/FUNCTIONS" source $GRIMOIRE/CMAKE_FUNCTIONS SPELL=poppler if [[ $POPPLER_BRANCH == scm ]]; then VERSION=$(get_scm_version) SOURCE=$SPELL-git.tar.xz 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.82.0 SOURCE_HASH=sha512:1631be30e398dd18a4e8c2cc893cf0d9469a98d93f02f2ffe3bc14857518b76674a10cafe89ee92b9886c3c6b03d50e214a6838c102f673a62789c9832cfa4a2 else VERSION=0.82.0 SOURCE_HASH=sha512:1631be30e398dd18a4e8c2cc893cf0d9469a98d93f02f2ffe3bc14857518b76674a10cafe89ee92b9886c3c6b03d50e214a6838c102f673a62789c9832cfa4a2 fi SOURCE=$SPELL-$VERSION.tar.xz SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION" SOURCE_URL[0]=https://poppler.freedesktop.org/$SOURCE fi WEB_SITE=https://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