another approach, disabling v4l support hammers both v4l1 and v4l2
This commit is contained in:
parent
0f41a42622
commit
ecb7e89778
@ -39,7 +39,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} > 14
|
%if 0%{?fedora} > 14
|
||||||
%undefine _enable_v4l
|
%define _disable_v4l1 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} > 11 || 0%{?rhel} > 5
|
%if 0%{?fedora} > 11 || 0%{?rhel} > 5
|
||||||
@ -283,6 +283,12 @@ rm -Rf $RPM_BUILD_ROOT%{_libdir}/libxine.la __docs/README \
|
|||||||
# Directory for binary codecs
|
# Directory for binary codecs
|
||||||
mkdir -p $RPM_BUILD_ROOT%{codecdir}
|
mkdir -p $RPM_BUILD_ROOT%{codecdir}
|
||||||
|
|
||||||
|
# unpackaged files
|
||||||
|
%if 0%{?_disable_v4l1:1}
|
||||||
|
rm -fv $RPM_BUILD_ROOT%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_pvr.so
|
||||||
|
rm -fv $RPM_BUILD_ROOT%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l.so
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -390,10 +396,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_rtsp.so
|
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_rtsp.so
|
||||||
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_stdin_fifo.so
|
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_stdin_fifo.so
|
||||||
%if 0%{?_enable_v4l:1}
|
%if 0%{?_enable_v4l:1}
|
||||||
|
%if ! 0%{?_disable_v4l1:1}
|
||||||
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_pvr.so
|
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_pvr.so
|
||||||
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l.so
|
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l.so
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?_enable_libv4l:1)
|
|
||||||
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l2.so
|
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l2.so
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_fb.so
|
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_fb.so
|
||||||
|
Loading…
Reference in New Issue
Block a user