rebuilt by autoport with build requirements: libsoundtouch-devel>=1.9.2-1mamba [release 2.1.2-2mamba;Mon Jun 13 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 20:38:45 +01:00
parent 84491af222
commit 059b5bb3e7
3 changed files with 70 additions and 2 deletions

View File

@ -0,0 +1,30 @@
diff -Naur audacity-src-2.0.6-orig/src/FFmpeg.h audacity-src-2.0.6/src/FFmpeg.h
--- audacity-src-2.0.6-orig/src/FFmpeg.h 2014-09-28 21:54:55.159636208 -0400
+++ audacity-src-2.0.6/src/FFmpeg.h 2014-09-28 21:55:11.246276766 -0400
@@ -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

@ -0,0 +1,31 @@
--- audacity-2.1.2/src/import/ImportFLAC.cpp.orig 2016-06-14 11:25:28.028111388 +0200
+++ audacity-2.1.2/src/import/ImportFLAC.cpp 2016-06-14 11:26:03.383196348 +0200
@@ -296,7 +296,7 @@
int cnt;
wxFile binaryFile;
if (!binaryFile.Open(filename)) {
- return false; // File not found
+ return NULL; // File not found
}
#ifdef USE_LIBID3TAG
@@ -313,7 +313,7 @@
if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) {
// File is not a FLAC file
- return false;
+ return NULL;
}
// Open the file for import
--- audacity-2.1.2/src/effects/vamp/LoadVamp.cpp.orig 2016-06-14 11:27:15.044181400 +0200
+++ audacity-2.1.2/src/effects/vamp/LoadVamp.cpp 2016-06-14 11:27:28.435085488 +0200
@@ -266,7 +266,7 @@
Plugin *vp = PluginLoader::getInstance()->loadPlugin(key, 48000); // rate doesn't matter here
if (!vp)
{
- return false;
+ return NULL;
}
// We limit the listed plugin outputs to those whose results can

View File

@ -1,6 +1,6 @@
Name: audacity
Version: 2.1.2
Release: 1mamba
Release: 2mamba
Epoch: 1
Summary: A free audio editor
Group: Graphical Desktop/Applications/Multimedia
@ -17,6 +17,8 @@ Patch0: audacity-1.3.4-jack_default.patch
Patch1: audacity-1.3.8-gsocket.patch
Patch2: audacity-1.3.12-portmixer.patch
Patch3: audacity-1.3.12-playback_underrun.patch
Patch4: audacity-2.1.2-ffmpeg-3.0.patch
Patch5: audacity-2.1.2-gcc-6.1.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -46,12 +48,12 @@ BuildRequires: libvorbis-devel
BuildRequires: libwxBase-unicode-devel
BuildRequires: libwxGTK-unicode-devel
## AUTOBUILDREQ-END
BuildRequires: libsoundtouch-devel >= 1.9.2-1mamba
BuildRequires: libwx_baseu-devel
BuildRequires: libwx_gtk3u-devel
BuildRequires: liblrdf-devel
BuildRequires: libraptor-devel
BuildRequires: librdf-devel
BuildRequires: libsoundtouch-devel
BuildRequires: gettext-devel >= 0.14.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: liblame
@ -69,6 +71,8 @@ Built-in effects include Bass Boost, Wahwah, and Noise Removal, and it also supp
#%patch1 -p1
#%patch2 -p0
#%patch3 -p1
%patch4 -p1
%patch5 -p1
#cd lib-src/portmixer
#autoreconf
@ -127,6 +131,9 @@ Built-in effects include Bass Boost, Wahwah, and Noise Removal, and it also supp
%{_mandir}/man1/*
%changelog
* Mon Jun 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-2mamba
- rebuilt by autoport with build requirements: libsoundtouch-devel>=1.9.2-1mamba
* Sat Jan 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-1mamba
- update to 2.1.2