UmVirt LFS Package info
DB commit: d35a620850806ab581b32cb34d268a904c9c0a5f
APP commit:
opencv
OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.Package info
Codename: opencv
Source file: opencv-3.4.2.zip
Source directory: opencv-3.4.2
Package URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/o/opencv-3.4.2.zip
Package md5-checksum URL: opencv-3.4.2.zip.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: *** NO PACKAGES FOUND ***
Patches: *** NO PATCHES FOUND ***
Addons: ippicv_2017u3_lnx_intel64_general_20180518.tgz, opencv_contrib-3.4.2.tar.gz.
Nestings *** NO NESTINGS FOUND ***
Unpack script:
unzip opencv-3.4.2.zip
Configuration script:
ipp_file=ippicv_2017u3_lnx_intel64_general_20180518.tgz &&
ipp_hash=$(md5sum ../$ipp_file | cut -d" " -f1) &&
ipp_dir=.cache/ippicv &&
mkdir -p $ipp_dir &&
cp ../$ipp_file $ipp_dir/$ipp_hash-$ipp_file
tar xf ../opencv_contrib-3.4.2.tar.gz
#sed -i 's/CV_RGB/cv::Scalar/' src/filter/facebl0r/facebl0r.cpp
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_CXX11=ON \
-DBUILD_PERF_TESTS=OFF \
-DWITH_XINE=ON \
-DBUILD_TESTS=OFF \
-DENABLE_PRECOMPILED_HEADERS=OFF \
-DCMAKE_SKIP_RPATH=ON \
-DBUILD_WITH_DEBUG_INFO=OFF \
-Wno-dev ..
Build script:
make
Install script:
make install &&
case \$(uname -m) in
x86_64) ARCH=intel64 ;;
*) ARCH=ia32 ;;
esac &&
cp -v 3rdparty/ippicv/ippicv_lnx/lib/\$ARCH/libippicv.a /usr/lib &&
unset ARCH
Apache/2.4.62 (Debian) Server at ulfs.org Port 443