Changes of Revision 63
avidemux3.spec
Changed
x
1
2
License: GPL-2.0-only
3
Version: 2.8.1
4
Release: 0
5
-URL: http://avidemux.sourceforge.net/
6
+URL: https://github.com/mean00/avidemux2
7
ExclusiveArch: %ix86 x86_64
8
Source0: https://github.com/mean00/avidemux2/releases/download/%{version}/avidemux_%{version}.tar.gz
9
Patch0: %name.patch
10
11
BuildRequires: yasm
12
BuildRequires: pkgconfig(vapoursynth)
13
BuildRequires: pkgconfig(vapoursynth-script)
14
+%if %suse_version < 1600
15
BuildRequires: pkgconfig(ffnvcodec) > 8
16
+%endif
17
BuildRequires: pkgconfig(fontconfig)
18
BuildRequires: pkgconfig(freetype2)
19
BuildRequires: pkgconfig(fribidi)
20
21
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffFlv1.so
22
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffMpeg2.so
23
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffMpeg4.so
24
+%if %suse_version < 1600
25
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffNvencH264.so
26
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffNvencHEVC.so
27
+%endif
28
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffVaEncH264.so
29
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffVaEncHEVC.so
30
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffv1.so
31
avidemux-cmake-2.8.8.patch
Deleted
17
1
2
---- cmake/admCheckRequiredLibs.cmake.orig 2023-02-03 14:58:30.448925032 +0100
3
-+++ cmake/admCheckRequiredLibs.cmake 2023-02-03 14:58:30.464924977 +0100
4
-@@ -16,9 +16,9 @@
5
- endif (DEFINED PKGCONFIG_FOUND)
6
- endif (${CMAKE_VERSION} VERSION_EQUAL 2.8.8)
7
-
8
--IF (NOT PKG_CONFIG_FOUND)
9
-- MESSAGE(FATAL_ERROR "Could not find pkg-config")
10
--ENDIF (NOT PKG_CONFIG_FOUND)
11
-+#IF (NOT PKG_CONFIG_FOUND)
12
-+# MESSAGE(FATAL_ERROR "Could not find pkg-config")
13
-+#ENDIF (NOT PKG_CONFIG_FOUND)
14
-
15
- MESSAGE(STATUS "Found pkg-config")
16
-
17
avidemux3.patch
Changed
38
1
2
+---
3
+ avidemux_core/ffmpeg_package/patches/upstream/avcodec-x86-mathops-clip-constants-used-with-shift-i.patch | 73 ++++++++++
4
+ avidemux_plugins/ADM_videoEncoder/x265/ADM_x265Setup.cpp | 8 +
5
+ 2 files changed, 81 insertions(+)
6
+
7
--- /dev/null
8
+++ b/avidemux_core/ffmpeg_package/patches/upstream/avcodec-x86-mathops-clip-constants-used-with-shift-i.patch
9
@@ -0,0 +1,73 @@
10
11
+ return a;
12
+ }
13
+
14
+--- a/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265Setup.cpp
15
++++ b/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265Setup.cpp
16
+@@ -207,13 +207,21 @@
17
+ {
18
+ param.rc.bStatWrite=1;
19
+ param.rc.bStatRead=0;
20
++#if X265_BUILD >= 213
21
++ snprintf(param.rc.statFileName, sizeof(param.rc.statFileName), "%s", logFile);
22
++#else
23
+ param.rc.statFileName=strdup(logFile);
24
++#endif
25
+
26
+ }else
27
+ {
28
+ param.rc.bStatWrite=0;
29
+ param.rc.bStatRead=1;
30
++#if X265_BUILD >= 213
31
++ snprintf(param.rc.statFileName, sizeof(param.rc.statFileName), "%s", logFile);
32
++#else
33
+ param.rc.statFileName=strdup(logFile);
34
++#endif
35
+ if(!ADM_fileExist(logFile))
36
+ {
37
+ ADM_error("Logfile %s does not exist \n",logFile);
38