Accepting request 258337 from home:enzokiel:branches:multimedia:apps
- Update to 2.0.6 OBS-URL: https://build.opensuse.org/request/show/258337 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=72
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
%bcond_with ffmpeg
|
||||
%bcond_with mad
|
||||
%bcond_with lame
|
||||
%bcond_with twolame
|
||||
|
||||
Name: audacity
|
||||
@@ -43,18 +44,23 @@ BuildRequires: pkgconfig(vamp-hostsdk)
|
||||
BuildRequires: pkgconfig(vorbis)
|
||||
BuildRequires: pkgconfig(vorbisenc)
|
||||
BuildRequires: pkgconfig(vorbisfile)
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
# This would require to patch our portaudio package with "PortMixer"... an extra API that never got integrated in PortAudio.
|
||||
#BuildRequires: portaudio-devel
|
||||
%if %{with ffmpeg}
|
||||
BuildRequires: libffmpeg_oldabi-devel
|
||||
BuildRequires: libffmpeg-devel
|
||||
%endif
|
||||
%if %{with mad}
|
||||
BuildRequires: pkgconfig(mad)
|
||||
%endif
|
||||
%if %{with lame}
|
||||
BuildRequires: libmp3lame-devel
|
||||
%endif
|
||||
%if %{with twolame}
|
||||
BuildRequires: pkgconfig(twolame)
|
||||
%endif
|
||||
Version: 2.0.5
|
||||
Version: 2.0.6
|
||||
Release: 0
|
||||
Summary: A Free, Cross-Platform Digital Audio Editor
|
||||
License: GPL-2.0+
|
||||
@@ -64,11 +70,12 @@ Source0: http://audacity.googlecode.com/files/audacity-minsrc-%{version}.
|
||||
Source1: audacity-license-nyquist
|
||||
# PATCH-FIX-OPENSUSE audacity-no_buildstamp.patch reddwarf@opensuse.org -- this patch removes the buildstamp
|
||||
Patch0: audacity-no_buildstamp.patch
|
||||
Patch1: audacity-flac_assert.h.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Recommends: libmp3lame0
|
||||
Recommends: libavformat52
|
||||
Recommends: libavcodec52
|
||||
Recommends: libavutil50
|
||||
Recommends: libavformat55
|
||||
Recommends: libavcodec55
|
||||
Recommends: libavutil52
|
||||
|
||||
%description
|
||||
Audacity is a program that manipulates digital audio wave forms. In
|
||||
@@ -80,14 +87,20 @@ physical memory size of your computer.
|
||||
%prep
|
||||
%setup -q -n audacity-src-%{version}
|
||||
%patch0
|
||||
%patch1
|
||||
cp %{SOURCE1} LICENSE_NYQUIST.txt
|
||||
# Make sure we use the system versions
|
||||
rm -r lib-src/libvamp/
|
||||
%if %{with lame}
|
||||
rm -r lib-src/lame/
|
||||
%endif
|
||||
%if %{with ffmpeg}
|
||||
rm -r lib-src/ffmpeg/
|
||||
%endif
|
||||
|
||||
%build
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
%configure --docdir=%{_defaultdocdir}/audacity/ \
|
||||
%ifnarch %ix86 x86_64
|
||||
--disable-sse
|
||||
@@ -101,6 +114,7 @@ make %{?_smp_mflags}
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/
|
||||
mv %{buildroot}%{_datadir}/pixmaps/gnome-mime-application-x-audacity-project.xpm %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/application-x-audacity-project.xpm
|
||||
rm -r %{buildroot}%{_datadir}/pixmaps
|
||||
rm -r %{buildroot}%{_datadir}/appdata
|
||||
%find_lang %{name}
|
||||
|
||||
%post
|
||||
@@ -115,8 +129,8 @@ rm -r %{buildroot}%{_datadir}/pixmaps
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.txt README.txt LICENSE_NYQUIST.txt
|
||||
%{_defaultdocdir}/audacity/
|
||||
%doc LICENSE_NYQUIST.txt
|
||||
%{_docdir}/audacity/
|
||||
%{_mandir}/man1/audacity.1*
|
||||
%{_bindir}/audacity
|
||||
%{_datadir}/audacity/
|
||||
|
Reference in New Issue
Block a user