. "${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.6.7
     SOURCE_HASH=sha512:04e10a860774de00303df2cc84fe1b5a60711ececb85ec8fe0271b016237cfbb5afd7425a0613ff9257b117221964da50f5457df5390461001b711eff3618ec0
          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
