SHA256
1
0
forked from pool/audacity
Alexei Sorokin 2015-10-31 18:48:54 +00:00 committed by Git OBS Bridge
parent 341d345f9e
commit e254405483

View File

@ -18,7 +18,6 @@
%define _use_internal_dependency_generator 0 %define _use_internal_dependency_generator 0
%define __find_requires %{wx_requires} %define __find_requires %{wx_requires}
%bcond_with restricted
%bcond_with mad %bcond_with mad
%bcond_with lame %bcond_with lame
%bcond_with twolame %bcond_with twolame
@ -54,6 +53,9 @@ BuildRequires: pkgconfig(flac++)
BuildRequires: pkgconfig(gtk+-2.0) >= 2.4.0 BuildRequires: pkgconfig(gtk+-2.0) >= 2.4.0
BuildRequires: pkgconfig(id3tag) BuildRequires: pkgconfig(id3tag)
BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libavcodec) >= 51.53
BuildRequires: pkgconfig(libavformat) >= 52.12
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(shared-mime-info) BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(sndfile)
@ -70,11 +72,6 @@ Recommends: libavcodec
Recommends: libavformat Recommends: libavformat
Recommends: libavutil Recommends: libavutil
Recommends: libmp3lame0 Recommends: libmp3lame0
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse}) || %{with restricted}
BuildRequires: pkgconfig(libavcodec) >= 51.53
BuildRequires: pkgconfig(libavformat) >= 52.12
BuildRequires: pkgconfig(libavutil)
%endif
%if %{with mad} %if %{with mad}
BuildRequires: pkgconfig(mad) BuildRequires: pkgconfig(mad)
%endif %endif
@ -102,7 +99,7 @@ than the physical memory size of your computer.
%patch3 %patch3
cp -f %{SOURCE1} LICENSE_NYQUIST.txt cp -f %{SOURCE1} LICENSE_NYQUIST.txt
# Make sure we use the system versions. # Make sure we use the system versions.
rm -rf lib-src/{expat,libvamp,libsoxr}/ rm -rf lib-src/{expat,libvamp,libsoxr,ffmpeg}/
%if %{with lame} %if %{with lame}
rm -rf lib-src/lame/ rm -rf lib-src/lame/
%endif %endif