# Watch: https://github.com/opencv/opencv/tags /refs/tags/([0-9.]+)[.]tar
source $GRIMOIRE/CMAKE_FUNCTIONS
           SPELL=opencv5
         VERSION=5.1.0
    SOURCE_HASH=sha512:e90c75b1ce8332639c853e14a59059ec9b89ffa1d5435ab59820f4fa2e12d30846592672af808817d542a91248b164f6d54eeb6331be52e48062113f24d4c835
           IPPV=ippicv_2020_lnx_intel64_20191018_general.tgz
            GIT=a56b6ac6f030c312b2dce17430eef13aed9af274
          SOURCE=${SPELL}-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL%?}-${VERSION}
            URL=https://github.com/opencv
  SOURCE_URL[0]=$URL/opencv/archive/$VERSION.tar.gz
if [[ -n $CV_CONTRIB ]];then
    SOURCE2_HASH=sha512:f9d7327fdb17ff86243c2942c6365c27a6672218a8c8e7520ea1a9b6a47633f5d5fe6ab479ea8e6ec126cec981fc5725f77b9712f9f8ebc066f296b3d9f6f147
         SOURCE2=opencv_contrib-$VERSION.tar.gz
  SOURCE2_URL[0]=$URL/opencv_contrib/archive/$VERSION.tar.gz
fi
         SOURCE3=${IPPV}
    SOURCE3_HASH=sha512:de6d80695cd6deef359376476edc4ff85fdddcf94972b936e0017f8a48aaa5d18f55c4253ae37deb83bff2f71410f68408063c88b5f3bf4df3c416aa93ceca87
  SOURCE3_URL[0]=https://raw.githubusercontent.com/opencv/opencv_3rdparty/$GIT/ippicv/$SOURCE3

           TMPFS=off
        WEB_SITE=https://opencv.org
      LICENSE[0]=BSD
         ENTERED=20260805
        KEYWORDS="graphics"
           SHORT="real time computer vision"
cat << EOF
The Open Computer Vision Library has > 2500 algorithms, documentation and
sample code for real time computer vision.
EOF
