wok diff opencv/receipt @ rev 23986
syslinux: fix iso2exe/init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 12:35:41 2020 +0000 (2020-12-02) |
parents | 1e0e339f9dcc |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/opencv/receipt Tue Aug 20 19:44:03 2019 +0200 1.2 +++ b/opencv/receipt Wed Dec 02 12:35:41 2020 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="opencv" 1.7 -VERSION="4.1.0" 1.8 +VERSION="4.2.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Open source computer vision library." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,7 +11,7 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION/$TARBALL" 1.15 1.16 -DEPENDS="ffmpeg gtk+ jpeg libpng tiff" 1.17 +DEPENDS="ffmpeg gcc83-lib-base gtk+ jpeg libpng tiff" 1.18 BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls \ 1.19 libpng-dev tiff-dev" 1.20 1.21 @@ -20,10 +20,13 @@ 1.22 { 1.23 export CC=gcc-83 1.24 export CXX=g++-83 1.25 + export LDFLAGS="$LDFLAGS -latomic" 1.26 1.27 - mkdir build 1.28 - cd build 1.29 - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_PRECOMPILED_HEADERS=OFF && 1.30 + mkdir build && 1.31 + cd build && 1.32 + cmake .. \ 1.33 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.34 + -DENABLE_PRECOMPILED_HEADERS=OFF && 1.35 make && 1.36 make DESTDIR=$DESTDIR install 1.37 }