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. # Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools from pisi.actionsapi import cmaketools, mesontools, pisitools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "-DCMAKE_BUILD_TYPE=Release \ j = ''.join([
-DCMAKE_INSTALL_DIR=/usr \ ' -DCMAKE_BUILD_TYPE=Release',
-DCMAKE_INSTALL_LIBDIR=lib \ ' -DCMAKE_INSTALL_DIR=/usr',
-DENABLE_THUMBNAILER=ON \ ' -DCMAKE_INSTALL_LIBDIR=lib',
-DENABLE_GIO=ON \ ' -DENABLE_THUMBNAILER=ON',
-DENABLE_TESTS=OFF \ ' -DENABLE_GIO=ON',
" ' -DENABLE_TESTS=OFF',
' -Bbuild -G Ninja -L '
])
def setup(): def setup():
# pisitools.dosed("libffmpegthumbnailer/pngwriter.cpp", "#include <cassert>", "#include <cassert>\n#include <cstring>")
pisitools.cxxflags.add("-Wno-deprecated-declarations")
cmaketools.configure(j) cmaketools.configure(j)
def build(): def build():
cmaketools.make() mesontools.build()
def install(): def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) mesontools.install()
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README.md")
pisitools.dodoc("AUTHORS", "COPYING")
+18 -19
View File
@@ -9,42 +9,34 @@
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<License>GPLv2</License> <License>GPLv2</License>
<Summary> <Summary>The video thumbnailer.</Summary>
Lightweight video thumbnailer that can be used by file managers to create thumbnails for video files. <Description>A lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files.</Description>
</Summary> <Archive sha1sum="64f3f11e66a8543904ea06de0d199ebc2e117f73" type="targz">https://github.com/dirkvdb/ffmpegthumbnailer/archive/2.2.3/ffmpegthumbnailer-2.2.3.tar.gz</Archive>
<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> <BuildDependencies>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>cmake</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> </BuildDependencies>
<Patches> <Patches>
<Patch level="1">198.patch</Patch> <!-- <Patch level="1"></Patch> -->
<Patch level="1">efb5b618.patch</Patch>
</Patches> </Patches>
</Source> </Source>
<Package> <Package>
<Name>ffmpegthumbnailer</Name> <Name>ffmpegthumbnailer</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<Dependency>libpng</Dependency> <Dependency>libpng</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path> <Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
@@ -61,6 +53,13 @@
</Package> </Package>
<History> <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"> <Update release="2">
<Date>2024-08-10</Date> <Date>2024-08-10</Date>
<Version>2.2.2</Version> <Version>2.2.2</Version>