. "${GRIMOIRE}/FUNCTIONS"
. "${GRIMOIRE}/CMAKE_FUNCTIONS"
           SPELL="hyprgraphics"
if [[ "${HYPRGRAPHICS_BRANCH}" == "scm" ]]; then
         VERSION="$(get_scm_version)"
          SOURCE="${SPELL}-scm.tar.xz"
  FORCE_DOWNLOAD="on"
   SOURCE_URL[0]="git_http://github.com/hyprwm/${SPELL}:${SPELL}-scm:main"
   SOURCE_IGNORE="volatile"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
else
         VERSION="0.5.1"
     SOURCE_HASH="sha512:5e0a9717536bef833a148e68ad61f479d445dc0e6ee23a0b3b8b922cc1939e0256e26ecfcf7709e4ec057197699c6145cf0b2228785a1061c1412d2b2c962be6"
          SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
   SOURCE_URL[0]="https://github.com/hyprwm/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz"
# Watch: https://github.com/hyprwm/hyprgraphics/tags tags/v([0-9.]+)[.]tar
fi
        WEB_SITE="https://github.com/hyprwm/hyprgraphics"
         ENTERED="20241214"
      LICENSE[0]="BSD"
        KEYWORDS="wayland graphics resources utilities"
           SHORT="Hyprland graphics / resource utilities"
cat << EOF
Hyprgraphics is a small C++ library with graphics / resource related utilities
used across the hypr* ecosystem.
EOF
