diff options
Diffstat (limited to 'redhat/dependencies/akode/akode.spec')
-rw-r--r-- | redhat/dependencies/akode/akode.spec | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/redhat/dependencies/akode/akode.spec b/redhat/dependencies/akode/akode.spec index 958b3eed4..68b357129 100644 --- a/redhat/dependencies/akode/akode.spec +++ b/redhat/dependencies/akode/akode.spec @@ -73,8 +73,12 @@ BuildRequires: trinity-filesystem >= %{tde_version} # FLAC support %define _with_flac --with-flac %if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: %{_lib}flac12-devel +%else BuildRequires: %{_lib}flac-devel %endif +%endif %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} BuildRequires: flac-devel %endif @@ -91,7 +95,7 @@ BuildRequires: jack-audio-connection-kit-devel %endif # SAMPLERATE support -%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?suse_version} %define _with_libsamplerate --with-libsamplerate %if 0%{?mdkversion} || 0%{?mgaversion} BuildRequires: %{_lib}samplerate-devel @@ -130,7 +134,7 @@ BuildRequires: libmad-devel %if 0%{?suse_version} BuildRequires: alsa-devel %else -%if 0%{?mdkver} +%if 0%{?mdkver} >= 5000000 BuildRequires: %{_lib}asound-devel %else BuildRequires: alsa-lib-devel @@ -139,7 +143,11 @@ BuildRequires: alsa-lib-devel # VORBIS support %if 0%{?mdkver} || 0%{?mgaversion} +%if 0%{?pclinuxos} +%define libvorbis_devel %{_lib}vorbis0-devel +%else %define libvorbis_devel %{_lib}vorbis-devel +%endif %else %define libvorbis_devel libvorbis-devel %endif |