[packages/libspectrum] - link against audiofile 0.3.x Signed-off-by: Åukasz KieÅ <kiesiu at pld-linux.org>
kiesiu
kiesiu at pld-linux.org
Sun Aug 12 21:47:36 CEST 2012
commit 402c305840db44008c185943ce3d97dd16d8eb1b
Author: Alberto Garcia <agarcia at igalia.com>
Date: Sun Aug 12 21:42:44 2012 +0200
- link against audiofile 0.3.x
Signed-off-by: Łukasz Kieś <kiesiu at pld-linux.org>
audiofile-0.3.patch | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
---
diff --git a/audiofile-0.3.patch b/audiofile-0.3.patch
new file mode 100644
index 0000000..2b81649
--- /dev/null
+++ b/audiofile-0.3.patch
@@ -0,0 +1,28 @@
+From: Alberto Garcia <agarcia at igalia.com>
+Subject: Add support for libaudiofile 0.3.x
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3508658&group_id=91293&atid=596650
+Index: libspectrum/configure.in
+===================================================================
+--- libspectrum.orig/configure.in
++++ libspectrum/configure.in
+@@ -178,10 +178,17 @@ if test "$withval" = no; then libaudiofi
+ libaudiofile=yes)
+ AC_MSG_RESULT($libaudiofile)
+ if test "$libaudiofile" = yes; then
+- AM_PATH_AUDIOFILE(
+- 0.2.3,
+- AC_DEFINE([HAVE_LIB_AUDIOFILE], 1, [Defined if we've got audiofile])
++ PKG_CHECK_MODULES(
++ AUDIOFILE,
++ audiofile,
++ AC_DEFINE([HAVE_LIB_AUDIOFILE], 1, [Defined if we've got audiofile]), []
+ )
++ if test -z "$AUDIOFILE_LIBS"; then
++ AM_PATH_AUDIOFILE(
++ 0.2.3,
++ AC_DEFINE([HAVE_LIB_AUDIOFILE], 1, [Defined if we've got audiofile])
++ )
++ fi
+ fi
+
+ AC_OUTPUT(
More information about the pld-cvs-commit
mailing list