summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2017-06-24 20:52:02 +0200
committerFrançois Andriot <[email protected]>2017-06-24 20:54:26 +0200
commit4e262d6ffbee625b1c2ce1b4a221904cbad2f2f9 (patch)
tree4441e093fd59b2af1c51d2ea42b431b207f0faf6
parent8f04fcadf7c74e31c3e4e426ff4a77c70161fb90 (diff)
downloadtde-packaging-4e262d6ffbee625b1c2ce1b4a221904cbad2f2f9.tar.gz
tde-packaging-4e262d6ffbee625b1c2ce1b4a221904cbad2f2f9.zip
RPM: fix audio related dependencies in akode, tqt3 for opensuse distributions
-rw-r--r--redhat/dependencies/akode/akode-14.0.0.spec6
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0.spec7
2 files changed, 7 insertions, 6 deletions
diff --git a/redhat/dependencies/akode/akode-14.0.0.spec b/redhat/dependencies/akode/akode-14.0.0.spec
index 36bed4244..14bde662f 100644
--- a/redhat/dependencies/akode/akode-14.0.0.spec
+++ b/redhat/dependencies/akode/akode-14.0.0.spec
@@ -116,7 +116,13 @@ BuildRequires: pulseaudio-devel
BuildRequires: libmad-devel
%endif
+# ALSA support
+%if 0%{?suse_version}
+BuildRequires: alsa-devel
+%else
BuildRequires: alsa-lib-devel
+%endif
+
BuildRequires: libvorbis-devel
BuildRequires: speex-devel
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
index 9f216c803..b4923bcf2 100644
--- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
@@ -111,15 +111,10 @@ BuildRequires: cups-devel
%{?uuid_devel:BuildRequires: %{uuid_devel}}
# LIBAUDIO support
-%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%define with_nas 1
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_nas 1
%define libaudio_devel nas-devel
%endif
-%if 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%define libaudio_devel libaudio-devel
-%endif
-%endif
%{?libaudio_devel:BuildRequires: %{libaudio_devel}}
# Xrender support