wok-6.x annotate ffmpegthumbnailer/receipt @ rev 21610
Up ffmpegthumbnailer (2.2.0)
author | maniac |
---|---|
date | Thu May 23 17:49:04 2019 +0300 (2019-05-23) |
parents | eccd0a10e94e |
children | 43fe4766fef4 |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="ffmpegthumbnailer" |
maniac@21610 | 4 VERSION="2.2.0" |
al@14742 | 5 CATEGORY="system-tools" |
pascal@14379 | 6 SHORT_DESC="Lightweight video thumbnailer that can be used by file managers" |
pascal@14379 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14653 | 8 LICENSE="GPL2" |
pascal@20673 | 9 WEB_SITE="https://github.com/dirkvdb/ffmpegthumbnailer" |
pascal@14379 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
maniac@21610 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
maniac@21610 | 12 |
pascal@14379 | 13 |
pascal@14379 | 14 DEPENDS="ffmpeg gcc-lib-base libjpeg libpng" |
pascal@20589 | 15 BUILD_DEPENDS="ffmpeg-dev libpng-dev jpeg-dev libgnutls" |
pascal@14379 | 16 |
pascal@14379 | 17 # Rules to configure and make the package. |
pascal@14379 | 18 compile_rules() |
pascal@14379 | 19 { |
pascal@21121 | 20 sed -i 's|return true|return boolean(true)|' \ |
pascal@21121 | 21 libffmpegthumbnailer/jpegwriter.cpp |
pascal@14379 | 22 ./configure \ |
pascal@14379 | 23 --enable-png \ |
pascal@14379 | 24 --enable-jpeg \ |
pascal@14379 | 25 --enable-gio \ |
pascal@14379 | 26 $CONFIGURE_ARGS && |
pascal@14379 | 27 make && |
pascal@14379 | 28 make install |
pascal@14379 | 29 } |
pascal@14379 | 30 |
pascal@14379 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 32 genpkg_rules() |
pascal@14379 | 33 { |
al@16780 | 34 mkdir -p $fs/usr/lib $fs/usr/share/thumbnailers |
pascal@14379 | 35 cp -a $install/usr/bin $fs/usr |
pascal@14379 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16780 | 37 cp -a $stuff/* $fs/usr/share/thumbnailers |
pascal@14379 | 38 } |