summaryrefslogtreecommitdiffstats
path: root/redhat/applications
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-11-11 16:34:48 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2016-11-11 16:34:48 +0100
commitf0b5ce1156b7b91fcdb9b31047e232cb16b2fab7 (patch)
tree2b6a084a5b1af6e2b9f83f44f71893fc754a0cb9 /redhat/applications
parentce7a67586a1b24fa76aa7477af39588bbda77137 (diff)
downloadtde-packaging-f0b5ce1156b7b91fcdb9b31047e232cb16b2fab7.tar.gz
tde-packaging-f0b5ce1156b7b91fcdb9b31047e232cb16b2fab7.zip
RPM packaging: fix gstreamer depencency on kaffeine, kmplayer, tdemultimedia
Diffstat (limited to 'redhat/applications')
-rw-r--r--redhat/applications/kaffeine/kaffeine-14.0.0.spec11
-rw-r--r--redhat/applications/kmplayer/kmplayer-14.0.0.spec12
2 files changed, 12 insertions, 11 deletions
diff --git a/redhat/applications/kaffeine/kaffeine-14.0.0.spec b/redhat/applications/kaffeine/kaffeine-14.0.0.spec
index 8f6cd6ba8..28aadcb4d 100644
--- a/redhat/applications/kaffeine/kaffeine-14.0.0.spec
+++ b/redhat/applications/kaffeine/kaffeine-14.0.0.spec
@@ -120,21 +120,22 @@ BuildRequires: libxcb-devel
# GSTREAMER support
%if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gstreamer 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}gstreamer1.0-devel
+BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel
+%endif
%if 0%{?rhel} == 4
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-devel
%endif
-%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?fedora} || 0%{?suse_version}
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version}
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
%endif
-%if 0%{?rhel} >= 7
+%if 0%{?rhel} >= 7 || 0%{?fedora}
BuildRequires: gstreamer1-devel >= 1.0
BuildRequires: gstreamer1-plugins-base-devel >= 1.0
%endif
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}gstreamer1.0-devel
-%endif
%endif
# XINE support
diff --git a/redhat/applications/kmplayer/kmplayer-14.0.0.spec b/redhat/applications/kmplayer/kmplayer-14.0.0.spec
index 21adbc20e..11b191ddf 100644
--- a/redhat/applications/kmplayer/kmplayer-14.0.0.spec
+++ b/redhat/applications/kmplayer/kmplayer-14.0.0.spec
@@ -84,21 +84,21 @@ BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
# GSTREAMER support
%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
-BuildRequires: libgstreamer1.0-devel
-%else
BuildRequires: %{_lib}gstreamer1.0-devel
-%endif
BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: gstreamer-devel
-#BuildRequires: gstreamer-plugins-devel
+BuildRequires: gstreamer-plugins-devel
%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version}
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
%endif
+%if 0%{?rhel} >= 7 || 0%{?fedora}
+BuildRequires: gstreamer1-devel >= 1.0
+BuildRequires: gstreamer1-plugins-base-devel >= 1.0
+%endif
# XINE support
%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}