!2 x264:修复编译失败问题
Merge pull request !2 from Chenxi Mao/openEuler-22.03-LTS-Next
This commit is contained in:
commit
6a9b20cc4e
21
x264.spec
21
x264.spec
@ -7,13 +7,17 @@
|
|||||||
%global gver .%{gitdate}git%{gitversion}
|
%global gver .%{gitdate}git%{gitversion}
|
||||||
%global branch stable
|
%global branch stable
|
||||||
|
|
||||||
%global _with_bootstrap 1
|
# The marco defination logic as below:
|
||||||
|
# _with_bootstrap to 1
|
||||||
|
# ==> set _without_* to 1
|
||||||
|
# ==> Don't require gpac/zlib/*-devel
|
||||||
|
%define _with_bootstrap 1
|
||||||
|
|
||||||
%{?_with_bootstrap:
|
%if %{_with_bootstrap}
|
||||||
%global _without_gpac 1
|
%define _without_gpac 1
|
||||||
%global _without_libavformat 1
|
%define _without_libavformat 1
|
||||||
%global _without_libswscale 1
|
%define _without_libswscale 1
|
||||||
}
|
%endif
|
||||||
#Whitelist of arches with dedicated ASM code
|
#Whitelist of arches with dedicated ASM code
|
||||||
%global asmarch x86_64 armv7hl armv7hnl ppc64le aarch64
|
%global asmarch x86_64 armv7hl armv7hnl ppc64le aarch64
|
||||||
# list of arches where ASM must be optional
|
# list of arches where ASM must be optional
|
||||||
@ -31,7 +35,7 @@
|
|||||||
Summary: H264/AVC video streams encoder
|
Summary: H264/AVC video streams encoder
|
||||||
Name: x264
|
Name: x264
|
||||||
Version: 0.%{api}
|
Version: 0.%{api}
|
||||||
Release: 12%{?gver}%{?_with_bootstrap:_bootstrap}
|
Release: 13%{?gver}%{?_with_bootstrap:_bootstrap}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://www.videolan.org/developers/x264.html
|
URL: https://www.videolan.org/developers/x264.html
|
||||||
Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2
|
Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2
|
||||||
@ -207,5 +211,8 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 21 2021 - Chenxi Mao <chenxi.mao@suse.com> - 0.157-13
|
||||||
|
- x264: fix build error
|
||||||
|
|
||||||
* Fri May 07 2021 weidong <weidong@uniontech.com> - 0.157-12.20190717git34c06d1
|
* Fri May 07 2021 weidong <weidong@uniontech.com> - 0.157-12.20190717git34c06d1
|
||||||
- Initial package.
|
- Initial package.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user