. "${GRIMOIRE}/FUNCTIONS"
. "${GRIMOIRE}/MESON_FUNCTIONS"
           SPELL="hyprland-protocols"
if [[ "${HYPRLAND_PROTOCOLS_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.6.4"
     SOURCE_HASH="sha512:81de4cdfc3123387dbcbaa588ea3b160977f318dfe07646c923e0401d5143318f6939a1636060fc2954270c9817ef89a0f415117cbdadce6ab4d212df1949bae"
          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/hyprland-protocols/tags tags/v([0-9.]+)[.]tar
fi
        WEB_SITE="https://github.com/hyprwm/hyprland-protocols"
         ENTERED="20250328"
      LICENSE[0]="BSD"
        KEYWORDS="wayland protocols hyprland"
           SHORT="Wayland protocol extensions for Hyprland"
cat << EOF
Wayland protocol extensions for Hyprland.
EOF
