wok-6.x rev 21617
updated opencv and opencv-dev (3.4.6 -> 4.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 24 18:01:06 2019 +0100 (2019-05-24) |
parents | 5d97883e7e44 |
children | 9b3e5f996086 |
files | opencv-dev/receipt opencv/receipt |
line diff
1.1 --- a/opencv-dev/receipt Thu May 23 22:39:27 2019 +0300 1.2 +++ b/opencv-dev/receipt Fri May 24 18:01:06 2019 +0100 1.3 @@ -1,21 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="opencv-dev" 1.7 -VERSION="3.1.0" 1.8 +VERSION="4.1.0" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Open source computer vision library development files" 1.11 +SHORT_DESC="Open source computer vision library - development files" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 WEB_SITE="https://opencv.org/" 1.15 -WANTED="opencv" 1.16 1.17 DEPENDS="opencv pkg-config" 1.18 +WANTED="opencv" 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 mkdir -p $fs/usr/lib 1.24 - cp -a $install/usr/lib/*a $fs/usr/lib 1.25 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.26 - cp -a $install/usr/include $fs/usr 1.27 + 1.28 +# cp -a $install/usr/lib/*a $fs/usr/lib 1.29 +# cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.30 + cp -a $install/usr/include $fs/usr 1.31 }
2.1 --- a/opencv/receipt Thu May 23 22:39:27 2019 +0300 2.2 +++ b/opencv/receipt Fri May 24 18:01:06 2019 +0100 2.3 @@ -1,23 +1,28 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="opencv" 2.7 -VERSION="3.4.6" 2.8 +VERSION="4.1.0" 2.9 CATEGORY="development" 2.10 -SHORT_DESC="Open source computer vision library" 2.11 +SHORT_DESC="Open source computer vision library." 2.12 MAINTAINER="pascal.bellard@slitaz.org" 2.13 LICENSE="BSD" 2.14 +WEB_SITE="https://opencv.org/" 2.15 + 2.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.17 -WEB_SITE="https://opencv.org/" 2.18 -WGET_URL="https://github.com/Itseez/opencv/archive/$VERSION.tar.gz" 2.19 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION/$TARBALL" 2.20 2.21 -DEPENDS="gtk+ ffmpeg jpeg tiff libpng" 2.22 -BUILD_DEPENDS="wget cmake gtk+-dev ffmpeg-dev jpeg-dev tiff-dev libpng-dev \ 2.23 -libgnutls" 2.24 +DEPENDS="ffmpeg gtk+ jpeg libpng tiff" 2.25 +BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls \ 2.26 + libpng-dev tiff-dev" 2.27 2.28 # Rules to configure and make the package. 2.29 compile_rules() 2.30 { 2.31 - mkdir build; cd build 2.32 + export CC=gcc-83 2.33 + export CXX=g++-83 2.34 + 2.35 + mkdir build 2.36 + cd build 2.37 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && 2.38 make && 2.39 make DESTDIR=$DESTDIR install 2.40 @@ -27,7 +32,8 @@ 2.41 genpkg_rules() 2.42 { 2.43 mkdir -p $fs/usr/lib 2.44 - cp -a $install/usr/bin $fs/usr 2.45 - cp -a $install/usr/share $fs/usr 2.46 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.47 + 2.48 + cp -a $install/usr/bin $fs/usr 2.49 + cp -a $install/usr/share $fs/usr 2.50 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.51 }