. "${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.4
     SOURCE_HASH=sha512:31c611592580869be53b4a0e1b3836343970c765481263a83205cb61068d2b82db718d590dce51ff1a0ba86afbec04b310a5fdf148901313d0d5c90f29c66b4d
          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
