. "${GRIMOIRE}/FUNCTIONS"
. "${GRIMOIRE}/MESON_FUNCTIONS"
           SPELL=pipewire
if [[ "${PIPEWIRE_BRANCH}" == "scm" ]]; then
         VERSION=$(get_scm_version)
          SOURCE=${SPELL}-git.tar.xz
   SOURCE_URL[0]="git_http://gitlab.freedesktop.org/${SPELL}/${SPELL}:${SPELL}-git"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
   SOURCE_IGNORE=volatile
  FORCE_DOWNLOAD=on
else
         VERSION=1.5.84
     SOURCE_HASH=sha512:8ea7c0a608edbafd594d22d6ee060fd484c26349df30de82fecc12dec379c26eca29cc5a19e96c2f692edd1750aff740331e532074db509c324f03a21f8c429c
          SOURCE=$SPELL-$VERSION.tar.bz2
   SOURCE_URL[0]="https://gitlab.freedesktop.org/${SPELL}/${SPELL}/-/archive/${VERSION}/${SOURCE}"
# Watch: https://gitlab.freedesktop.org/pipewire/pipewire/-/tags pipewire-([0-9.]+)[.]tar
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
fi
        WEB_SITE=https://pipewire.org
      LICENSE[0]=GPL
         ENTERED=20180201
        KEYWORDS=""
           SHORT="Server for handling audio and video streams and hardware on Linux"
cat << EOF
PipeWire is a project that aims to greatly improve handling of audio and video
under Linux. It aims to support the usecases currently handled by both
PulseAudio and Jack and at the same time provide same level of powerful handling
of Video input and output. It also introduces a security model that makes
interacting with audio and video devices from containerized releases easy, with
supporting Flatpak applications being the primary goal. Alongside Wayland and
Flatpak we expect PipeWire to provide a core building block for the future of
Linux application development.
EOF
