From 4e262d6ffbee625b1c2ce1b4a221904cbad2f2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 24 Jun 2017 20:52:02 +0200 Subject: RPM: fix audio related dependencies in akode, tqt3 for opensuse distributions --- redhat/dependencies/akode/akode-14.0.0.spec | 6 ++++++ redhat/dependencies/tqt3/tqt3-14.0.0.spec | 7 +------ 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'redhat/dependencies') 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 -- cgit v1.2.1