Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ffmpeg-5 for openSUSE:Factory 
checked in at 2023-01-30 17:09:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ffmpeg-5 (Old)
 and      /work/SRC/openSUSE:Factory/.ffmpeg-5.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ffmpeg-5"

Mon Jan 30 17:09:42 2023 rev:12 rq:1061829 version:5.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ffmpeg-5/ffmpeg-5.changes        2023-01-24 
21:00:40.185860560 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-5.new.32243/ffmpeg-5.changes     
2023-01-30 17:21:08.943823157 +0100
@@ -1,0 +2,8 @@
+Fri Jan 17 11:01:25 UTC 2023 - Manfred Hollstein <manfre...@gmx.net>
+
+- Merge ffmpeg-5-mini.spec with the main .spec file in order to
+  make building the _multibuild packages easier for the case the
+  package is named to be built for a specific distribution; an
+  example would be "A_tw-ffmpeg-5" in Packman.
+
+-------------------------------------------------------------------

Old:
----
  ffmpeg-5-mini-rpmlintrc
  ffmpeg-5-mini.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ffmpeg-5.spec ++++++
--- /var/tmp/diff_new_pack.q46LFB/_old  2023-01-30 17:21:09.539826330 +0100
+++ /var/tmp/diff_new_pack.q46LFB/_new  2023-01-30 17:21:09.543826351 +0100
@@ -16,6 +16,9 @@
 #
 
 
+%define flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" != "ffmpeg-5-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
 #      Default value Conflicts:
@@ -88,7 +91,7 @@
 #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:        %name-rpmlintrc
+Source3:        ffmpeg-5-rpmlintrc
 Source4:        enable_decoders
 Source5:        enable_encoders
 Source6:        ffmpeg-dlopen-headers.tar.xz
@@ -818,4 +821,126 @@
 %files private-devel
 %_includedir/ffmpeg/private/
 
+%else  # "flavor" == "ffmpeg-5-mini"
+
+%define _name ffmpeg
+
+Name:           ffmpeg-5-mini
+Version:        5.1.2
+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-5-rpmlintrc
+Source98:       http://ffmpeg.org/ffmpeg-devel.asc#/ffmpeg-5.keyring
+Patch1:         ffmpeg-arm6l.diff
+Patch2:         ffmpeg-new-coder-errors.diff
+Patch3:         ffmpeg-codec-choice.diff
+Patch4:         ffmpeg-4.2-dlopen-fdk_aac.patch
+Patch5:         work-around-abi-break.patch
+Patch9:         ffmpeg-4.4-CVE-2020-22046.patch
+Patch10:        ffmpeg-chromium.patch
+Patch11:        ffmpeg-CVE-2022-3964.patch
+Patch91:        ffmpeg-dlopen-openh264.patch
+BuildRequires:  c_compiler
+
+%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:      libavcodec59
+Conflicts:      libavdevice59
+Conflicts:      libavfilter8
+Conflicts:      libavformat59
+Conflicts:      libavutil57
+Conflicts:      libpostproc56
+Conflicts:      libswresample4
+Conflicts:      libswscale6
+
+%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
+
+%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 MPEG4 H263 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 # "flavor" == "ffmpeg-5-mini"
+
 %changelog

Reply via email to