|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
# globals for x264-0.163-20210613git5db6aa6.tar.bz2
|
|
|
|
|
%global api 163
|
|
|
|
|
%global gitdate 20210613
|
|
|
|
|
%global gitversion 5db6aa6
|
|
|
|
|
# globals for x264-0.164-20231001git31e19f92.tar.bz2
|
|
|
|
|
%global api 164
|
|
|
|
|
%global gitdate 20231001
|
|
|
|
|
%global gitversion 31e19f92
|
|
|
|
|
|
|
|
|
|
%global snapshot %{gitdate}git%{gitversion}
|
|
|
|
|
%global gver .%{gitdate}git%{gitversion}
|
|
|
|
@ -33,16 +33,19 @@
|
|
|
|
|
Summary: H264/AVC video streams encoder
|
|
|
|
|
Name: x264
|
|
|
|
|
Version: 0.%{api}
|
|
|
|
|
Release: 6%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist}
|
|
|
|
|
Release: 15%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://www.videolan.org/developers/x264.html
|
|
|
|
|
Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2
|
|
|
|
|
Source1: x264-snapshot.sh
|
|
|
|
|
Source2: version.h
|
|
|
|
|
|
|
|
|
|
# don't remove config.h and don't re-run version.sh
|
|
|
|
|
Patch0: x264-nover.patch
|
|
|
|
|
# add 10b suffix to high bit depth build
|
|
|
|
|
Patch1: x264-10b.patch
|
|
|
|
|
# fix assignment from incompatible pointer type errors
|
|
|
|
|
Patch2: x264-altivec-incompatible-pointer-type.patch
|
|
|
|
|
Patch11: x264-opencl.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
@ -56,8 +59,10 @@ BuildRequires: execstack
|
|
|
|
|
%ifarch %{asmarch}
|
|
|
|
|
BuildRequires: nasm
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: pkgconfig(bash-completion)
|
|
|
|
|
# we need to enforce the exact EVR for an ISA - not only the same ABI
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: ffmpeg-libs%{?_isa}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
x264 is a free library for encoding H264/AVC video streams, written from
|
|
|
|
@ -103,9 +108,11 @@ This package contains the development files.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -c -n %{name}-0.%{api}-%{snapshot}
|
|
|
|
|
pushd %{name}-0.%{api}-%{snapshot}
|
|
|
|
|
%patch0 -p1 -b .nover
|
|
|
|
|
%patch1 -p1 -b .10b
|
|
|
|
|
%patch11 -p1 -b .opencl
|
|
|
|
|
cp %{SOURCE2} .
|
|
|
|
|
%patch -P0 -p1 -b .nover
|
|
|
|
|
%patch -P1 -p1 -b .10b
|
|
|
|
|
%patch -P2 -p1 -b .ptr
|
|
|
|
|
%patch -P11 -p1 -b .opencl
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
for variant in generic generic10 ; do
|
|
|
|
@ -158,6 +165,9 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_bindir}/x264
|
|
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
|
|
|
|
%{_datadir}/bash-completion/completions/x264
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%dir %{_pkgdocdir}
|
|
|
|
@ -175,6 +185,56 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Dec 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.164-15.20231001git31e19f92
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Tue Oct 08 2024 Nicolas Chauvet <kwizart@gmail.com> - 0.164-15.20231001git31e19f92
|
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
|
|
* Fri Aug 02 2024 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 0.164-14.20231001git31e19f92
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Mar 10 2024 Dominik Mierzejewski <dominik@greysector.net> - 0.164-13.20231001git31e19f92
|
|
|
|
|
- Fix "assignment from incompatible pointer type" errors on ppc64le
|
|
|
|
|
- Use correct build dependency on bash-completion
|
|
|
|
|
|
|
|
|
|
* Sun Feb 04 2024 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 0.164-12.20231001git31e19f92
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Nov 12 2023 Leigh Scott <leigh123linux@gmail.com> - 0.164-11.20231001git31e19f92
|
|
|
|
|
- Rebuild for new ffmpeg version
|
|
|
|
|
|
|
|
|
|
* Sun Oct 01 2023 Sérgio Basto <sergio@serjux.com> - 0.164-10.20231001git31e19f92
|
|
|
|
|
- Update to x264-0.164-20231001git31e19f92 (stable branch)
|
|
|
|
|
|
|
|
|
|
* Wed Sep 27 2023 Sérgio Basto <sergio@serjux.com> - 0.164-9.20220602gitbaee400f
|
|
|
|
|
- [Bug 6769] Include bash completion definitions for x264
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2023 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 0.164-8.20220602gitbaee400f
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Mar 13 2023 Leigh Scott <leigh123linux@gmail.com> - 0.164-7.20220602gitbaee400f
|
|
|
|
|
- Rebuild for gpac
|
|
|
|
|
|
|
|
|
|
* Tue Feb 28 2023 Sérgio Basto <sergio@serjux.com> - 0.164-6.20220602gitbaee400f
|
|
|
|
|
- Disable build with gpac until we can build gapc with ffmepg-6
|
|
|
|
|
|
|
|
|
|
* Tue Feb 28 2023 Leigh Scott <leigh123linux@gmail.com> - 0.164-5.20220602gitbaee400f
|
|
|
|
|
- Rebuilt for new ffmpeg
|
|
|
|
|
|
|
|
|
|
* Sun Feb 19 2023 Leigh Scott <leigh123linux@gmail.com> - 0.164-4.20220602gitbaee400f
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Sun Sep 04 2022 Leigh Scott <leigh123linux@gmail.com> - 0.164-3.20220602gitbaee400f
|
|
|
|
|
- Add requires ffmpeg-libs
|
|
|
|
|
|
|
|
|
|
* Mon Aug 08 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 0.164-2.20220602gitbaee400f
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
|
|
|
|
|
5.1
|
|
|
|
|
|
|
|
|
|
* Mon Jun 06 2022 Sérgio Basto <sergio@serjux.com> - 0.164-1.20220602gitbaee400f
|
|
|
|
|
- Update to x264-0.164-20220602gitbaee400f (stable branch)
|
|
|
|
|
|
|
|
|
|
* Sat Mar 05 2022 Sérgio Basto <sergio@serjux.com> - 0.163-6.20210613git5db6aa6
|
|
|
|
|
- Rebuild for new gpac on F36
|
|
|
|
|
|