pkgsrc/audio/tremor-tools/patches/patch-ae
chris 818967d985 Conversion of ogg123 to use the tremor library. This makes my arm boxen
capable of decoding ogg vorbis files in real time.

Note this package produces one binary: igg123, which is compatible with ogg123.
2002-09-24 09:35:15 +00:00

36 lines
1 KiB
Text

$NetBSD: patch-ae,v 1.1.1.1 2002/09/24 09:35:17 chris Exp $
--- aclocal.m4.orig Fri Jul 19 15:18:51 2002
+++ aclocal.m4 Sat Sep 14 18:28:40 2002
@@ -139,6 +139,7 @@
fi
VORBISFILE_LIBS="$VORBIS_LIBS -lvorbisfile"
+ IVORBISFILE_LIBS="$VORBIS_LIBS -lvorbisidec"
VORBISENC_LIBS="$VORBIS_LIBS -lvorbisenc"
VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
@@ -194,7 +195,7 @@
LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
AC_TRY_LINK([
#include <stdio.h>
-#include <vorbis/codec.h>
+#include <tremor/ivorbiscodec.h>
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding Vorbis or finding the wrong"
@@ -214,12 +215,14 @@
VORBIS_CFLAGS=""
VORBIS_LIBS=""
VORBISFILE_LIBS=""
+ IVORBISFILE_LIBS=""
VORBISENC_LIBS=""
ifelse([$2], , :, [$2])
fi
AC_SUBST(VORBIS_CFLAGS)
AC_SUBST(VORBIS_LIBS)
AC_SUBST(VORBISFILE_LIBS)
+ AC_SUBST(IVORBISFILE_LIBS)
AC_SUBST(VORBISENC_LIBS)
rm -f conf.vorbistest
])