wok-current annotate ffmpegthumbnailer/receipt @ rev 21448
updated mk-livestatus (1.2.2 -> 1.2.8p25)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 29 16:37:24 2019 +0100 (2019-04-29) |
parents | e3f377fbc5f0 |
children | 25a18b94dcb7 |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="ffmpegthumbnailer" |
pascal@14379 | 4 VERSION="2.0.8" |
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" |
pascal@14379 | 11 WGET_URL="http://ffmpegthumbnailer.googlecode.com/files/$TARBALL" |
pascal@14379 | 12 |
pascal@14379 | 13 DEPENDS="ffmpeg gcc-lib-base libjpeg libpng" |
pascal@20589 | 14 BUILD_DEPENDS="ffmpeg-dev libpng-dev jpeg-dev libgnutls" |
pascal@14379 | 15 |
pascal@14379 | 16 # Rules to configure and make the package. |
pascal@14379 | 17 compile_rules() |
pascal@14379 | 18 { |
pascal@21121 | 19 sed -i 's|return true|return boolean(true)|' \ |
pascal@21121 | 20 libffmpegthumbnailer/jpegwriter.cpp |
pascal@14379 | 21 ./configure \ |
pascal@14379 | 22 --enable-png \ |
pascal@14379 | 23 --enable-jpeg \ |
pascal@14379 | 24 --enable-gio \ |
pascal@14379 | 25 $CONFIGURE_ARGS && |
pascal@14379 | 26 make && |
pascal@14379 | 27 make install |
pascal@14379 | 28 } |
pascal@14379 | 29 |
pascal@14379 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 31 genpkg_rules() |
pascal@14379 | 32 { |
al@16780 | 33 mkdir -p $fs/usr/lib $fs/usr/share/thumbnailers |
pascal@14379 | 34 cp -a $install/usr/bin $fs/usr |
pascal@14379 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16780 | 36 cp -a $stuff/* $fs/usr/share/thumbnailers |
pascal@14379 | 37 } |