wok-next view ffmpegthumbnailer/receipt @ rev 20402

Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 05 17:49:11 2017 +0200 (2017-12-05)
parents 346b104468cc
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ffmpegthumbnailer"
4 VERSION="2.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fast and lightweight video thumbnailer"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/dirkvdb/ffmpegthumbnailer"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake libjpeg-turbo-dev zlib-dev libpng16-dev ffmpeg-dev"
15 SPLIT="ffmpegthumbnailer-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build; cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DENABLE_GIO=ON \
25 -DENABLE_THUMBNAILER=ON \
26 .. &&
27 make &&
28 make install &&
30 addtypes="video/x-ms-asx;video/x-ms-wmx;video/x-ms-wvx;application/mxf;\vid\
31 eo/3gp;video/3gpp;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4v\
32 -es;video/msvideo;video/ogg;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/v\
33 nd.rn-realvideo;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;\
34 video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;vid\
35 eo/x-ogm+ogg;video/x-theora+ogg;" &&
36 sed -i "/MimeType=/ s|\$|$addtypes|" \
37 $install/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 case $PACKAGE in
44 ffmpegthumbnailer)
45 copy @std
46 DEPENDS="ffmpeg libjpeg-turbo libpng16 zlib"
47 ;;
48 *-dev)
49 copy @dev
50 DEPENDS="ffmpegthumbnailer ffmpeg-dev"
51 ;;
52 esac
53 }