summaryrefslogtreecommitdiffstats
path: root/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdemultimedia/tdemultimedia-14.0.0.spec')
-rw-r--r--redhat/tdemultimedia/tdemultimedia-14.0.0.spec17
1 files changed, 12 insertions, 5 deletions
diff --git a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
index 3a347b899..c6250e8b3 100644
--- a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
+++ b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
@@ -159,11 +159,6 @@ BuildRequires: gstreamer-0_10-devel
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xxf86dga-devel
BuildRequires: %{_lib}xxf86vm-devel
-%if 0%{?mgaversion} >= 4
-BuildRequires: %{_lib}xtst-devel
-%else
-BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
-%endif
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
@@ -173,6 +168,18 @@ BuildRequires: libXxf86dga-devel
BuildRequires: libXxf86vm-devel
%endif
+# XTST support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xtst-devel
+%else
+BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
+%endif
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXtst-devel
+%endif
+
# XINE support
%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?with_xine}
%define with_xine 1