# Watch: https://github.com/opencv/opencv/tags /refs/tags/([0-9.]+)[.]tar
source $GRIMOIRE/CMAKE_FUNCTIONS
           SPELL=opencv4
         VERSION=4.13.0
    SOURCE_HASH=sha512:ad677353cc1a4e51f2b9790724890eb65ec7633e0a658d63862767365b83d46e85791d691733e88c0f53d2b7294029c1b1ad8e5509c27d2edba8af7d63ade21e
           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 ! list_find "$CV_CONTRIB" none ;then
    SOURCE2_HASH=sha512:e8e8588f885ade13db715f79b483b112c8c25b005f07e202ed93d65d5b6abb90fa379808fd9a4c67bec176f1dfdfefefc4a770d5c55441e128f0f7c8ed813297
         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=20150917
        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
