From bad3848c9c507d2dec04c0c3fdd77a65792ac97c Mon Sep 17 00:00:00 2001 From: uglyside Date: Thu, 30 Jan 2025 19:17:17 +0300 Subject: [PATCH] ffmpegthumbnailer-2.2.3 --- .../graphics/ffmpegthumbnailer/actions.py | 29 +++++++-------- .../graphics/ffmpegthumbnailer/pspec.xml | 37 +++++++++---------- 2 files changed, 31 insertions(+), 35 deletions(-) diff --git a/multimedia/graphics/ffmpegthumbnailer/actions.py b/multimedia/graphics/ffmpegthumbnailer/actions.py index bd9ff0a48f..1547558926 100644 --- a/multimedia/graphics/ffmpegthumbnailer/actions.py +++ b/multimedia/graphics/ffmpegthumbnailer/actions.py @@ -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 ", "#include \n#include ") - 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") diff --git a/multimedia/graphics/ffmpegthumbnailer/pspec.xml b/multimedia/graphics/ffmpegthumbnailer/pspec.xml index 50d35bf103..5a662ff210 100644 --- a/multimedia/graphics/ffmpegthumbnailer/pspec.xml +++ b/multimedia/graphics/ffmpegthumbnailer/pspec.xml @@ -9,42 +9,34 @@ admins@pisilinux.org GPLv2 - - Lightweight video thumbnailer that can be used by file managers to create thumbnails for video files. - - - 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. - - - https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/2.2.2/ffmpegthumbnailer-2.2.2.tar.bz2 - + The video thumbnailer. + A lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files. + https://github.com/dirkvdb/ffmpegthumbnailer/archive/2.2.3/ffmpegthumbnailer-2.2.3.tar.gz - libjpeg-turbo-devel - ffmpeg-devel - libpng-devel - zlib-devel cmake + ninja + zlib-devel + libpng-devel + ffmpeg-devel + libjpeg-turbo-devel - 198.patch - efb5b618.patch + ffmpegthumbnailer - libjpeg-turbo - ffmpeg libgcc libpng + ffmpeg + libjpeg-turbo /usr/bin /usr/lib /usr/share - /usr/share/man - /usr/share/doc @@ -61,6 +53,13 @@ + + 2025-01-30 + 2.2.3 + Version bump. + fury + uglyside@yandex.ru + 2024-08-10 2.2.2