!3 [sync] PR-2: update to 2.2.3 to fix build error about ffmpeg-6.1
From: @openeuler-sync-bot Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
024c20377b
@ -4,6 +4,6 @@
|
||||
[Thumbnailer Entry]
|
||||
TryExec=ffmpegthumbnailer
|
||||
Exec=ffmpegthumbnailer -i %i -o %o -s %s -f
|
||||
-MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-ms-asx;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;video/x-flv;video/x-matroska;application/mxf;video/3gp;video/3gpp;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4v-es;video/msvideo;video/ogg;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;application/vnd.rn-realmedia;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg
|
||||
+MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-ms-asx;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;video/x-flv;video/x-matroska;application/mxf;video/3gp;video/3gpp;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4v-es;video/msvideo;video/ogg;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;application/vnd.rn-realmedia;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg;audio/flac;audio/mpeg
|
||||
-MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-ms-asx;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;video/x-flv;video/x-matroska;application/x-matroska;application/mxf;video/3gp;video/3gpp;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4v-es;video/msvideo;video/ogg;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;application/vnd.rn-realmedia;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg
|
||||
+MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-ms-asx;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;video/x-flv;video/x-matroska;application/x-matroska;application/mxf;video/3gp;video/3gpp;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4v-es;video/msvideo;video/ogg;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;application/vnd.rn-realmedia;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg;audio/flac;audio/mpeg
|
||||
|
||||
|
||||
Binary file not shown.
BIN
ffmpegthumbnailer-2.2.3.tar.gz
Normal file
BIN
ffmpegthumbnailer-2.2.3.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,13 @@
|
||||
Name: ffmpegthumbnailer
|
||||
Version: 2.2.2
|
||||
Version: 2.2.3
|
||||
Release: 1
|
||||
Summary: Lightweight video thumbnailer that can be used by file managers
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://github.com/dirkvdb/%{name}
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: fix_object_target.patch
|
||||
Patch1: add_audio_cover.patch
|
||||
Patch0: add_audio_cover.patch
|
||||
Patch1: gcc12_fix.patch
|
||||
|
||||
BuildRequires: ffmpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
@ -62,5 +62,8 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 11 2024 peijiankang <peijiankang@kylinos.cn> - 2.2.3-1
|
||||
- update to 2.2.3 to fix build error about ffmpeg-6.1
|
||||
|
||||
* Thu May 13 2021 He Rengui <herengui@uniontech.com> - 2.2.2-1
|
||||
- package init
|
||||
|
||||
@ -1,57 +0,0 @@
|
||||
From 339ebc5aa634b4680585d7c36317ab6f162ca2a9 Mon Sep 17 00:00:00 2001
|
||||
From: Dirk Vanden Boer <dirk.vdb@gmail.com>
|
||||
Date: Tue, 7 Jan 2020 13:00:59 +0100
|
||||
Subject: [PATCH] Fixed object target configuration
|
||||
|
||||
---
|
||||
CMakeLists.txt | 23 +++++++++++------------
|
||||
1 file changed, 11 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 671b93a..8616c56 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -92,6 +92,15 @@ add_library(libffmpegthumbnailerobj OBJECT
|
||||
libffmpegthumbnailer/filmstripfilter.cpp
|
||||
)
|
||||
|
||||
+target_link_libraries(libffmpegthumbnailerobj
|
||||
+ FFmpeg::avformat
|
||||
+ FFmpeg::avcodec
|
||||
+ FFmpeg::avutil
|
||||
+ FFmpeg::avfilter
|
||||
+ $<$<BOOL:${HAVE_JPEG}>:${JPEG_LIBRARIES}>
|
||||
+ $<$<BOOL:${HAVE_PNG}>:PNG::PNG>
|
||||
+)
|
||||
+
|
||||
# we use our own deprecated struct menbers, so disable the warning about it
|
||||
set_source_files_properties(libffmpegthumbnailer/videothumbnailerc.cpp PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations)
|
||||
|
||||
@@ -118,12 +127,7 @@ set (FFMPEGTHUMBNAILER_SOVERSION_AGE 1)
|
||||
if (ENABLE_STATIC)
|
||||
add_library(libffmpegthumbnailerstatic STATIC $<TARGET_OBJECTS:libffmpegthumbnailerobj>)
|
||||
target_link_libraries(libffmpegthumbnailerstatic
|
||||
- FFmpeg::avformat
|
||||
- FFmpeg::avcodec
|
||||
- FFmpeg::avutil
|
||||
- FFmpeg::avfilter
|
||||
- $<$<BOOL:${HAVE_JPEG}>:${JPEG_LIBRARIES}>
|
||||
- $<$<BOOL:${HAVE_PNG}>:PNG::PNG>
|
||||
+ libffmpegthumbnailerobj
|
||||
$<$<BOOL:${ENABLE_GIO}>:${CMAKE_DL_LIBS}>
|
||||
)
|
||||
|
||||
@@ -140,12 +144,7 @@ endif ()
|
||||
if (ENABLE_SHARED)
|
||||
add_library(libffmpegthumbnailer SHARED $<TARGET_OBJECTS:libffmpegthumbnailerobj>)
|
||||
target_link_libraries(libffmpegthumbnailer
|
||||
- FFmpeg::avformat
|
||||
- FFmpeg::avcodec
|
||||
- FFmpeg::avutil
|
||||
- FFmpeg::avfilter
|
||||
- $<$<BOOL:${HAVE_JPEG}>:${JPEG_LIBRARIES}>
|
||||
- $<$<BOOL:${HAVE_PNG}>:PNG::PNG>
|
||||
+ libffmpegthumbnailerobj
|
||||
)
|
||||
|
||||
set_target_properties(libffmpegthumbnailer PROPERTIES
|
||||
10
gcc12_fix.patch
Normal file
10
gcc12_fix.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- b/libffmpegthumbnailer/videothumbnailer.cpp
|
||||
+++ a/libffmpegthumbnailer/videothumbnailer.cpp
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <stdexcept>
|
||||
#include <cassert>
|
||||
#include <cerrno>
|
||||
+#include <cstring>
|
||||
#include <memory>
|
||||
#include <regex>
|
||||
#include <algorithm>
|
||||
Loading…
x
Reference in New Issue
Block a user