diff --git a/xpra.spec b/xpra.spec index 942f334..04c6031 100644 --- a/xpra.spec +++ b/xpra.spec @@ -65,6 +65,10 @@ Requires: shared-mime-info Requires: python-cups Requires: python-lz4 +%if 0%{?fedora} >= 24 +Suggests: python2-pyopencl +%endif + Provides: bundled(js-jquery-ui) = 1.10.4 %if 0%{?fedora} >= 21 Requires: js-zlib @@ -98,6 +102,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build \ %{?_with_enc_x264} \ %{?_with_dec_avcodec2} \ %{?_with_csc_swscale} \ +%if 0%{?fedora} >= 24 + --with-csc_opencl \ +%endif --with-Xdummy \ --with-Xdummy_wrapper @@ -111,6 +118,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build \ %{?_with_enc_x264} \ %{?_with_dec_avcodec2} \ %{?_with_csc_swscale} \ +%if 0%{?fedora} >= 24 + --with-csc_opencl \ +%endif --with-Xdummy \ --with-Xdummy_wrapper @@ -208,6 +218,7 @@ fi %changelog * Mon Nov 30 2015 Jonathan Underwood - 0.15.8-2 - Use same options for build and install +- Add csc_opencl support for Fedora 24 and later * Sat Nov 14 2015 Jonathan Underwood - 0.15.8-1 - Update to 0.15.8