This commit is contained in:
4fury-c3440d8
2020-12-06 17:56:01 +00:00
parent 53ba4fd611
commit 5c7ad413e0
15 changed files with 688 additions and 0 deletions
@@ -0,0 +1,31 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_DIR=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_THUMBNAILER=ON \
-DENABLE_GIO=ON \
-DENABLE_TESTS=OFF \
"
def setup():
# pisitools.dosed("libffmpegthumbnailer/pngwriter.cpp", "#include <cassert>", "#include <cassert>\n#include <cstring>")
pisitools.cxxflags.add("-Wno-deprecated-declarations")
cmaketools.configure(j)
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README.md")
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ffmpegthumbnailer</Name>
<Homepage>https://github.com/dirkvdb/ffmpegthumbnailer</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Summary>
Lightweight video thumbnailer that can be used by file managers to create thumbnails for video files.
</Summary>
<Description>
FFmpegthumbnailer is a lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files. The thumbnailer uses ffmpeg to decode frames from the video files, so supported videoformats depend on the configuration flags of ffmpeg.
</Description>
<Archive sha1sum="b17350070794f5a1e40d18a9f403d9c5d77da14b" type="tarbz2">
https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/2.2.2/ffmpegthumbnailer-2.2.2.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>ffmpegthumbnailer</Name>
<RuntimeDependencies>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>ffmpegthumbnailer-devel</Name>
<Summary>Development files for ffmpegthumbnailer</Summary>
<RuntimeDependencies>
<Dependency release="current">ffmpegthumbnailer</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-12-06</Date>
<Version>2.2.2</Version>
<Comment>First Beta release.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ffmpegthumbnailer</Name>
<Summary xml:lang="tr">Dosya yöneticileri için hafif görüntü önizleyicisi</Summary>
<Description xml:lang="tr">Ffmpeg Thumbnailer, görüntü dosyalarınız için dosya yöneticilerinizde önizlemeler oluşturmaya yarar.</Description>
</Source>
<Package>
<Name>ffmpegthumbnailer-devel</Name>
<Summary xml:lang="tr">Ffmpegthumbnailer için geliştirme dosyaları</Summary>
</Package>
</PISI>