1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust |
3 |
# This package is part of the KDE Stack. |
4 |
# |
5 |
|
6 |
|
7 |
%define rel 1 |
8 |
|
9 |
Name: ffmpegthumbs |
10 |
Summary: Video thumbnail generator for KDE4 file managers |
11 |
Epoch: 3 |
12 |
Version: 4.9.1 |
13 |
Release: %mkrel %{rel} |
14 |
Group: Graphical desktop/KDE |
15 |
License: GPLv2 |
16 |
Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
17 |
BuildRequires: kdelibs4-devel >= 2:%{version} |
18 |
BuildRequires: pkgconfig(libavcodec) |
19 |
BuildRequires: pkgconfig(libavformat) |
20 |
BuildRequires: pkgconfig(libswscale) |
21 |
|
22 |
%description |
23 |
FFmpegThumbs is a video thumbnails implementation for KDE4 based on |
24 |
FFmpegThumbnailer. |
25 |
|
26 |
This thumbnailer uses FFmpeg to decode frames from the video files, |
27 |
so supported video formats depend on the configuration flags of ffmpeg. |
28 |
|
29 |
This thumbnailer was designed to be as fast and lightweight as possible. |
30 |
|
31 |
%files |
32 |
%_kde_libdir/kde4/ffmpegthumbs.so |
33 |
%_kde_services/ffmpegthumbs.desktop |
34 |
|
35 |
#------------------------------------------------------------------------------ |
36 |
|
37 |
%prep |
38 |
%setup -q |
39 |
%apply_patches |
40 |
|
41 |
%build |
42 |
export LD=/usr/bin/ld.gold |
43 |
%cmake_kde4 |
44 |
%make |
45 |
|
46 |
%install |
47 |
%makeinstall_std -C build |