SHA256
1
0
forked from pool/audacity

Accepting request 289339 from multimedia:apps

1

OBS-URL: https://build.opensuse.org/request/show/289339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audacity?expand=0&rev=62
This commit is contained in:
Dominique Leuenberger 2015-03-05 14:43:44 +00:00 committed by Git OBS Bridge
commit 41f0969f47
3 changed files with 42 additions and 3 deletions

29
audacity-ffmpeg.patch Normal file
View File

@ -0,0 +1,29 @@
--- src/FFmpeg.h.orig 2015-03-03 20:56:22.816742627 +0100
+++ src/FFmpeg.h 2015-03-03 20:56:22.851741975 +0100
@@ -688,7 +688,7 @@
FFMPEG_FUNCTION_WITH_RETURN(
AVOutputFormat*,
av_oformat_next,
- (AVOutputFormat *f),
+ (const AVOutputFormat *f),
(f)
);
FFMPEG_FUNCTION_WITH_RETURN(
@@ -755,7 +755,7 @@
FFMPEG_FUNCTION_WITH_RETURN(
int,
av_fifo_size,
- (AVFifoBuffer *f),
+ (const AVFifoBuffer *f),
(f)
);
FFMPEG_FUNCTION_WITH_RETURN(
@@ -801,7 +801,7 @@
FFMPEG_FUNCTION_WITH_RETURN(
AVDictionaryEntry *,
av_dict_get,
- (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
+ (const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
(m, key, prev, flags)
);
FFMPEG_FUNCTION_WITH_RETURN(

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 03 20:13:49 UTC 2015 - joerg.lorenzen@ki.tng.de
- Add patch audacity-ffmpeg.patch to build against current ffmpeg
on PMBS.
-------------------------------------------------------------------
Mon Oct 27 20:27:33 UTC 2014 - joerg.lorenzen@ki.tng.de

View File

@ -71,11 +71,12 @@ 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
Patch2: audacity-ffmpeg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: libmp3lame0
Recommends: libavformat55
Recommends: libavcodec55
Recommends: libavutil52
Recommends: libavformat56
Recommends: libavcodec56
Recommends: libavutil54
%description
Audacity is a program that manipulates digital audio wave forms. In
@ -88,6 +89,9 @@ physical memory size of your computer.
%setup -q -n audacity-src-%{version}
%patch0
%patch1
%if %{with ffmpeg}
%patch2
%endif
cp %{SOURCE1} LICENSE_NYQUIST.txt
# Make sure we use the system versions
rm -r lib-src/libvamp/