• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão385bbcc0b8119163c1ff9e6debd5243201f30474 (tree)
Hora2023-10-18 16:44:12
Autormatsuand <30614168+matsuand@user...>
Commitermatsuand

Mensagem de Log

[BLFS] Update opencv-4.8.1.

Mudança Sumário

Diff

--- a/BLFS/opencv.sh
+++ b/BLFS/opencv.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=opencv
6-VER=2.4.7
6+VER=4.8.1
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
@@ -11,9 +11,8 @@ TARGETDIR=$TARGET
1111 echo $TARGET
1212
1313 . $WRK/_checkRequired.sh \
14- cmake
15-. $WRK/_checkOptions.sh \
16- libdc1394 openexr video4linux ffmpeg
14+ cmake unzip
15+. $WRK/_checkOptions.sh ""
1716 . $WRK/_checkTarball.sh
1817 . $WRK/_checkExit.sh "$1" || exit $?
1918
@@ -25,12 +24,22 @@ TimeStart
2524
2625 cd $TARGETDIR
2726
27+tar -xf $DLD/opencv_contrib-$VER.tar.gz || echo exit 1
28+
2829 mkdir build
2930 cd build
3031
3132 echo Cmaking...
32-cmake .. \
33- -DCMAKE_INSTALL_PREFIX=/usr \
33+cmake -DCMAKE_INSTALL_PREFIX=/usr \
34+ -DCMAKE_BUILD_TYPE=Release \
35+ -DENABLE_CXX11=ON \
36+ -DBUILD_PERF_TESTS=OFF \
37+ -DWITH_XINE=ON \
38+ -DBUILD_TESTS=OFF \
39+ -DENABLE_PRECOMPILED_HEADERS=OFF \
40+ -DCMAKE_SKIP_RPATH=ON \
41+ -DBUILD_WITH_DEBUG_INFO=OFF \
42+ -Wno-dev .. \
3443 1> $LOG/$TARGET.1_cmake.log 2>&1 || exit 1
3544
3645 Making
@@ -38,12 +47,12 @@ make \
3847 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
3948
4049 Installing
41-paco -p $TARGET "make install" \
50+porg -lp $TARGET -E$PWD "make install" \
4251 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
4352
4453 TimeEnd
4554
4655 cd ../..
4756 RemoveSrcDir
48-PacoingDone
57+PorgingDone
4958