RPM: fix audio related dependencies in akode, tqt3 for opensuse distributions

pull/3/head
François Andriot 8 years ago
parent 8f04fcadf7
commit 4e262d6ffb

@ -116,7 +116,13 @@ BuildRequires: pulseaudio-devel
BuildRequires: libmad-devel BuildRequires: libmad-devel
%endif %endif
# ALSA support
%if 0%{?suse_version}
BuildRequires: alsa-devel
%else
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
%endif
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: speex-devel BuildRequires: speex-devel

@ -111,15 +111,10 @@ BuildRequires: cups-devel
%{?uuid_devel:BuildRequires: %{uuid_devel}} %{?uuid_devel:BuildRequires: %{uuid_devel}}
# LIBAUDIO support # 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} %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_nas 1
%define libaudio_devel nas-devel %define libaudio_devel nas-devel
%endif %endif
%if 0%{?suse_version} && 0%{?opensuse_bs} == 0
%define libaudio_devel libaudio-devel
%endif
%endif
%{?libaudio_devel:BuildRequires: %{libaudio_devel}} %{?libaudio_devel:BuildRequires: %{libaudio_devel}}
# Xrender support # Xrender support

Loading…
Cancel
Save