diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..c71e6a4 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + ffmpeg-5-mini-devel + diff --git a/ffmpeg-5-mini-devel-rpmlintrc b/ffmpeg-5-mini-devel-rpmlintrc new file mode 100644 index 0000000..4d5d67c --- /dev/null +++ b/ffmpeg-5-mini-devel-rpmlintrc @@ -0,0 +1 @@ +addFilter("non-devel-file-in-devel-package") diff --git a/ffmpeg-5-mini-devel.spec b/ffmpeg-5-mini-devel.spec new file mode 100644 index 0000000..f2c6634 --- /dev/null +++ b/ffmpeg-5-mini-devel.spec @@ -0,0 +1,82 @@ +# +# spec file for package ffmpeg-5-mini-devel +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define _name ffmpeg +%define _major_version 5 +%define _major_expected 6 + +Name: ffmpeg-5-mini-devel +Version: 5.1.2 +Release: 0 +Summary: Set of libraries for working with various multimedia formats +License: GPL-3.0-or-later +Group: Productivity/Multimedia/Video/Editors and Convertors +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: %name-rpmlintrc +Source98: http://ffmpeg.org/ffmpeg-devel.asc#/ffmpeg-5.keyring +BuildRequires: c_compiler + +%description +FFmpeg is a multimedia framework. This package merely builds +the API for the sake of other packages. + +%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 -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%license COPYING.GPLv2 LICENSE.md +%_libdir/lib* +%_libdir/pkgconfig/*.pc +%_includedir/ffmpeg/ + +%changelog diff --git a/ffmpeg-5.changes b/ffmpeg-5.changes index 67c08a6..fb701c3 100644 --- a/ffmpeg-5.changes +++ b/ffmpeg-5.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 21 10:46:16 UTC 2022 - Jan Engelhardt + +- Provide a ffmpeg-5-mini-devel build recipe to help split + anticipated build cycles. + ------------------------------------------------------------------- Mon Dec 12 21:18:30 UTC 2022 - Dirk Müller