forked from pool/audacity
Accepting request 828645 from home:plater
Fix build with updated libsuil-0-0 OBS-URL: https://build.opensuse.org/request/show/828645 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=153
This commit is contained in:
parent
66189dbbfc
commit
e2dcc41477
@ -58,27 +58,34 @@ BuildRequires: pkgconfig(jack)
|
|||||||
BuildRequires: pkgconfig(libavcodec) >= 51.53
|
BuildRequires: pkgconfig(libavcodec) >= 51.53
|
||||||
BuildRequires: pkgconfig(libavformat) >= 52.12
|
BuildRequires: pkgconfig(libavformat) >= 52.12
|
||||||
BuildRequires: pkgconfig(libavutil)
|
BuildRequires: pkgconfig(libavutil)
|
||||||
BuildRequires: pkgconfig(lilv-0) >= 0.16
|
BuildRequires: pkgconfig(lilv-0) >= 0.24.6
|
||||||
BuildRequires: pkgconfig(lv2)
|
BuildRequires: pkgconfig(lv2) >= 1.16.0
|
||||||
BuildRequires: pkgconfig(mad)
|
BuildRequires: pkgconfig(mad)
|
||||||
BuildRequires: pkgconfig(ogg)
|
BuildRequires: pkgconfig(ogg)
|
||||||
|
BuildRequires: pkgconfig(serd-0) >= 0.30.2
|
||||||
BuildRequires: pkgconfig(shared-mime-info)
|
BuildRequires: pkgconfig(shared-mime-info)
|
||||||
BuildRequires: pkgconfig(sndfile)
|
BuildRequires: pkgconfig(sndfile)
|
||||||
|
BuildRequires: pkgconfig(sord-0) >= 0.16.4
|
||||||
BuildRequires: pkgconfig(soundtouch)
|
BuildRequires: pkgconfig(soundtouch)
|
||||||
BuildRequires: pkgconfig(soxr)
|
BuildRequires: pkgconfig(soxr)
|
||||||
BuildRequires: pkgconfig(suil-0) >= 0.8.2
|
BuildRequires: pkgconfig(sratom-0) >= 0.6.4
|
||||||
|
BuildRequires: pkgconfig(suil-0) >= 0.10.6
|
||||||
BuildRequires: pkgconfig(twolame)
|
BuildRequires: pkgconfig(twolame)
|
||||||
BuildRequires: pkgconfig(vamp-hostsdk)
|
BuildRequires: pkgconfig(vamp-hostsdk)
|
||||||
BuildRequires: pkgconfig(vorbis)
|
BuildRequires: pkgconfig(vorbis)
|
||||||
BuildRequires: pkgconfig(vorbisenc)
|
BuildRequires: pkgconfig(vorbisenc)
|
||||||
BuildRequires: pkgconfig(vorbisfile)
|
BuildRequires: pkgconfig(vorbisfile)
|
||||||
|
# WARNING lilv-0 >= 0.24.6;lv2 >= 1.16.0;serd-0 >= 0.30.2;sord-0 >= 0.16.4;sratom-0 >= 0.6.4;suil-0 >= 0.10.6
|
||||||
|
# check these versions after every update otherwise audacity builds libsuil itself.
|
||||||
# This would require to patch our portaudio package with "PortMixer"... an extra API that never got integrated in PortAudio.
|
# This would require to patch our portaudio package with "PortMixer"... an extra API that never got integrated in PortAudio.
|
||||||
#BuildRequires: portaudio-devel
|
#BuildRequires: portaudio-devel
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
# WARNING Nothing provides libavutil without a suffix
|
# Nothing provides libavutil without a suffix
|
||||||
Requires: %{name}-plugins = %{version}
|
|
||||||
Requires: ffmpeg
|
Requires: ffmpeg
|
||||||
Requires: libmp3lame0
|
Requires: libmp3lame0
|
||||||
|
%if %{avfmtversion} >= 5845100
|
||||||
|
Requires: %{name}-plugins
|
||||||
|
%endif
|
||||||
#Doesn't build for 32 bit anymore
|
#Doesn't build for 32 bit anymore
|
||||||
ExcludeArch: i586
|
ExcludeArch: i586
|
||||||
|
|
||||||
@ -91,14 +98,15 @@ physical memory size can be edited.
|
|||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
|
%if %{avfmtversion} >= 5845100
|
||||||
%package plugins
|
%package plugins
|
||||||
Summary: Enhancments for Audacity
|
Summary: Enhancments for Audacity
|
||||||
Group: Productivity/Multimedia/Sound
|
Group: Productivity/Multimedia/Sound
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description plugins
|
%description plugins
|
||||||
This package contains extra plugins for audacity.
|
This package contains libavformat link for audacity.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-Audacity-%{version}
|
%setup -q -n %{name}-Audacity-%{version}
|
||||||
@ -154,6 +162,7 @@ cp -v lib-src/portmixer/LICENSE.txt portmixer.LICENSE.txt
|
|||||||
# Audacity looks for the major version of libavformat but the symlink no longer exists
|
# Audacity looks for the major version of libavformat but the symlink no longer exists
|
||||||
# in openSUSE after version 58.45.100
|
# in openSUSE after version 58.45.100
|
||||||
%if %{avfmtversion} >= 5845100
|
%if %{avfmtversion} >= 5845100
|
||||||
|
mkdir -p %{buildroot}%{_libdir}
|
||||||
pushd %{buildroot}%{_libdir}
|
pushd %{buildroot}%{_libdir}
|
||||||
ln -s %{_libdir}/libavformat.so.%{avfmtvers} libavformat.so.%{avfmtmaj}
|
ln -s %{_libdir}/libavformat.so.%{avfmtvers} libavformat.so.%{avfmtmaj}
|
||||||
popd
|
popd
|
||||||
@ -161,11 +170,8 @@ popd
|
|||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%files plugins
|
|
||||||
%license LICENSE.txt
|
|
||||||
%dir %{_libdir}/%{name}
|
|
||||||
%{_libdir}/%{name}/suil*.so
|
|
||||||
%if %{avfmtversion} >= 5845100
|
%if %{avfmtversion} >= 5845100
|
||||||
|
%files plugins
|
||||||
%{_libdir}/libavformat.so.%{avfmtmaj}
|
%{_libdir}/libavformat.so.%{avfmtmaj}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user