diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-03-05 06:32:57 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-03-05 06:32:57 -0300 |
commit | 915d5559e0cf5fbe29557b9b63a84f77ee2144a5 (patch) | |
tree | 092525273f4791605da7ad72aa03ea9774911178 /audio/audacity/audacity-src-1.3.12-beta-configure-portmixer.patch | |
parent | d2ec2b6968a02e2dd16474d7681f459f827af7ba (diff) | |
download | slackbuilds-915d5559e0cf5fbe29557b9b63a84f77ee2144a5.tar.gz |
audio/audacity: Patched for portaudio + new ffmpeg switch.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/audacity/audacity-src-1.3.12-beta-configure-portmixer.patch')
-rw-r--r-- | audio/audacity/audacity-src-1.3.12-beta-configure-portmixer.patch | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/audio/audacity/audacity-src-1.3.12-beta-configure-portmixer.patch b/audio/audacity/audacity-src-1.3.12-beta-configure-portmixer.patch new file mode 100644 index 0000000000..8d97ac300f --- /dev/null +++ b/audio/audacity/audacity-src-1.3.12-beta-configure-portmixer.patch @@ -0,0 +1,88 @@ +diff -Naur audacity-src-1.3.12-beta.orig/lib-src/portmixer/configure.ac audacity-src-1.3.12-beta/lib-src/portmixer/configure.ac +--- audacity-src-1.3.12-beta.orig/lib-src/portmixer/configure.ac 2010-03-30 13:29:47.000000000 +0200 ++++ audacity-src-1.3.12-beta/lib-src/portmixer/configure.ac 2011-02-10 11:24:20.256414598 +0100 +@@ -49,29 +49,52 @@ + fi + + # ++# Check which APIs are available ++# ++ ++have_oss=no ++AC_CHECK_HEADERS([sys/soundcard.h linux/soundcard.h machine/soundcard.h], have_oss=yes) ++ ++AC_CHECK_HEADER(alsa/asoundlib.h, have_alsa=yes, have_alsa=no) ++AC_CHECK_HEADER(CoreAudio/CoreAudio.h, have_coreaudio=yes, have_coreaudio=no) ++AC_CHECK_HEADER(windows.h, have_windows=yes, have_windows=no) ++ + # Make sure the support is there + # + have_support=yes +-AC_EGREP_HEADER([PaWinDS_GetStreamInputGUID], [pa_win_ds.h], , [have_support=no]) +-if [[ $have_support = "no" ]] ; then +- AC_MSG_WARN("Missing support in pa_win_ds.h"); +-fi +-AC_EGREP_HEADER([PaAlsa_GetStreamInputCard], [pa_linux_alsa.h], , [have_support=no]) +-if [[ $have_support = "no" ]] ; then ++ ++if [[ $have_alsa = "yes" ]] ; then ++ AC_EGREP_HEADER([PaAlsa_GetStreamInputCard], [pa_linux_alsa.h], , [have_support=no]) ++ if [[ $have_support = "no" ]] ; then + AC_MSG_WARN("Missing support in pa_linux_alsa.h"); ++ fi + fi +-AC_EGREP_HEADER([PaWinMME_GetStreamInputHandle], [pa_win_wmme.h], , [have_support=no]) +-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 ++ ++if [[ $have_coreaudio = "yes" ]] ; then ++ 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 + 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"); ++ ++if [[ $have_oss = "yes" ]] ; then ++ 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"); ++ fi ++fi ++ ++if [[ $have_windows = "yes" ]] ; then ++ AC_EGREP_HEADER([PaWinDS_GetStreamInputGUID], [pa_win_ds.h], , [have_support=no]) ++ if [[ $have_support = "no" ]] ; then ++ AC_MSG_WARN("Missing support in pa_win_ds.h"); ++ fi ++ AC_EGREP_HEADER([PaWinMME_GetStreamInputHandle], [pa_win_wmme.h], , [have_support=no]) ++ if [[ $have_support = "no" ]] ; then ++ AC_MSG_WARN("Missing support in pa_win_wmme.h"); ++ fi + fi ++ + AC_EGREP_HEADER([Pa_GetStreamHostApiType], [portaudio.h], , [have_support=no]) + if [[ $have_support = "no" ]] ; then + AC_MSG_WARN("Missing support in portaudio.h"); +@@ -88,16 +111,6 @@ + AC_SUBST( objects, [px_mixer.o] ) + + # +-# Check which APIs are available +-# +- +-have_oss=no +-AC_CHECK_HEADERS([sys/soundcard.h linux/soundcard.h machine/soundcard.h], have_oss=yes) +- +-AC_CHECK_HEADER(alsa/asoundlib.h, have_alsa=yes, have_alsa=no) +-AC_CHECK_HEADER(CoreAudio/CoreAudio.h, have_coreaudio=yes, have_coreaudio=no) +- +-# + # Set up to use the identified ones + # + AC_MSG_NOTICE(---------------------------------------); |