. "${GRIMOIRE}/FUNCTIONS"
. "${GRIMOIRE}/MESON_FUNCTIONS"
           SPELL="umockdev"
if [[ "${UMOCKDEV_BRANCH}" == "scm" ]]; then
         VERSION="$(get_scm_version)"
          SOURCE="${SPELL}-scm.tar.xz"
  FORCE_DOWNLOAD="on"
   SOURCE_URL[0]="git_http://github.com/martinpitt/${SPELL}:${SPELL}-scm:main"
   SOURCE_IGNORE="volatile"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
else
         VERSION="0.19.3"
     SOURCE_HASH="sha512:c0de1b6cbb0f2d6d880154c392cfc5a28e91079b16053acd76f50febb9073436d6cc9f4e0d354227169b1a6d6876e1c23dbbd8b835956f7b360af5ac24cd77b5"
          SOURCE="${SPELL}-${VERSION}.tar.xz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
   SOURCE_URL[0]="https://github.com//martinpitt/${SPELL}/releases/download/${VERSION}/${SOURCE}"
# Watch: https://github.com/martinpitt/umockdev/tags tags/([0-9.]+)[.]tar
fi
        WEB_SITE="https://launchpad.net/umockdev"
         ENTERED="20250308"
      LICENSE[0]="LGPL"
        KEYWORDS="mock hardware devices test bug reporting"
           SHORT="Mock hardware devices for creating unit tests and bug reporting"
cat << EOF
umockdev mocks Linux devices for creating integration tests for hardware
related libraries and programs. It also provides tools to record the
properties and behaviour of particular devices, and to run a program or test
suite under a test bed with the previously recorded devices loaded. This
allows developers of software like gphoto or libmtp to receive these records
in bug reports and recreate the problem on their system without having access
to the affected hardware.
EOF
