diff options
author | François Andriot <albator78@libertysurf.fr> | 2016-11-11 16:34:48 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2016-11-11 16:34:48 +0100 |
commit | f0b5ce1156b7b91fcdb9b31047e232cb16b2fab7 (patch) | |
tree | 2b6a084a5b1af6e2b9f83f44f71893fc754a0cb9 /redhat | |
parent | ce7a67586a1b24fa76aa7477af39588bbda77137 (diff) | |
download | tde-packaging-f0b5ce1156b7b91fcdb9b31047e232cb16b2fab7.tar.gz tde-packaging-f0b5ce1156b7b91fcdb9b31047e232cb16b2fab7.zip |
RPM packaging: fix gstreamer depencency on kaffeine, kmplayer, tdemultimedia
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/applications/kaffeine/kaffeine-14.0.0.spec | 11 | ||||
-rw-r--r-- | redhat/applications/kmplayer/kmplayer-14.0.0.spec | 12 | ||||
-rw-r--r-- | redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec | 11 |
3 files changed, 21 insertions, 13 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} diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec index eba23f002..a08c47a93 100644 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec +++ b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec @@ -136,12 +136,19 @@ BuildRequires: flac-devel # GSTREAMER support %if 0%{?mgaversion} || 0%{?mdkversion} BuildRequires: %{_lib}gstreamer1.0-devel +BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel %endif -%if 0%{?rhel} || 0%{?fedora} +%if 0%{?rhel} == 4 BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-devel %endif -%if 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 # X11 Libraries |