wok-6.x view ffmpegthumbnailer/receipt @ rev 23591

python-pysol-cards: added build dependency
author Hans-G?nter Theisgen
date Wed Apr 08 10:35:39 2020 +0100 (2020-04-08)
parents 43fe4766fef4
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpegthumbnailer"
4 VERSION="2.2.2"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="ffmpeg gcc83-lib-base libjpeg libpng"
15 BUILD_DEPENDS="cmake ffmpeg-dev gcc83 jpeg-dev libgnutls libpng-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
23 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 mkdir -p $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 }