no libXvMC on el6/ppc64

This commit is contained in:
Rex Dieter 2010-06-21 15:19:13 +00:00
parent eb97b605e4
commit d1fcff8658

View File

@ -24,6 +24,12 @@
%define with_xcb %{?_with_xcb:1}%{!?_with_xcb:0}
%endif # Fedora
%if 0%{?rhel} > 5
%ifarch ppc64
%define no_xvmc 1
%endif
%endif
%if 0%{?fedora} > 8 || 0%{?rhel} > 5
%define _without_arts --without-arts
%endif
@ -68,7 +74,7 @@ BuildRequires: automake libtool
BuildRequires: libX11-devel
BuildRequires: libXv-devel
BuildRequires: libXinerama-devel
BuildRequires: libXvMC-devel
%{!?no_xvmc:BuildRequires: libXvMC-devel}
BuildRequires: libGLU-devel
%if 0%{?_enable_v4l:1}
BuildRequires: libv4l-devel
@ -384,7 +390,7 @@ rm -rf $RPM_BUILD_ROOT
%endif # xcb
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xshm.so
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xv.so
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xvmc.so
%{!?no_xvmc:%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xvmc.so}
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xxmc.so
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_wavpack.so