wok-6.x view ffmpegthumbnailer/receipt @ rev 24985
Add python-future
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 10 07:46:58 2022 +0000 (2022-05-10) |
parents | 919d2a3148b6 |
children |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CC=gcc-83
27 export CXX=g++-83
29 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 mkdir -p $fs/usr/share/thumbnailers
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $stuff/* $fs/usr/share/thumbnailers
43 }