wok rev 24165
updated opencv and opencv-dev (4.2.0 -> 4.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 28 08:42:55 2021 +0100 (2021-12-28) |
parents | e4805f18eb64 |
children | 7d48eab9ceeb |
files | opencv-dev/receipt opencv/description.txt opencv/receipt |
line diff
1.1 --- a/opencv-dev/receipt Sun Dec 26 17:19:46 2021 +0000 1.2 +++ b/opencv-dev/receipt Tue Dec 28 08:42:55 2021 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="opencv-dev" 1.7 -VERSION="4.2.0" 1.8 +VERSION="4.5.5" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Open source computer vision library - development files." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -14,9 +14,9 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/lib 1.17 +# mkdir -p $fs/usr/lib 1.18 1.19 # cp -a $install/usr/lib/*a $fs/usr/lib 1.20 # cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.21 - cp -a $install/usr/include $fs/usr 1.22 + cook_copy_folders include 1.23 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/opencv/description.txt Tue Dec 28 08:42:55 2021 +0100 2.3 @@ -0,0 +1,3 @@ 2.4 +OpenCV (Open Source Computer Vision Library: https://opencv.org) 2.5 +is an open-source library that includes several hundreds of 2.6 +computer vision algorithms.
3.1 --- a/opencv/receipt Sun Dec 26 17:19:46 2021 +0000 3.2 +++ b/opencv/receipt Tue Dec 28 08:42:55 2021 +0100 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="opencv" 3.7 -VERSION="4.2.0" 3.8 +VERSION="4.5.5" 3.9 CATEGORY="development" 3.10 SHORT_DESC="Open source computer vision library." 3.11 MAINTAINER="pascal.bellard@slitaz.org" 3.12 @@ -12,7 +12,7 @@ 3.13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION/$TARBALL" 3.14 3.15 DEPENDS="ffmpeg gcc83-lib-base gtk+ jpeg libpng tiff" 3.16 -BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls \ 3.17 +BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls 3.18 libpng-dev tiff-dev" 3.19 3.20 current_version() 3.21 @@ -28,21 +28,19 @@ 3.22 export CXX=g++-83 3.23 export LDFLAGS="$LDFLAGS -latomic" 3.24 3.25 - mkdir build && 3.26 - cd build && 3.27 + mkdir _build && 3.28 + cd _build && 3.29 cmake .. \ 3.30 - -DCMAKE_INSTALL_PREFIX=/usr \ 3.31 - -DENABLE_PRECOMPILED_HEADERS=OFF && 3.32 + -D CMAKE_INSTALL_PREFIX=/usr \ 3.33 + -D ENABLE_PRECOMPILED_HEADERS=OFF && 3.34 make && 3.35 - make DESTDIR=$DESTDIR install 3.36 + make install DESTDIR=$DESTDIR 3.37 } 3.38 3.39 # Rules to gen a SliTaz package suitable for Tazpkg. 3.40 genpkg_rules() 3.41 { 3.42 - mkdir -p $fs/usr/lib 3.43 - 3.44 - cp -a $install/usr/bin $fs/usr 3.45 - cp -a $install/usr/share $fs/usr 3.46 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.47 + cook_copy_folders bin 3.48 + cook_copy_folders share 3.49 + cook_copy_files *.so* 3.50 }