summaryrefslogtreecommitdiffstats
path: root/redhat/core/tdemultimedia
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/core/tdemultimedia')
-rw-r--r--redhat/core/tdemultimedia/tdemultimedia.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/redhat/core/tdemultimedia/tdemultimedia.spec b/redhat/core/tdemultimedia/tdemultimedia.spec
index 4aa7a0d1a..47ed43b7e 100644
--- a/redhat/core/tdemultimedia/tdemultimedia.spec
+++ b/redhat/core/tdemultimedia/tdemultimedia.spec
@@ -117,7 +117,11 @@ BuildRequires: cdparanoia
# VORBIS support
%if 0%{?mdkver} || 0%{?mgaversion}
+%if 0%{?pclinuxos}
+%define libvorbis_devel %{_lib}vorbis0-devel
+%else
%define libvorbis_devel %{_lib}vorbis-devel
+%endif
%else
%define libvorbis_devel libvorbis-devel
%endif
@@ -131,7 +135,7 @@ BuildRequires: libtheora-devel
%endif
# ALSA support
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
BuildRequires: %{_lib}asound-devel
%else
BuildRequires: alsa-lib-devel
@@ -167,7 +171,7 @@ BuildRequires: flac-devel
# GSTREAMER support
%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
BuildRequires: %{_lib}gstreamer-devel
BuildRequires: %{_lib}gst-plugins-base1.0-devel
%else
@@ -210,7 +214,7 @@ BuildRequires: libXxf86vm-devel
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?rhel} || 0%{?suse_version}
%define with_xine 1
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
BuildRequires: %{_lib}xine-devel
%else
BuildRequires: %{_lib}xine1.2-devel