Projects
Essentials
A_tw-ffmpeg-6
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 8
View file
ffmpeg-6.spec
Changed
@@ -17,8 +17,6 @@ %define vers 6.1.2 -%define flavor @BUILD_FLAVOR@%nil -%if "%flavor" != "ffmpeg-6-mini" # Create proper conflicts to make sure we require all from one version # p: Conflict string, eg if you need them all for requires instead @@ -789,148 +787,4 @@ %_libdir/pkgconfig/libswscale.pc %_mandir/man3/libswscale.3* -%else -%define _name ffmpeg -Name: ffmpeg-6-mini -Version: %{vers} -Release: 0 -Summary: Set of libraries for working with various multimedia formats -License: GPL-3.0-or-later -URL: https://ffmpeg.org/ -#Git-Clone: git://source.ffmpeg.org/ffmpeg -Source: https://www.ffmpeg.org/releases/%_name-%version.tar.xz -Source2: https://www.ffmpeg.org/releases/%_name-%version.tar.xz.asc -Source3: ffmpeg-6-rpmlintrc -Source98: http://ffmpeg.org/ffmpeg-devel.asc#/ffmpeg-6.keyring - -Patch1: ffmpeg-arm6l.diff -Patch3: ffmpeg-codec-choice.diff -Patch4: ffmpeg-4.2-dlopen-fdk_aac.patch -Patch5: work-around-abi-break.patch -Patch7: 0001-avfilter-asrc_afirsrc-fix-by-one-smaller-allocation-.patch -Patch8: 0001-avfilter-bwdif-account-for-chroma-sub-sampling-in-mi.patch -Patch9: 0001-avfilter-af_dialoguenhance-fix-overreads.patch -Patch10: 0001-avfilter-af_dialoguenhance-simplify-channels-copy.patch -Patch11: 0001-avfilter-af_dialoguenhance-do-output-scaling-once.patch -Patch12: 0001-avutil-hwcontext-Don-t-assume-frames_uninit-is-reent.patch -Patch13: 0001-avfilter-vf_codecview-fix-heap-buffer-overflow.patch -Patch14: 0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch -Patch15: 11013-avcodec-decode-clean-up-if-get_hw_frames_parameters-.patch -Patch16: 0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch -Patch90: ffmpeg-chromium.patch -Patch91: ffmpeg-dlopen-openh264.patch -Patch92: ffmpeg-CVE-2023-50007.patch -Patch93: ffmpeg-CVE-2023-50008.patch -Patch94: ffmpeg-6-CVE-2024-32228-shim-1535d338.patch -Patch95: ffmpeg-6-CVE-2024-32228-shim-f50382cb.patch -Patch97: ffmpeg-c99.patch -Patch99: ffmpeg-6-CVE-2024-35368.patch -Patch100: ffmpeg-6-CVE-2024-35365.patch -Patch101: ffmpeg-6-CVE-2024-12361.patch -Patch102: ffmpeg-6-CVE-2025-22919.patch -Patch103: ffmpeg-6-CVE-2025-0518.patch -Patch104: ffmpeg-6-CVE-2025-25473.patch -Patch105: ffmpeg-6-CVE-2025-22921.patch - -BuildRequires: c_compiler -Requires: this-is-only-for-build-envs - -%description -FFmpeg is a multimedia framework. -This package merely builds the API for the sake of other packages. - -%package libs -# Even with mini, we want ff5 libs to be coinstallable to ff4-devel(!), -# hence mini-libs and mini-devel are still separated. -Summary: Feature-reduced build of FFmpeg, a multimedia framework -Conflicts: libavcodec60 -Conflicts: libavdevice60 -Conflicts: libavfilter9 -Conflicts: libavformat60 -Conflicts: libavutil58 -Conflicts: libpostproc57 -Conflicts: libswresample4 -Conflicts: libswscale7 -Requires: this-is-only-for-build-envs - -%description libs -FFmpeg is a multimedia framework. -This package contains a cut-down version for building other packages. - -%package devel -Summary: Header files for feature-reduced FFmpeg build -Provides: libavcodec-devel = %version-%release -Conflicts: libavcodec-devel -Provides: libavdevice-devel = %version-%release -Conflicts: libavdevice-devel -Provides: libavfilter-devel = %version-%release -Conflicts: libavfilter-devel -Provides: libavformat-devel = %version-%release -Conflicts: libavformat-devel -Provides: libavutil-devel = %version-%release -Conflicts: libavutil-devel -Provides: libpostproc-devel = %version-%release -Conflicts: libpostproc-devel -Provides: libswresample-devel = %version-%release -Conflicts: libswresample-devel -Provides: libswscale-devel = %version-%release -Conflicts: libswscale-devel -Requires: %name-libs = %version-%release -Requires: this-is-only-for-build-envs - -%description devel -FFmpeg is a multimedia framework. -This package contains the headers accompanying %name. - -%prep -%autosetup -p1 -n %_name-%version - -%build -%define _lto_cflags %nil -CFLAGS="%optflags" \ -./configure \ - --prefix="%_prefix" \ - --libdir="%_libdir" \ - --shlibdir="%_libdir" \ - --incdir="%_includedir/ffmpeg" \ - --extra-cflags="%optflags" \ - --optflags="%optflags" \ - --disable-htmlpages --disable-stripping --disable-x86asm \ - --disable-static --enable-shared --enable-pic \ - --enable-gpl --enable-version3 \ - --disable-muxers --disable-demuxers \ - --disable-encoders --disable-decoders \ - --disable-programs --disable-doc -for i in H264 HEVC VC1; do - grep -q "#define CONFIG_${i}_DECODER 0" config_components.h -done -cat config.h -%make_build - -%install -b="%buildroot" -%make_install -rm -Rf "$b/%_datadir/ffmpeg/examples" - -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig - -%files libs -%_libdir/libavcodec.so.* -%_libdir/libavdevice.so.* -%_libdir/libavfilter.so.* -%_libdir/libavformat.so.* -%_libdir/libavutil.so.* -%_libdir/libpostproc.so.* -%_libdir/libswresample.so.* -%_libdir/libswscale.so.* - -%files devel -%license COPYING.GPLv2 LICENSE.md -%_libdir/*.so -%_libdir/pkgconfig/*.pc -%_includedir/ffmpeg/ - -%endif - %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.