wok-next rev 21650
updated ffmpegthumbnailer (2.2.0 -> 2.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 20:48:13 2020 +0100 (2020-06-26) |
parents | 03c5beab85e7 |
children | 92b22c1adcf0 |
files | ffmpegthumbnailer/receipt |
line diff
1.1 --- a/ffmpegthumbnailer/receipt Fri Jun 26 17:48:40 2020 +0100 1.2 +++ b/ffmpegthumbnailer/receipt Fri Jun 26 20:48:13 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="ffmpegthumbnailer" 1.7 -VERSION="2.2.0" 1.8 +VERSION="2.2.2" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Fast and lightweight video thumbnailer" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 @@ -11,18 +11,18 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 WGET_URL="https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/$VERSION/$TARBALL" 1.15 1.16 -BUILD_DEPENDS="cmake libjpeg-turbo-dev zlib-dev libpng-dev ffmpeg-dev" 1.17 +BUILD_DEPENDS="cmake ffmpeg-dev libjpeg-turbo-dev libpng-dev zlib-dev" 1.18 SPLIT="$PACKAGE-dev" 1.19 1.20 -compile_rules() { 1.21 +compile_rules() 1.22 +{ 1.23 mkdir build 1.24 cd build 1.25 - cmake \ 1.26 - -DCMAKE_INSTALL_PREFIX=/usr \ 1.27 - -DCMAKE_BUILD_TYPE=Release \ 1.28 - -DENABLE_GIO=ON \ 1.29 - -DENABLE_THUMBNAILER=ON \ 1.30 - .. && 1.31 + cmake .. \ 1.32 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.33 + -DCMAKE_BUILD_TYPE=Release \ 1.34 + -DENABLE_GIO=ON \ 1.35 + -DENABLE_THUMBNAILER=ON && 1.36 make && 1.37 make install || return 1 1.38 1.39 @@ -32,11 +32,13 @@ 1.40 nd.rn-realvideo;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;\ 1.41 video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;vid\ 1.42 eo/x-ogm+ogg;video/x-theora+ogg;" 1.43 + 1.44 sed -i "/MimeType=/ s|\$|$addtypes|" \ 1.45 $install/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer 1.46 } 1.47 1.48 -genpkg_rules() { 1.49 +genpkg_rules() 1.50 +{ 1.51 case $PACKAGE in 1.52 ffmpegthumbnailer) 1.53 copy @std 1.54 @@ -44,7 +46,7 @@ 1.55 ;; 1.56 *-dev) 1.57 copy @dev 1.58 - DEPENDS="ffmpegthumbnailer ffmpeg-dev" 1.59 + DEPENDS="ffmpeg-dev ffmpegthumbnailer" 1.60 ;; 1.61 esac 1.62 }