ffmpegthumbnailer-2.2.3

This commit is contained in:
uglyside
2025-01-30 19:17:17 +03:00
parent b4191ce4a3
commit bad3848c9c
2 changed files with 31 additions and 35 deletions
@@ -4,28 +4,25 @@
# 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
from pisi.actionsapi import cmaketools, mesontools, pisitools
j = "-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_DIR=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_THUMBNAILER=ON \
-DENABLE_GIO=ON \
-DENABLE_TESTS=OFF \
"
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_INSTALL_DIR=/usr',
' -DCMAKE_INSTALL_LIBDIR=lib',
' -DENABLE_THUMBNAILER=ON',
' -DENABLE_GIO=ON',
' -DENABLE_TESTS=OFF',
' -Bbuild -G Ninja -L '
])
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()
mesontools.build()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README.md")
mesontools.install()
pisitools.dodoc("AUTHORS", "COPYING")
+18 -19
View File
@@ -9,42 +9,34 @@
<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>
<Summary>The video thumbnailer.</Summary>
<Description>A lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files.</Description>
<Archive sha1sum="64f3f11e66a8543904ea06de0d199ebc2e117f73" type="targz">https://github.com/dirkvdb/ffmpegthumbnailer/archive/2.2.3/ffmpegthumbnailer-2.2.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">198.patch</Patch>
<Patch level="1">efb5b618.patch</Patch>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>ffmpegthumbnailer</Name>
<RuntimeDependencies>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>libjpeg-turbo</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>
@@ -61,6 +53,13 @@
</Package>
<History>
<Update release="3">
<Date>2025-01-30</Date>
<Version>2.2.3</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="2">
<Date>2024-08-10</Date>
<Version>2.2.2</Version>