Enable opencl (which is default) only exist --disable-opencl option

Disable opencl on 10bit seems that is just prepared for 8bit.
el8
Sérgio M. Basto 6 years ago
parent 0136d44350
commit cbc69593c4

@ -31,7 +31,7 @@
Summary: H264/AVC video streams encoder
Name: x264
Version: 0.%{api}
Release: 4%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist}
Release: 5%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist}
License: GPLv2+
URL: https://www.videolan.org/developers/x264.html
Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2
@ -88,7 +88,6 @@ This package contains the development files.
%{?_without_libavformat:--disable-lavf} \\\
%{?_without_libswscale:--disable-swscale} \\\
%{!?_with_ffmpegsource:--disable-ffms} \\\
--disable-opencl \\\
--enable-debug \\\
--enable-shared \\\
--system-libx264 \\\
@ -125,6 +124,7 @@ pushd generic10
%{x_configure}\
%{?_without_asm:--disable-asm}\
--disable-cli\
--disable-opencl \
--bit-depth=10
%{__make} %{?_smp_mflags}
@ -142,6 +142,7 @@ pushd simd10
%{x_configure}\
--disable-cli\
--libdir=%{slibdir}\
--disable-opencl \
--bit-depth=10
%{__make} %{?_smp_mflags}
@ -206,6 +207,10 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/
%endif
%changelog
* Mon Apr 29 2019 Sérgio Basto <sergio@serjux.com> - 0.157-5.20190303git72db437
- Enable opencl (which is default) only exist --disable-opencl option
- Disable opencl on 10bit seems that is just prepared for 8bit.
* Sun Apr 28 2019 Leigh Scott <leigh123linux@gmail.com> - 0.157-4.20190303git72db437
- Fix opencl dlopen (rfbz#5185)

Loading…
Cancel
Save