Rework soversion.patch based on outcome of mailing list interactions
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=127
This commit is contained in:
parent
44525cb3bf
commit
75e1631983
@ -1,9 +1,9 @@
|
|||||||
libavcodec58suse0
|
libavcodec58_91
|
||||||
libavdevice58suse0
|
libavdevice58_10
|
||||||
libavfilter7suse0
|
libavfilter7_85
|
||||||
libavformat58suse0
|
libavformat58_45
|
||||||
libavresample4suse0
|
libavresample4_0
|
||||||
libavutil56suse0
|
libavutil56_51
|
||||||
libpostproc55suse0
|
libpostproc55_7
|
||||||
libswresample3suse0
|
libswresample3_7
|
||||||
libswscale5suse0
|
libswscale5_7
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 4 22:09:51 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
Sat Jul 4 22:09:51 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
- Add soversion.patch to workaround upstream ABI breakage.
|
- Add soversion.patch to workaround ELF ABI breakage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 17 16:32:04 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
Wed Jun 17 16:32:04 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
177
ffmpeg-4.spec
177
ffmpeg-4.spec
@ -199,7 +199,7 @@ BuildRequires: pkgconfig(xcb-shm)
|
|||||||
BuildRequires: pkgconfig(xcb-xfixes)
|
BuildRequires: pkgconfig(xcb-xfixes)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRequires: pkgconfig(xfixes)
|
BuildRequires: pkgconfig(xfixes)
|
||||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_vxersion} >= 150200
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
BuildRequires: pkgconfig(libmfx)
|
BuildRequires: pkgconfig(libmfx)
|
||||||
%endif
|
%endif
|
||||||
@ -237,15 +237,15 @@ Provides: ffmpeg-tools = %version
|
|||||||
Obsoletes: ffmpeg-tools < %version
|
Obsoletes: ffmpeg-tools < %version
|
||||||
Provides: ffmpeg = %version
|
Provides: ffmpeg = %version
|
||||||
Obsoletes: ffmpeg < %version
|
Obsoletes: ffmpeg < %version
|
||||||
Requires: libavcodec58suse0 = %version-%release
|
Requires: libavcodec58_91 = %version-%release
|
||||||
Requires: libavdevice58suse0 = %version-%release
|
Requires: libavdevice58_10 = %version-%release
|
||||||
Requires: libavfilter7suse0 = %version-%release
|
Requires: libavfilter7_85 = %version-%release
|
||||||
Requires: libavformat58suse0 = %version-%release
|
Requires: libavformat58_45 = %version-%release
|
||||||
Requires: libavresample4suse0 = %version-%release
|
Requires: libavresample4_0 = %version-%release
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
Requires: libpostproc55suse0 = %version-%release
|
Requires: libpostproc55_7 = %version-%release
|
||||||
Requires: libswresample3suse0 = %version-%release
|
Requires: libswresample3_7 = %version-%release
|
||||||
Requires: libswscale5suse0 = %version-%release
|
Requires: libswscale5_7 = %version-%release
|
||||||
|
|
||||||
%description
|
%description
|
||||||
FFmpeg is a multimedia framework, able to decode, encode,
|
FFmpeg is a multimedia framework, able to decode, encode,
|
||||||
@ -256,20 +256,21 @@ that humans and machines have created.
|
|||||||
This build of ffmpeg is limited in the number of codecs supported.
|
This build of ffmpeg is limited in the number of codecs supported.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package -n libavcodec58suse0
|
%package -n libavcodec58_91
|
||||||
Summary: FFmpeg codec library
|
Summary: FFmpeg codec library
|
||||||
# For mozillas
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
Requires: libswresample3suse0 = %version-%release
|
Requires: libswresample3_7 = %version-%release
|
||||||
Provides: libavcodec = %version-%release
|
|
||||||
%if 0%{?BUILD_ORIG}
|
%if 0%{?BUILD_ORIG}
|
||||||
Provides: libavcodec-full = %version-%release
|
Provides: libavcodec-full = %version-%release
|
||||||
# This can be required by packages likes vlc-codecs - following the shlib name to not get random lib providers
|
# This can be (and is) required by packages like vlc-codecs -
|
||||||
Provides: libavcodec58(unrestricted)
|
# do follow the shlib name to not get random lib providers
|
||||||
|
Provides: libavcodec58_91(unrestricted)
|
||||||
%endif
|
%endif
|
||||||
|
# For mozillas
|
||||||
|
Provides: libavcodec = %version-%release
|
||||||
|
|
||||||
%description -n libavcodec58suse0
|
%description -n libavcodec58_91
|
||||||
The libavcodec library provides a generic encoding/decoding framework
|
The libavcodec library provides a generic encoding/decoding framework
|
||||||
and contains multiple decoders and encoders for audio, video and
|
and contains multiple decoders and encoders for audio, video and
|
||||||
subtitle streams, and several bitstream filters.
|
subtitle streams, and several bitstream filters.
|
||||||
@ -285,7 +286,7 @@ Provides: libavcodec-devel = %version-%release
|
|||||||
Obsoletes: libavcodec-devel < %version-%release
|
Obsoletes: libavcodec-devel < %version-%release
|
||||||
Requires: %name-libavresample-devel = %version-%release
|
Requires: %name-libavresample-devel = %version-%release
|
||||||
Requires: %name-libavutil-devel = %version-%release
|
Requires: %name-libavutil-devel = %version-%release
|
||||||
Requires: libavcodec58suse0 = %version-%release
|
Requires: libavcodec58_91 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -296,15 +297,15 @@ subtitle streams, and several bitstream filters.
|
|||||||
|
|
||||||
This subpackage contains the headers for FFmpeg libavcodec.
|
This subpackage contains the headers for FFmpeg libavcodec.
|
||||||
|
|
||||||
%package -n libavdevice58suse0
|
%package -n libavdevice58_10
|
||||||
Summary: FFmpeg device library
|
Summary: FFmpeg device library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libavcodec58suse0 = %version-%release
|
Requires: libavcodec58_91 = %version-%release
|
||||||
Requires: libavfilter7suse0 = %version-%release
|
Requires: libavfilter7_85 = %version-%release
|
||||||
Requires: libavformat58suse0 = %version-%release
|
Requires: libavformat58_45 = %version-%release
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
|
|
||||||
%description -n libavdevice58suse0
|
%description -n libavdevice58_10
|
||||||
The libavdevice library provides a generic framework for grabbing from
|
The libavdevice library provides a generic framework for grabbing from
|
||||||
and rendering to many common multimedia input/output devices, and
|
and rendering to many common multimedia input/output devices, and
|
||||||
supports several input and output devices, including Video4Linux2, VfW,
|
supports several input and output devices, including Video4Linux2, VfW,
|
||||||
@ -325,7 +326,7 @@ Requires: %name-libavutil-devel = %version-%release
|
|||||||
Requires: %name-libpostproc-devel = %version-%release
|
Requires: %name-libpostproc-devel = %version-%release
|
||||||
Requires: %name-libswresample-devel = %version-%release
|
Requires: %name-libswresample-devel = %version-%release
|
||||||
Requires: %name-libswscale-devel = %version-%release
|
Requires: %name-libswscale-devel = %version-%release
|
||||||
Requires: libavdevice58suse0 = %version-%release
|
Requires: libavdevice58_10 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -337,18 +338,18 @@ DShow, and ALSA.
|
|||||||
|
|
||||||
This subpackage contains the headers for FFmpeg libavcodec.
|
This subpackage contains the headers for FFmpeg libavcodec.
|
||||||
|
|
||||||
%package -n libavfilter7suse0
|
%package -n libavfilter7_85
|
||||||
Summary: FFmpeg audio and video filtering library
|
Summary: FFmpeg audio and video filtering library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libavcodec58suse0 = %version-%release
|
Requires: libavcodec58_91 = %version-%release
|
||||||
Requires: libavformat58suse0 = %version-%release
|
Requires: libavformat58_10 = %version-%release
|
||||||
Requires: libavresample4suse0 = %version-%release
|
Requires: libavresample4_0 = %version-%release
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
Requires: libpostproc55suse0 = %version-%release
|
Requires: libpostproc55_7 = %version-%release
|
||||||
Requires: libswresample3suse0 = %version-%release
|
Requires: libswresample3_7 = %version-%release
|
||||||
Requires: libswscale5suse0 = %version-%release
|
Requires: libswscale5_7 = %version-%release
|
||||||
|
|
||||||
%description -n libavfilter7suse0
|
%description -n libavfilter7_85
|
||||||
The libavfilter library provides a generic audio/video filtering
|
The libavfilter library provides a generic audio/video filtering
|
||||||
framework containing several filters, sources and sinks.
|
framework containing several filters, sources and sinks.
|
||||||
|
|
||||||
@ -364,7 +365,7 @@ Requires: %name-libavutil-devel = %version-%release
|
|||||||
Requires: %name-libpostproc-devel = %version-%release
|
Requires: %name-libpostproc-devel = %version-%release
|
||||||
Requires: %name-libswresample-devel = %version-%release
|
Requires: %name-libswresample-devel = %version-%release
|
||||||
Requires: %name-libswscale-devel = %version-%release
|
Requires: %name-libswscale-devel = %version-%release
|
||||||
Requires: libavfilter7suse0 = %version-%release
|
Requires: libavfilter7_85 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -374,13 +375,13 @@ framework containing several filters, sources and sinks.
|
|||||||
|
|
||||||
This subpackage contains the headers for FFmpeg libavfilter.
|
This subpackage contains the headers for FFmpeg libavfilter.
|
||||||
|
|
||||||
%package -n libavformat58suse0
|
%package -n libavformat58_45
|
||||||
Summary: FFmpeg's stream format library
|
Summary: FFmpeg's stream format library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libavcodec58suse0 = %version-%release
|
Requires: libavcodec58_91 = %version-%release
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
|
|
||||||
%description -n libavformat58suse0
|
%description -n libavformat58_45
|
||||||
The libavformat library provides a generic framework for multiplexing
|
The libavformat library provides a generic framework for multiplexing
|
||||||
and demultiplexing (muxing and demuxing) audio, video and subtitle
|
and demultiplexing (muxing and demuxing) audio, video and subtitle
|
||||||
streams. It encompasses multiple muxers and demuxers for multimedia
|
streams. It encompasses multiple muxers and demuxers for multimedia
|
||||||
@ -398,7 +399,7 @@ Obsoletes: libavformat-devel < %version-%release
|
|||||||
Requires: %name-libavcodec-devel = %version-%release
|
Requires: %name-libavcodec-devel = %version-%release
|
||||||
Requires: %name-libavutil-devel = %version-%release
|
Requires: %name-libavutil-devel = %version-%release
|
||||||
Requires: %name-libswresample-devel = %version-%release
|
Requires: %name-libswresample-devel = %version-%release
|
||||||
Requires: libavformat58suse0 = %version-%release
|
Requires: libavformat58_45 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -410,12 +411,12 @@ container formats.
|
|||||||
|
|
||||||
This subpackage contains the headers for FFmpeg libavformat.
|
This subpackage contains the headers for FFmpeg libavformat.
|
||||||
|
|
||||||
%package -n libavresample4suse0
|
%package -n libavresample4_0
|
||||||
Summary: FFmpeg alternate audio resampling library
|
Summary: FFmpeg alternate audio resampling library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
|
|
||||||
%description -n libavresample4suse0
|
%description -n libavresample4_0
|
||||||
An audio resampling library that is being provided for drop-in
|
An audio resampling library that is being provided for drop-in
|
||||||
compatibility with libav.
|
compatibility with libav.
|
||||||
|
|
||||||
@ -427,7 +428,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Provides: libavresample-devel = %version-%release
|
Provides: libavresample-devel = %version-%release
|
||||||
Obsoletes: libavresample-devel < %version-%release
|
Obsoletes: libavresample-devel < %version-%release
|
||||||
Requires: %name-libavutil-devel = %version-%release
|
Requires: %name-libavutil-devel = %version-%release
|
||||||
Requires: libavresample4suse0 = %version-%release
|
Requires: libavresample4_0 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -439,11 +440,11 @@ It is advised to use libswresample for new code.
|
|||||||
|
|
||||||
This subpackage contains the headers for FFmpeg's copy of libavresample.
|
This subpackage contains the headers for FFmpeg's copy of libavresample.
|
||||||
|
|
||||||
%package -n libavutil56suse0
|
%package -n libavutil56_51
|
||||||
Summary: FFmpeg's utility library
|
Summary: FFmpeg's utility library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libavutil56suse0
|
%description -n libavutil56_51
|
||||||
The libavutil library is a utility library to aid portable multimedia
|
The libavutil library is a utility library to aid portable multimedia
|
||||||
programming. It contains safe portable string functions, random
|
programming. It contains safe portable string functions, random
|
||||||
number generators, data structures, additional mathematics functions,
|
number generators, data structures, additional mathematics functions,
|
||||||
@ -455,7 +456,7 @@ Summary: Development files for FFmpeg's utility library
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Provides: libavutil-devel = %version-%release
|
Provides: libavutil-devel = %version-%release
|
||||||
Obsoletes: libavutil-devel < %version-%release
|
Obsoletes: libavutil-devel < %version-%release
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -468,12 +469,12 @@ for pixel and sample formats).
|
|||||||
|
|
||||||
This subpackage contains the headers for FFmpeg libavutil.
|
This subpackage contains the headers for FFmpeg libavutil.
|
||||||
|
|
||||||
%package -n libpostproc55suse0
|
%package -n libpostproc55_7
|
||||||
Summary: FFmpeg post-processing library
|
Summary: FFmpeg post-processing library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
|
|
||||||
%description -n libpostproc55suse0
|
%description -n libpostproc55_7
|
||||||
A library with video postprocessing filters, such as deblocking and
|
A library with video postprocessing filters, such as deblocking and
|
||||||
deringing filters, noise reduction, automatic contrast and brightness
|
deringing filters, noise reduction, automatic contrast and brightness
|
||||||
correction, linear/cubic interpolating deinterlacing.
|
correction, linear/cubic interpolating deinterlacing.
|
||||||
@ -484,7 +485,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Provides: libpostproc-devel = %version-%release
|
Provides: libpostproc-devel = %version-%release
|
||||||
Obsoletes: libpostproc-devel < %version-%release
|
Obsoletes: libpostproc-devel < %version-%release
|
||||||
Requires: %name-libavutil-devel = %version-%release
|
Requires: %name-libavutil-devel = %version-%release
|
||||||
Requires: libpostproc55suse0 = %version-%release
|
Requires: libpostproc55_7 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -495,12 +496,12 @@ correction, linear/cubic interpolating deinterlacing.
|
|||||||
|
|
||||||
This subpackage contains the headers for FFmpeg libpostproc.
|
This subpackage contains the headers for FFmpeg libpostproc.
|
||||||
|
|
||||||
%package -n libswresample3suse0
|
%package -n libswresample3_7
|
||||||
Summary: FFmpeg software resampling library
|
Summary: FFmpeg software resampling library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
|
|
||||||
%description -n libswresample3suse0
|
%description -n libswresample3_7
|
||||||
The libswresample library performs audio conversion between different
|
The libswresample library performs audio conversion between different
|
||||||
sample rates, channel layout and channel formats.
|
sample rates, channel layout and channel formats.
|
||||||
|
|
||||||
@ -510,7 +511,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Provides: libswresample-devel = %version-%release
|
Provides: libswresample-devel = %version-%release
|
||||||
Obsoletes: libswresample-devel < %version-%release
|
Obsoletes: libswresample-devel < %version-%release
|
||||||
Requires: %name-libavutil-devel = %version-%release
|
Requires: %name-libavutil-devel = %version-%release
|
||||||
Requires: libswresample3suse0 = %version-%release
|
Requires: libswresample3_7 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -520,12 +521,12 @@ sample rates, channel layout and channel formats.
|
|||||||
|
|
||||||
This subpackage contains the headers for FFmpeg libswresample.
|
This subpackage contains the headers for FFmpeg libswresample.
|
||||||
|
|
||||||
%package -n libswscale5suse0
|
%package -n libswscale5_7
|
||||||
Summary: FFmpeg image scaling and colorspace/pixel conversion library
|
Summary: FFmpeg image scaling and colorspace/pixel conversion library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libavutil56suse0 = %version-%release
|
Requires: libavutil56_51 = %version-%release
|
||||||
|
|
||||||
%description -n libswscale5suse0
|
%description -n libswscale5_7
|
||||||
The libswscale library performs image scaling and colorspace and
|
The libswscale library performs image scaling and colorspace and
|
||||||
pixel format conversion operations.
|
pixel format conversion operations.
|
||||||
|
|
||||||
@ -535,7 +536,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Provides: libswscale-devel = %version-%release
|
Provides: libswscale-devel = %version-%release
|
||||||
Conflicts: libswscale-devel
|
Conflicts: libswscale-devel
|
||||||
Requires: %name-libavutil-devel = %version-%release
|
Requires: %name-libavutil-devel = %version-%release
|
||||||
Requires: libswscale5suse0 = %version-%release
|
Requires: libswscale5_7 = %version-%release
|
||||||
%devel_conflicts -c < -v %_major_version
|
%devel_conflicts -c < -v %_major_version
|
||||||
%devel_conflicts -c >= -v %_major_expected
|
%devel_conflicts -c >= -v %_major_expected
|
||||||
|
|
||||||
@ -676,7 +677,7 @@ LDFLAGS="%_lto_cflags" \
|
|||||||
%if %{with lv2}
|
%if %{with lv2}
|
||||||
--enable-lv2 \
|
--enable-lv2 \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_vxersion} >= 150200
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
--enable-libmfx \
|
--enable-libmfx \
|
||||||
%endif
|
%endif
|
||||||
@ -747,24 +748,24 @@ for i in libavformat/options_table.h libavformat/os_support.h \
|
|||||||
cp -a $i "$b/%_includedir/ffmpeg/private/$i"
|
cp -a $i "$b/%_includedir/ffmpeg/private/$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
%post -n libavcodec58suse0 -p /sbin/ldconfig
|
%post -n libavcodec58_91 -p /sbin/ldconfig
|
||||||
%postun -n libavcodec58suse0 -p /sbin/ldconfig
|
%postun -n libavcodec58_91 -p /sbin/ldconfig
|
||||||
%post -n libavdevice58suse0 -p /sbin/ldconfig
|
%post -n libavdevice58_10 -p /sbin/ldconfig
|
||||||
%postun -n libavdevice58suse0 -p /sbin/ldconfig
|
%postun -n libavdevice58_10 -p /sbin/ldconfig
|
||||||
%post -n libavfilter7suse0 -p /sbin/ldconfig
|
%post -n libavfilter7_85 -p /sbin/ldconfig
|
||||||
%postun -n libavfilter7suse0 -p /sbin/ldconfig
|
%postun -n libavfilter7_85 -p /sbin/ldconfig
|
||||||
%post -n libavformat58suse0 -p /sbin/ldconfig
|
%post -n libavformat58_45 -p /sbin/ldconfig
|
||||||
%postun -n libavformat58suse0 -p /sbin/ldconfig
|
%postun -n libavformat58_45 -p /sbin/ldconfig
|
||||||
%post -n libavresample4suse0 -p /sbin/ldconfig
|
%post -n libavresample4_0 -p /sbin/ldconfig
|
||||||
%postun -n libavresample4suse0 -p /sbin/ldconfig
|
%postun -n libavresample4_0 -p /sbin/ldconfig
|
||||||
%post -n libavutil56suse0 -p /sbin/ldconfig
|
%post -n libavutil56_51 -p /sbin/ldconfig
|
||||||
%postun -n libavutil56suse0 -p /sbin/ldconfig
|
%postun -n libavutil56_51 -p /sbin/ldconfig
|
||||||
%post -n libpostproc55suse0 -p /sbin/ldconfig
|
%post -n libpostproc55_7 -p /sbin/ldconfig
|
||||||
%postun -n libpostproc55suse0 -p /sbin/ldconfig
|
%postun -n libpostproc55_7 -p /sbin/ldconfig
|
||||||
%post -n libswresample3suse0 -p /sbin/ldconfig
|
%post -n libswresample3_7 -p /sbin/ldconfig
|
||||||
%postun -n libswresample3suse0 -p /sbin/ldconfig
|
%postun -n libswresample3_7 -p /sbin/ldconfig
|
||||||
%post -n libswscale5suse0 -p /sbin/ldconfig
|
%post -n libswscale5_7 -p /sbin/ldconfig
|
||||||
%postun -n libswscale5suse0 -p /sbin/ldconfig
|
%postun -n libswscale5_7 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changelog CREDITS README.md
|
%doc Changelog CREDITS README.md
|
||||||
@ -772,39 +773,39 @@ done
|
|||||||
%_mandir/man1/ff*.1*
|
%_mandir/man1/ff*.1*
|
||||||
%_datadir/ffmpeg/
|
%_datadir/ffmpeg/
|
||||||
|
|
||||||
%files -n libavcodec58suse0
|
%files -n libavcodec58_91
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libavcodec.so.*
|
%_libdir/libavcodec.so.*
|
||||||
|
|
||||||
%files -n libavdevice58suse0
|
%files -n libavdevice58_10
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libavdevice.so.*
|
%_libdir/libavdevice.so.*
|
||||||
|
|
||||||
%files -n libavfilter7suse0
|
%files -n libavfilter7_85
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libavfilter.so.*
|
%_libdir/libavfilter.so.*
|
||||||
|
|
||||||
%files -n libavformat58suse0
|
%files -n libavformat58_45
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libavformat.so.*
|
%_libdir/libavformat.so.*
|
||||||
|
|
||||||
%files -n libavresample4suse0
|
%files -n libavresample4_0
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libavresample.so.*
|
%_libdir/libavresample.so.*
|
||||||
|
|
||||||
%files -n libavutil56suse0
|
%files -n libavutil56_51
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libavutil.so.*
|
%_libdir/libavutil.so.*
|
||||||
|
|
||||||
%files -n libpostproc55suse0
|
%files -n libpostproc55_7
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libpostproc.so.*
|
%_libdir/libpostproc.so.*
|
||||||
|
|
||||||
%files -n libswresample3suse0
|
%files -n libswresample3_7
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libswresample.so.*
|
%_libdir/libswresample.so.*
|
||||||
|
|
||||||
%files -n libswscale5suse0
|
%files -n libswscale5_7
|
||||||
%license COPYING.GPLv2 LICENSE.md
|
%license COPYING.GPLv2 LICENSE.md
|
||||||
%_libdir/libswscale.so.*
|
%_libdir/libswscale.so.*
|
||||||
|
|
||||||
|
@ -4,23 +4,15 @@ Date: 2020-07-04 23:56:54.411950316 +0200
|
|||||||
User frispete wrote on 2020-6-26 22:13+0000 at
|
User frispete wrote on 2020-6-26 22:13+0000 at
|
||||||
https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4#comment-1257440
|
https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4#comment-1257440
|
||||||
: """Unfortunately, this version is binary incompatible to 4.2.3 in some
|
: """Unfortunately, this version is binary incompatible to 4.2.3 in some
|
||||||
aspects. Chromium crashes when accessing some sites, e.g.
|
aspects. [...]"""
|
||||||
https://www.xometry.com/ and push the quote button. Blender cannot export PNG
|
|
||||||
files anymore"""
|
|
||||||
|
|
||||||
And indeed:
|
Further discussion on the mailing list explored this topic, and
|
||||||
|
revealed that ELF symbol versioning is lacklusterly implemented in
|
||||||
$ abidiff b42/usr/lib/debug/usr/lib64/libavcodec.so.58.54.100-4.2.3-1.1.x86_64.debug \
|
ffmpeg, which can cause inadvertent mixing of library versions on
|
||||||
b43/usr/lib/debug/usr/lib64/libavcodec.so.58.91.100-4.3-136.2.x86_64.debug
|
openSUSE, and precompiled Linux distributions in general. It is
|
||||||
|
unclear when upstream will have implemented a solution. Until then,
|
||||||
[...] in pointed to type 'struct AVCodecContext' at avcodec.h:526:1:
|
we will need to tighten the requirements between packages, to which
|
||||||
type size changed from 8448 to 8576 (in bits)
|
end we stretch the SOVERSION to include MINOR.
|
||||||
[...]
|
|
||||||
underlying type 'struct AVDCT' at avdct.h:29:1 changed:
|
|
||||||
type size changed from 896 to 960 (in bits)
|
|
||||||
|
|
||||||
As this struct is made public by way of presenting it in /usr/include,
|
|
||||||
I conclude: bad upstream, bad upstream!
|
|
||||||
|
|
||||||
---
|
---
|
||||||
configure | 2 +-
|
configure | 2 +-
|
||||||
@ -35,7 +27,7 @@ Index: ffmpeg-4.3/configure
|
|||||||
SLIBNAME='$(SLIBPREF)$(FULLNAME)$(SLIBSUF)'
|
SLIBNAME='$(SLIBPREF)$(FULLNAME)$(SLIBSUF)'
|
||||||
SLIBNAME_WITH_VERSION='$(SLIBNAME).$(LIBVERSION)'
|
SLIBNAME_WITH_VERSION='$(SLIBNAME).$(LIBVERSION)'
|
||||||
-SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'
|
-SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'
|
||||||
+SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)suse0'
|
+SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR).$(LIBMINOR)'
|
||||||
LIB_INSTALL_EXTRA_CMD='$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"'
|
LIB_INSTALL_EXTRA_CMD='$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"'
|
||||||
SLIB_INSTALL_NAME='$(SLIBNAME_WITH_VERSION)'
|
SLIB_INSTALL_NAME='$(SLIBNAME_WITH_VERSION)'
|
||||||
SLIB_INSTALL_LINKS='$(SLIBNAME_WITH_MAJOR) $(SLIBNAME)'
|
SLIB_INSTALL_LINKS='$(SLIBNAME_WITH_MAJOR) $(SLIBNAME)'
|
||||||
|
Loading…
Reference in New Issue
Block a user