# HG changeset patch # User Hans-G?nter Theisgen # Date 1593200893 -3600 # Node ID 6e18230929660e02da69c1079f6701e7251db87a # Parent 03c5beab85e782bb8034340babc1537a7de3156b updated ffmpegthumbnailer (2.2.0 -> 2.2.2) diff -r 03c5beab85e7 -r 6e1823092966 ffmpegthumbnailer/receipt --- a/ffmpegthumbnailer/receipt Fri Jun 26 17:48:40 2020 +0100 +++ b/ffmpegthumbnailer/receipt Fri Jun 26 20:48:13 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="ffmpegthumbnailer" -VERSION="2.2.0" +VERSION="2.2.2" CATEGORY="system-tools" SHORT_DESC="Fast and lightweight video thumbnailer" MAINTAINER="al.bobylev@gmail.com" @@ -11,18 +11,18 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/$VERSION/$TARBALL" -BUILD_DEPENDS="cmake libjpeg-turbo-dev zlib-dev libpng-dev ffmpeg-dev" +BUILD_DEPENDS="cmake ffmpeg-dev libjpeg-turbo-dev libpng-dev zlib-dev" SPLIT="$PACKAGE-dev" -compile_rules() { +compile_rules() +{ mkdir build cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DENABLE_GIO=ON \ - -DENABLE_THUMBNAILER=ON \ - .. && + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DENABLE_GIO=ON \ + -DENABLE_THUMBNAILER=ON && make && make install || return 1 @@ -32,11 +32,13 @@ nd.rn-realvideo;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;\ video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;vid\ eo/x-ogm+ogg;video/x-theora+ogg;" + sed -i "/MimeType=/ s|\$|$addtypes|" \ $install/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer } -genpkg_rules() { +genpkg_rules() +{ case $PACKAGE in ffmpegthumbnailer) copy @std @@ -44,7 +46,7 @@ ;; *-dev) copy @dev - DEPENDS="ffmpegthumbnailer ffmpeg-dev" + DEPENDS="ffmpeg-dev ffmpegthumbnailer" ;; esac }