wok-6.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpegthumbnailer"
4 VERSION="2.2.0"
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="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="ffmpeg gcc-lib-base libjpeg libpng"
15 BUILD_DEPENDS="ffmpeg-dev libpng-dev jpeg-dev libgnutls"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|return true|return boolean(true)|' \
21 libffmpegthumbnailer/jpegwriter.cpp
22 ./configure \
23 --enable-png \
24 --enable-jpeg \
25 --enable-gio \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share/thumbnailers
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $stuff/* $fs/usr/share/thumbnailers
38 }