SHA256
1
0
forked from pool/audacity

Accepting request 34846 from multimedia:apps

Copy from multimedia:apps/audacity based on submit request 34846 from user coolo

OBS-URL: https://build.opensuse.org/request/show/34846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audacity?expand=0&rev=28
This commit is contained in:
OBS User autobuild 2010-03-16 00:51:32 +00:00 committed by Git OBS Bridge
commit 629a964a39
3 changed files with 47 additions and 21 deletions

28
audacity-nomac.patch Normal file
View File

@ -0,0 +1,28 @@
Index: audacity-src-1.3.11-beta/lib-src/portmixer/configure.ac
===================================================================
--- audacity-src-1.3.11-beta.orig/lib-src/portmixer/configure.ac
+++ audacity-src-1.3.11-beta/lib-src/portmixer/configure.ac
@@ -64,10 +64,6 @@ AC_EGREP_HEADER([PaWinMME_GetStreamInput
if [[ $have_support = "no" ]] ; then
AC_MSG_WARN("Missing support in pa_win_wmme.h");
fi
-AC_EGREP_HEADER([PaMacCore_GetStreamInputDevice], [pa_mac_core.h], , [have_support=no])
-if [[ $have_support = "no" ]] ; then
- AC_MSG_WARN("Missing support in pa_mac_core.h");
-fi
AC_EGREP_HEADER([PaOSS_GetStreamInputDevice], [pa_unix_oss.h], , [have_support=no])
if [[ $have_support = "no" ]] ; then
AC_MSG_WARN("Missing support in pa_unix_oss.h");
Index: audacity-src-1.3.11-beta/lib-src/portmixer/configure
===================================================================
--- audacity-src-1.3.11-beta.orig/lib-src/portmixer/configure 2010-01-18 22:34:54.000000000 +0100
+++ audacity-src-1.3.11-beta/lib-src/portmixer/configure 2010-03-15 17:16:42.000000000 +0100
@@ -3542,8 +3542,6 @@ _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "PaMacCore_GetStreamInputDevice" >/dev/null 2>&1; then
:
-else
- have_support=no
fi
rm -f conftest*

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Mar 15 16:31:02 UTC 2010 - coolo@novell.com
- rework previous fix without autoreconf in patching configure
directly
-------------------------------------------------------------------
Mon Mar 15 11:43:14 UTC 2010 - dimstar@opensuse.org
- Add audacity-nomac.patch: remove the mac checks from configure.
The check is actually build a test program which fails due to
missing headers. As consequence: start autoreconf in
lib-src/portmixer.
-------------------------------------------------------------------
Mon Jan 25 21:28:17 UTC 2010 - mseben@novell.com

View File

@ -42,7 +42,7 @@ BuildRequires: libtwolame-devel
%endif
Summary: A Free, Cross-Platform Digital Audio Editor
Version: 1.3.11
Release: 1
Release: 2
License: GPLv2+
Group: Productivity/Multimedia/Sound/Editors and Convertors
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -53,6 +53,7 @@ Source1: %{name}.png
Patch0: %{name}-no_buildstamp.patch
Patch5: %{name}-retval.patch
Patch12: %{name}-audiodevdefaults.patch
Patch13: audacity-nomac.patch
%description
Audacity is a program that manipulates digital audio wave forms. In
@ -61,33 +62,16 @@ imports many sound file formats, including WAV, AIFF, AU, IRCAM, MP,
and Ogg Vorbis. With Audacity, you can edit wave data larger than the
physical memory size of your computer.
Authors:
--------
Dominic Mazzoni <dominic@minorninth.com>
Roger Dannenberg <rbd+@cs.cmu.edu>
Jason Cohen <cohen3+@andrew.cmu.edu>
Robert Leidle <rfl+@andrew.cmu.edu>
Mark Tomlinson <marktoml@hotmail.com>
Joshua Haberman <joshua@haberman.com>
Nasca Octavian Paul <paulnasca@email.ro>
Logan Lewis <proxima@proxc.com>
Matt Brubeck <mbrubeck@hmc.edu>
Mark Phillips <mitb@totaldeath.com>
Tony Oetzmann <airon@epost.de>
Harvey Lubin <agrapha@agrapha.com>
Tom Woodhams <tom@imaginemedia.co.uk>
%prep
%setup -q -n %{name}-src-%{version}-beta
%patch0
%patch5
%patch12 -p1
%patch13 -p1
%build
%{?suse_update_config:%{suse_update_config -f . lib-src/*/.}}
export AUTOMAKE="automake --foreign"
#%{?suse_update_config:%{suse_update_config -f . lib-src/*/.}}
#export AUTOMAKE="automake --foreign"
%configure \
--enable-unicode \
--with-libvorbis=system \