wok-6.x view ffmpegthumbnailer/receipt @ rev 21184
get-xnviewmp: finetuning
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 03 14:24:54 2019 +0100 (2019-04-03) |
parents | e3f377fbc5f0 |
children | 25a18b94dcb7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpegthumbnailer"
4 VERSION="2.0.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Lightweight video thumbnailer that can be used by file managers"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/dirkvdb/ffmpegthumbnailer"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ffmpegthumbnailer.googlecode.com/files/$TARBALL"
13 DEPENDS="ffmpeg gcc-lib-base libjpeg libpng"
14 BUILD_DEPENDS="ffmpeg-dev libpng-dev jpeg-dev libgnutls"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|return true|return boolean(true)|' \
20 libffmpegthumbnailer/jpegwriter.cpp
21 ./configure \
22 --enable-png \
23 --enable-jpeg \
24 --enable-gio \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/thumbnailers
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $stuff/* $fs/usr/share/thumbnailers
37 }