parent
edc94efabc
commit
98d1dca7d9
@ -1,13 +0,0 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign
|
|
||||||
|
|
||||||
include admin/deps.am
|
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
|
|
||||||
|
|
||||||
package-messages:
|
|
||||||
$(MAKE) -f admin/Makefile.common package-messages
|
|
||||||
|
|
||||||
dist-hook:
|
|
||||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
|
||||||
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
|
||||||
SUBDIRS=$(TOPSUBDIRS)
|
|
@ -1,12 +0,0 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign
|
|
||||||
|
|
||||||
include admin/deps.am
|
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
|
|
||||||
|
|
||||||
package-messages:
|
|
||||||
$(MAKE) -f admin/Makefile.common package-messages
|
|
||||||
|
|
||||||
dist-hook:
|
|
||||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
|
||||||
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
|
@ -1,15 +0,0 @@
|
|||||||
all:
|
|
||||||
@echo "This Makefile is only for the CVS repository"
|
|
||||||
@echo "This will be deleted before making the distribution"
|
|
||||||
@echo ""
|
|
||||||
@if test ! -d admin; then \
|
|
||||||
echo "Please recheckout this module!" ;\
|
|
||||||
echo "for cvs: use checkout once and after that update again" ;\
|
|
||||||
echo "for cvsup: checkout kde-common from cvsup and" ;\
|
|
||||||
echo " link kde-common/admin to ./admin" ;\
|
|
||||||
exit 1 ;\
|
|
||||||
fi
|
|
||||||
$(MAKE) -f admin/Makefile.common cvs
|
|
||||||
|
|
||||||
.SILENT:
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,8 +0,0 @@
|
|||||||
bin_SCRIPTS = akode-config
|
|
||||||
|
|
||||||
SUBDIRS= lib plugins akodeplay
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = akode.pc
|
|
||||||
|
|
||||||
EXTRA_DIST = akode.pc.in
|
|
@ -1,9 +0,0 @@
|
|||||||
INCLUDES= -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(all_includes)
|
|
||||||
|
|
||||||
bin_PROGRAMS = akodeplay
|
|
||||||
|
|
||||||
akodeplay_SOURCES = akodeplay.cpp
|
|
||||||
akodeplay_LDFLAGS = $(all_libraries)
|
|
||||||
akodeplay_LDADD = ../lib/libakode.la
|
|
||||||
|
|
||||||
EXTRA_DIST =
|
|
@ -1,57 +0,0 @@
|
|||||||
if test "x$have_libFLAC" = "xno"; then
|
|
||||||
echo ">"
|
|
||||||
echo "> You do not seem to have a recent enough libFLAC"
|
|
||||||
echo "> installed. Without it aKode and aRts"
|
|
||||||
echo "> will not be able to play FLAC files."
|
|
||||||
echo "> You need atleast libFLAC 1.0.3 or newer."
|
|
||||||
echo ">"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$have_libOggFLAC" = "xno"; then
|
|
||||||
echo ">"
|
|
||||||
echo "> You do not seem to have libOggFLAC installed."
|
|
||||||
echo "> Without it aKode and aRts will not be"
|
|
||||||
echo "> able to play Ogg-files with embedded FLAC streams"
|
|
||||||
echo "> You need atleast libOggFLAC 1.1.1 or newer."
|
|
||||||
echo ">"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$have_libSPEEX" = "xno"; then
|
|
||||||
echo ">"
|
|
||||||
echo "> You do not seem to have libspeex installed."
|
|
||||||
echo "> Without it aKode and aRts will not be"
|
|
||||||
echo "> able to play speex-files and -stream."
|
|
||||||
echo ">"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$have_oggvorbis" = "xno"; then
|
|
||||||
echo ">"
|
|
||||||
echo "> You do not seem to have libvorbisfile installed."
|
|
||||||
echo "> Without it aKode will not be able to play"
|
|
||||||
echo "> Ogg-files with embedded Vorbis streams"
|
|
||||||
echo "> You need atleast libvorbisfile 1.0 or newer."
|
|
||||||
echo ">"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$have_libMAD" = "xno"; then
|
|
||||||
echo ">"
|
|
||||||
echo "> You do not seem to have MADlib installed."
|
|
||||||
echo "> Without it aKode will not be able to play"
|
|
||||||
echo "> MPEG-audio this includes the common MP3 format"
|
|
||||||
echo ">"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$AKODE_LIBDL" = "x" ; then
|
|
||||||
echo ">"
|
|
||||||
echo "> You do not seem to have any dynamic-library manipulation"
|
|
||||||
echo "> library installed. aKode will not be compiled."
|
|
||||||
echo ">"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#if test "x$have_libltdl" = "xno"; then
|
|
||||||
# echo ">"
|
|
||||||
# echo "> You do not seem to have libltdl installed."
|
|
||||||
# echo "> Without it aKode will not work on some platforms."
|
|
||||||
# echo "> Recent Linux, BSDs and Solaris will still work"
|
|
||||||
# echo ">"
|
|
||||||
#fi
|
|
@ -1,504 +0,0 @@
|
|||||||
dnl don't remove the below
|
|
||||||
dnl AC_OUTPUT(akode/akode-config)
|
|
||||||
dnl AC_OUTPUT(akode/akode.pc)
|
|
||||||
|
|
||||||
AC_CONFIG_HEADER(akode/lib/akode_export.h)
|
|
||||||
|
|
||||||
AC_DEFUN([AC_CHECK_LIBFLAC],
|
|
||||||
[
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_C
|
|
||||||
have_libFLAC=no
|
|
||||||
KDE_CHECK_HEADER(FLAC/seekable_stream_decoder.h,
|
|
||||||
[
|
|
||||||
KDE_CHECK_LIB(FLAC,FLAC__seekable_stream_decoder_process_single,
|
|
||||||
have_libFLAC=yes)
|
|
||||||
|
|
||||||
])
|
|
||||||
if test "x$have_libFLAC" = "xyes"; then
|
|
||||||
LIBFLAC="-lFLAC"
|
|
||||||
AC_DEFINE(HAVE_LIBFLAC, 1,
|
|
||||||
[Define if you have libFLAC 1.1.1 or 1.1.2])
|
|
||||||
fi
|
|
||||||
AC_SUBST(LIBFLAC)
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([AC_CHECK_LIBFLAC113],
|
|
||||||
[
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_C
|
|
||||||
have_libFLAC=no
|
|
||||||
KDE_CHECK_HEADER(FLAC/metadata.h,
|
|
||||||
[
|
|
||||||
KDE_CHECK_LIB(FLAC,FLAC__stream_decoder_seek_absolute,
|
|
||||||
have_libFLAC=yes,,[-lFLAC -logg])
|
|
||||||
|
|
||||||
])
|
|
||||||
if test "x$have_libFLAC" = "xyes"; then
|
|
||||||
LIBFLAC="-lFLAC -logg"
|
|
||||||
AC_DEFINE(HAVE_LIBFLAC113, 1,
|
|
||||||
[Define if you have libFLAC 1.1.3])
|
|
||||||
fi
|
|
||||||
AC_SUBST(LIBFLAC)
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([AC_CHECK_LIBOGGFLAC],
|
|
||||||
[
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_C
|
|
||||||
have_libOggFLAC=no
|
|
||||||
KDE_CHECK_HEADER(OggFLAC/seekable_stream_decoder.h,
|
|
||||||
[
|
|
||||||
KDE_CHECK_LIB(OggFLAC,OggFLAC__seekable_stream_decoder_process_single,
|
|
||||||
have_libOggFLAC=yes,,[-lm -lOggFLAC -lFLAC])
|
|
||||||
|
|
||||||
])
|
|
||||||
if test "x$have_libOggFLAC" = "xyes"; then
|
|
||||||
LIBOGGFLAC="-lOggFLAC"
|
|
||||||
AC_DEFINE(HAVE_LIBOGGFLAC, 1,
|
|
||||||
[Define if you have libOggFLAC (required for loading OggFLAC files)])
|
|
||||||
fi
|
|
||||||
AC_SUBST(LIBOGGFLAC)
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([KDE_CHECK_OGGVORBIS],
|
|
||||||
[
|
|
||||||
have_oggvorbis=yes
|
|
||||||
|
|
||||||
KDE_CHECK_LIB(ogg, ogg_page_version,
|
|
||||||
[:], [have_oggvorbis=no])
|
|
||||||
|
|
||||||
KDE_CHECK_HEADER(vorbis/vorbisfile.h,
|
|
||||||
[:], [have_oggvorbis=no])
|
|
||||||
|
|
||||||
KDE_CHECK_LIB(vorbis, vorbis_info_init,
|
|
||||||
[:], [have_oggvorbis=no], -logg)
|
|
||||||
|
|
||||||
KDE_CHECK_LIB(vorbisfile, ov_open,
|
|
||||||
[:], [have_oggvorbis=no], -lvorbis -logg)
|
|
||||||
|
|
||||||
if test "x$have_oggvorbis" = xyes; then
|
|
||||||
VORBIS_LIBS="-lvorbis -logg"
|
|
||||||
VORBISFILE_LIBS="-lvorbisfile"
|
|
||||||
|
|
||||||
# for akode/plugins/xiph_decoder/
|
|
||||||
AC_DEFINE_UNQUOTED(HAVE_OGG_VORBIS, 1, [Define if you have ogg/vorbis installed])
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(VORBIS_LIBS)
|
|
||||||
AC_SUBST(VORBISFILE_LIBS)
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([KDE_CHECK_SEM],
|
|
||||||
[
|
|
||||||
have_sem=no
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS([semaphore.h],
|
|
||||||
[have_sem=yes])
|
|
||||||
|
|
||||||
dnl Solaris requires -lrt
|
|
||||||
AC_CHECK_LIB(rt, sem_init, [LIBSEM="-lrt"])
|
|
||||||
AC_SUBST(LIBSEM)
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([KDE_CHECK_OSS],
|
|
||||||
[
|
|
||||||
have_oss=no
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS([soundcard.h sys/soundcard.h],
|
|
||||||
[have_oss=yes])
|
|
||||||
|
|
||||||
dnl OpenBSD requires an -lossaudio and soundcard.h to provide OSS audio I/O
|
|
||||||
AC_CHECK_LIB(ossaudio, _oss_ioctl, [LIBOSSAUDIO="-lossaudio"])
|
|
||||||
AC_SUBST(LIBOSSAUDIO)
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([KDE_CHECK_SUN],
|
|
||||||
[
|
|
||||||
have_sun=no
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS([sys/audioio.h], [have_sun=yes])
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([KDE_CHECK_ALSA],
|
|
||||||
[
|
|
||||||
PKG_CHECK_MODULES([ALSA], [alsa >= 0.9], [have_alsa=yes], [have_alsa=no])
|
|
||||||
|
|
||||||
if test "x$have_alsa" = "xyes"; then
|
|
||||||
AC_DEFINE(HAVE_LIBASOUND2, 1, [Define if you have libasound.so.2 (required for ALSA 0.9.x/1.x support)])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_ARG_WITH(flac,AC_HELP_STRING([--with-flac],[Enable FLAC support @<:@default=check@:>@]),[flac_test="$withval"],[flac_test="yes"])
|
|
||||||
|
|
||||||
if test "x$flac_test" = "xyes" ; then
|
|
||||||
AC_CHECK_LIBFLAC113
|
|
||||||
if test "x$have_libFLAC" = "xno"; then
|
|
||||||
AC_CHECK_LIBFLAC
|
|
||||||
AC_CHECK_LIBOGGFLAC
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(speex,AC_HELP_STRING([--with-speex],[Enable speex support @<:@default=check@:>@]),[speex_test="$withval"],[speex_test="yes"])
|
|
||||||
|
|
||||||
if test "x$speex_test" = "xyes" ; then
|
|
||||||
AC_MSG_CHECKING(for speex headers)
|
|
||||||
have_libspeex=no
|
|
||||||
kde_save_akode_cflags="$CFLAGS"
|
|
||||||
kde_save_akode_libs="$LIBS"
|
|
||||||
LIBS="$all_libraries $USER_LDFLAGS"
|
|
||||||
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#include <speex.h>
|
|
||||||
#include <speex_callbacks.h>
|
|
||||||
#include <ogg/ogg.h>
|
|
||||||
],[
|
|
||||||
],[
|
|
||||||
have_libspeex=yes
|
|
||||||
])
|
|
||||||
AC_MSG_RESULT($have_libspeex)
|
|
||||||
if test x$have_libspeex = xyes; then
|
|
||||||
KDE_CHECK_LIB(speex,speex_decoder_ctl,,
|
|
||||||
have_libspeex=no,[-lspeex -logg])
|
|
||||||
fi
|
|
||||||
CFLAGS="$kde_save_akode_cflags"
|
|
||||||
LIBS="$kde_save_akode_libs"
|
|
||||||
AC_MSG_CHECKING(for speex11 headers)
|
|
||||||
have_libspeex11=no
|
|
||||||
kde_save_akode_cflags="$CFLAGS"
|
|
||||||
kde_save_akode_libs="$LIBS"
|
|
||||||
LIBS="$all_libraries $USER_LDFLAGS"
|
|
||||||
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#include <speex.h>
|
|
||||||
#include <speex_callbacks.h>
|
|
||||||
#include <speex_echo.h>
|
|
||||||
#include <speex_preprocess.h>
|
|
||||||
#include <ogg/ogg.h>
|
|
||||||
],[
|
|
||||||
],[
|
|
||||||
have_libspeex11=yes
|
|
||||||
])
|
|
||||||
AC_MSG_RESULT($have_libspeex11)
|
|
||||||
if test x$have_libspeex11 = xyes; then
|
|
||||||
KDE_CHECK_LIB(speex,speex_decode_int,,
|
|
||||||
broken_libspeex11=yes,[-lspeex -logg])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$have_libspeex = xyes; then
|
|
||||||
AC_DEFINE(HAVE_SPEEX,1,[Define if you have speex installed])
|
|
||||||
SPEEXLIBS="-lspeex -logg"
|
|
||||||
fi
|
|
||||||
CFLAGS="$kde_save_akode_cflags"
|
|
||||||
LIBS="$kde_save_akode_libs"
|
|
||||||
AC_SUBST(SPEEXLIBS)
|
|
||||||
|
|
||||||
if test x$have_libspeex11 = xyes; then
|
|
||||||
AC_DEFINE(HAVE_SPEEX11,1,[Define if you have libspeex 1.1.x installed])
|
|
||||||
if test x$broken_libspeex11 = xyes; then
|
|
||||||
AC_DEFINE(BROKEN_SPEEX11,1,[Define if you have one of the broken libspeex 1.1.x < 1.1.5])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(libmad,AC_HELP_STRING([--with-libmad],[Enable libmad support @<:@default=check@:>@]),[libmad_test="$withval"],[libmad_test="yes"])
|
|
||||||
|
|
||||||
if test "x$libmad_test" = "xyes" ; then
|
|
||||||
AC_MSG_CHECKING(for MADlib header)
|
|
||||||
have_libMAD=no
|
|
||||||
kde_save_akode_cflags="$CFLAGS"
|
|
||||||
kde_save_akode_libs="$LIBS"
|
|
||||||
LIBS="$all_libraries $USER_LDFLAGS"
|
|
||||||
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#include <mad.h>
|
|
||||||
],[
|
|
||||||
],[
|
|
||||||
have_libMAD=yes
|
|
||||||
])
|
|
||||||
AC_MSG_RESULT($have_libMAD)
|
|
||||||
if test x$have_libMAD = xyes; then
|
|
||||||
KDE_CHECK_LIB(mad,mad_decoder_run,MAD_lib=yes,
|
|
||||||
have_libMAD=no,[-lmad])
|
|
||||||
fi
|
|
||||||
if test x$have_libMAD = xyes; then
|
|
||||||
AC_DEFINE(HAVE_MAD,1,[Define if you have MADlib installed])
|
|
||||||
MADLIBS="-lmad"
|
|
||||||
fi
|
|
||||||
CFLAGS="$kde_save_akode_cflags"
|
|
||||||
LIBS="$kde_save_akode_libs"
|
|
||||||
AC_SUBST(MADLIBS)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(libsamplerate,AC_HELP_STRING([--with-libsamplerate],[Enable libsamplerate support @<:@default=check@:>@]),[libsamplerate_test="$withval"],[libsamplerate_test="yes"])
|
|
||||||
|
|
||||||
if test "x$libsamplerate_test" = "xyes" ; then
|
|
||||||
LIBSAMPLERATE=""
|
|
||||||
KDE_CHECK_HEADERS(samplerate.h, [
|
|
||||||
KDE_CHECK_LIB(samplerate, src_simple, [
|
|
||||||
have_libsamplerate=yes
|
|
||||||
LIBSAMPLERATE="-lsamplerate"
|
|
||||||
AC_DEFINE(HAVE_LIBSAMPLERATE,1,[defined if you have libsamplerate library and header])
|
|
||||||
])
|
|
||||||
])
|
|
||||||
AC_SUBST(LIBSAMPLERATE)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Check for pkg-config
|
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
||||||
|
|
||||||
AC_ARG_WITH(jack,AC_HELP_STRING([--with-jack],[Enable Jack Audio Connection Kit support @<:@default=check@:>@]),[jack_test="$withval"],[jack_test="yes"])
|
|
||||||
|
|
||||||
if test "x$jack_test" = "xyes" ; then
|
|
||||||
AC_MSG_CHECKING(for Jack Audio Connection Kit)
|
|
||||||
if $PKG_CONFIG --atleast-version 0.90 jack >/dev/null 2>&1 ; then
|
|
||||||
JACK_CFLAGS="`$PKG_CONFIG --cflags jack`"
|
|
||||||
JACK_LIBADD="`$PKG_CONFIG --libs-only-l jack`"
|
|
||||||
JACK_LDFLAGS="`$PKG_CONFIG --libs-only-L jack`"
|
|
||||||
have_jack=yes
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
AC_DEFINE(HAVE_LIBJACK, 1,
|
|
||||||
[Define if you have libjack (required if you want Jack support)])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(not installed)
|
|
||||||
fi
|
|
||||||
AC_SUBST(JACK_CFLAGS)
|
|
||||||
AC_SUBST(JACK_LIBADD)
|
|
||||||
AC_SUBST(JACK_LDFLAGS)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(pulseaudio,AC_HELP_STRING([--with-pulseaudio],[Enable PulseAudio server support @<:@default=check@:>@]),[pulseaudio_test="$withval"],[pulseaudio_test="yes"])
|
|
||||||
|
|
||||||
if test "x$pulseaudio_test" = "xyes" ; then
|
|
||||||
AC_MSG_CHECKING(for pulseaudio 0.9.2 or later)
|
|
||||||
if $PKG_CONFIG --atleast-version 0.9.2 libpulse-simple >/dev/null 2>&1 ; then
|
|
||||||
PULSE_CFLAGS="`$PKG_CONFIG --cflags libpulse-simple`"
|
|
||||||
PULSE_LIBADD="`$PKG_CONFIG --libs-only-l libpulse-simple`"
|
|
||||||
PULSE_LDFLAGS="`$PKG_CONFIG --libs-only-L libpulse-simple`"
|
|
||||||
have_pulse=yes
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
AC_DEFINE(HAVE_LIBPULSE, 1,
|
|
||||||
[Define if you have libpulse (required if you want PulseAudio server support)])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(not installed)
|
|
||||||
fi
|
|
||||||
AC_SUBST(PULSE_CFLAGS)
|
|
||||||
AC_SUBST(PULSE_LIBADD)
|
|
||||||
AC_SUBST(PULSE_LDFLAGS)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(ffmpeg,AC_HELP_STRING([--with-ffmpeg],[Enable experimental FFMPEG decoder support @<:@default=check@:>@]),[ffmpeg_test="$withval"],[ffmpeg_test="yes"])
|
|
||||||
|
|
||||||
if test "x$ffmpeg_test" = "xyes" ; then
|
|
||||||
AC_MSG_CHECKING(for FFMPEG 0.5.0 or later)
|
|
||||||
if $PKG_CONFIG --atleast-version 50 libavformat >/dev/null 2>&1 ; then
|
|
||||||
if $PKG_CONFIG --atleast-version 50 libavcodec >/dev/null 2>&1 ; then
|
|
||||||
AVFORMAT_CFLAGS="`$PKG_CONFIG --cflags libavformat`"
|
|
||||||
AVCODEC_CFLAGS="`$PKG_CONFIG --cflags libavcodec`"
|
|
||||||
AVFORMAT_LIBADD="`$PKG_CONFIG --libs-only-l libavformat`"
|
|
||||||
AVCODEC_LIBADD="`$PKG_CONFIG --libs-only-l libavcodec`"
|
|
||||||
AVFORMAT_LDFLAGS="`$PKG_CONFIG --libs-only-L libavformat`"
|
|
||||||
AVCODEC_LDFLAGS="`$PKG_CONFIG --libs-only-L libavcodec`"
|
|
||||||
have_ffmpeg=yes
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
AC_DEFINE(HAVE_FFMPEG, 1,
|
|
||||||
[Define if you have libavcodec and libavformat from FFMPEG (required for WMA and RealAudio decoding)])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(not installed)
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(not installed)
|
|
||||||
fi
|
|
||||||
AC_SUBST(AVCODEC_CFLAGS)
|
|
||||||
AC_SUBST(AVCODEC_LIBADD)
|
|
||||||
AC_SUBST(AVCODEC_LDFLAGS)
|
|
||||||
AC_SUBST(AVFORMAT_CFLAGS)
|
|
||||||
AC_SUBST(AVFORMAT_LIBADD)
|
|
||||||
AC_SUBST(AVFORMAT_LDFLAGS)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AKODE_LIBDL=-ldl
|
|
||||||
|
|
||||||
AC_ARG_WITH(
|
|
||||||
libltdl,
|
|
||||||
AC_HELP_STRING([--without-libltdl],
|
|
||||||
[Use libdl to load akode-plugins @<:@default=use libltdl@:>@]),
|
|
||||||
[libltdl_test="$withval"],
|
|
||||||
[libltdl_test="yes"])
|
|
||||||
|
|
||||||
have_libltdl=no
|
|
||||||
if test x$libltdl_test = xyes; then
|
|
||||||
KDE_CHECK_HEADERS(ltdl.h, [
|
|
||||||
KDE_CHECK_LIB(ltdl, lt_dlopen, [
|
|
||||||
have_libltdl=yes
|
|
||||||
AKODE_LIBDL="-lltdl"
|
|
||||||
AC_DEFINE(HAVE_LIBLTDL,1,[defined if you have libltdl library and header])
|
|
||||||
])
|
|
||||||
])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "yes" = "$have_libltdl" ; then
|
|
||||||
# Do nothing, since we've already called CHECK_LIB
|
|
||||||
:
|
|
||||||
else
|
|
||||||
KDE_CHECK_LIB(dl, dlopen,
|
|
||||||
[],[
|
|
||||||
AKODE_LIBDL=""
|
|
||||||
DO_NOT_COMPILE="akode $DO_NOT_COMPILE"
|
|
||||||
]
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(AKODE_LIBDL)
|
|
||||||
|
|
||||||
KDE_CHECK_LIBPTHREAD
|
|
||||||
KDE_CHECK_SEM
|
|
||||||
|
|
||||||
AC_CHECK_LIB(c, posix_madvise, have_posix_madvise=yes)
|
|
||||||
AC_CHECK_LIB(c, posix_fadvise, have_posix_fadvise=yes)
|
|
||||||
AC_CHECK_LIB(c, madvise, have_madvise=yes)
|
|
||||||
AC_CHECK_LIB(c, fadvise, have_fadvise=yes)
|
|
||||||
|
|
||||||
if test x$have_madvise = xyes; then
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
AC_MSG_CHECKING([if madvise needs prototype])
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/mman.h>
|
|
||||||
],[
|
|
||||||
::madvise((char*)0,0, MADV_SEQUENTIAL);
|
|
||||||
],[
|
|
||||||
madvise_needs_prototype=no
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
],[
|
|
||||||
madvise_needs_prototype=yes
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
])
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
AC_DEFINE(HAVE_MADVISE,1,[Define if your platform has madvise])
|
|
||||||
if test x$madvise_needs_prototype = xyes; then
|
|
||||||
AC_DEFINE(NEED_MADVISE_PROTOTYPE,1,[Define if madvise has no usefull prototype])
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$have_fadvise = xyes; then
|
|
||||||
AC_DEFINE(HAVE_FADVISE,1,[Define if your platform has fadvise])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$have_posix_madvise = xyes; then
|
|
||||||
AC_DEFINE(HAVE_POSIX_MADVISE,1,[Define if your platform has posix_madvise])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$have_posix_fadvise = xyes; then
|
|
||||||
AC_DEFINE(HAVE_POSIX_FADVISE,1,[Define if your platform has posix_fadvise])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS(getopt.h, have_getopt_h=yes)
|
|
||||||
if test x$have_getopt_h = xyes; then
|
|
||||||
AC_CHECK_LIB(c, getopt_long, have_gnu_getopt=yes)
|
|
||||||
if test x$have_gnu_getopt = xyes; then
|
|
||||||
AC_DEFINE(HAVE_GNU_GETOPT,1,[Define if your platform has getopt_long from glibc])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#AC_CHECK_HEADERS(features.h, have_features_h=yes)
|
|
||||||
#
|
|
||||||
#if test x$have_features_h=xyes; then
|
|
||||||
# AC_DEFINE(HAVE_FEATURES_H, 1, [Define if your platform has the features.h header])
|
|
||||||
#fi
|
|
||||||
|
|
||||||
#AC_ARG_ENABLE(akodelib,
|
|
||||||
# [ --enable-akodelib Compile and install akodelib and akode_artsplugin (default yes)], enable_akodelib="$enableval",enable_akodelib=no)
|
|
||||||
|
|
||||||
AM_CONDITIONAL(include_mpeg_decoder, test x$have_libMAD = xyes)
|
|
||||||
|
|
||||||
AC_ARG_WITH(oss,
|
|
||||||
[AS_HELP_STRING(--with-oss,
|
|
||||||
[enable support for OSS output @<:@default=check@:>@])],
|
|
||||||
[], with_oss=check)
|
|
||||||
|
|
||||||
if test "x$with_oss" != xno; then
|
|
||||||
KDE_CHECK_OSS
|
|
||||||
|
|
||||||
if test "x$with_oss" != xcheck && test "x$have_oss" != xyes; then
|
|
||||||
AC_MSG_FAILURE([--with-oss was given, but test for oss failed])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(sun,
|
|
||||||
[AS_HELP_STRING(--with-sun,
|
|
||||||
[enable support for Sun Audio output @<:@default=check@:>@])],
|
|
||||||
[], with_sun=check)
|
|
||||||
|
|
||||||
if test "x$with_sun" != xno; then
|
|
||||||
KDE_CHECK_SUN
|
|
||||||
|
|
||||||
if test "x$with_sun" != xcheck && test "x$have_sun" != xyes; then
|
|
||||||
AC_MSG_FAILURE([--with-sun was given, but test for Sun Audio failed])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(alsa,
|
|
||||||
[AS_HELP_STRING(--with-alsa,
|
|
||||||
[enable support for ALSA output @<:@default=check@:>@])],
|
|
||||||
[], with_alsa=check)
|
|
||||||
|
|
||||||
have_alsa=no
|
|
||||||
if test "x$with_alsa" != xno; then
|
|
||||||
KDE_CHECK_ALSA
|
|
||||||
|
|
||||||
if test "x$with_alsa" != xcheck && test "x$have_alsa" != xyes; then
|
|
||||||
AC_MSG_FAILURE([--with-alsa was given, but test for ALSA failed])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(vorbis,
|
|
||||||
[AS_HELP_STRING(--with-vorbis,
|
|
||||||
[enable support for Ogg Vorbis @<:@default=check@:>@])],
|
|
||||||
[], with_vorbis=check)
|
|
||||||
|
|
||||||
have_oggvorbis=no
|
|
||||||
if test "x$with_vorbis" != xno; then
|
|
||||||
KDE_CHECK_OGGVORBIS
|
|
||||||
|
|
||||||
if test "x$with_vorbis" != xcheck && test "x$have_oggvorbis" != xyes; then
|
|
||||||
AC_MSG_FAILURE([--with-vorbis was given, but test for Ogg Vorbis failed])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
usefull_xiph_decoder=yes
|
|
||||||
if test x$have_libFLAC$have_libOggFLAC$have_oggvorbis$have_libspeex = xnononono; then
|
|
||||||
usefull_xiph_decoder=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
AM_CONDITIONAL(include_xiph_decoder, test x$usefull_xiph_decoder = xyes)
|
|
||||||
AM_CONDITIONAL(include_src_resampler, test x$have_libsamplerate = xyes)
|
|
||||||
AM_CONDITIONAL(include_alsa_sink, test x$have_alsa = xyes)
|
|
||||||
AM_CONDITIONAL(include_oss_sink, test x$have_oss = xyes)
|
|
||||||
AM_CONDITIONAL(include_sun_sink, test x$have_sun = xyes)
|
|
||||||
AM_CONDITIONAL(include_jack_sink, test x$have_jack = xyes)
|
|
||||||
AM_CONDITIONAL(include_pulse_sink, test x$have_pulse = xyes)
|
|
||||||
AM_CONDITIONAL(include_ffmpeg_decoder, test x$have_ffmpeg = xyes)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for compilable aKode)
|
|
||||||
|
|
||||||
COMPILE_AKODE=yes
|
|
||||||
if test x$have_PTHREAD = xno; then
|
|
||||||
COMPILE_AKODE=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_RESULT($COMPILE_AKODE)
|
|
||||||
|
|
||||||
if test "x$COMPILE_AKODE" = "xno"; then
|
|
||||||
DO_NOT_COMPILE="$DO_NOT_COMPILE akode"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#if test "x$COMPILE_AKODE$enable_akodelib" = "xyesno"; then
|
|
||||||
#DO_NOT_COMPILE="$DO_NOT_COMPILE akode"
|
|
||||||
#fi
|
|
@ -1,25 +0,0 @@
|
|||||||
INCLUDES = $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode.la
|
|
||||||
|
|
||||||
libakode_la_SOURCES = bytebuffer.cpp audiobuffer.cpp pluginhandler.cpp \
|
|
||||||
decoderpluginhandler.cpp resamplerpluginhandler.cpp \
|
|
||||||
sinkpluginhandler.cpp encoderpluginhandler.cpp \
|
|
||||||
fast_resampler.cpp crossfader.cpp volumefilter.cpp \
|
|
||||||
localfile.cpp mmapfile.cpp \
|
|
||||||
wav_decoder.cpp auto_sink.cpp void_sink.cpp \
|
|
||||||
converter.cpp buffered_decoder.cpp \
|
|
||||||
player.cpp magic.cpp
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -DAKODE_SEARCHDIR=\"$(libdir)\"
|
|
||||||
|
|
||||||
libakode_la_LDFLAGS = -no-undefined -version-info 2:0:0 $(all_libraries)
|
|
||||||
libakode_la_LIBADD = $(LIBPTHREAD) $(AKODE_LIBDL) $(LIBSEM)
|
|
||||||
|
|
||||||
libakode_includedir = $(includedir)/akode
|
|
||||||
libakode_include_HEADERS = akode_export.h akodelib.h decoder.h sink.h encoder.h \
|
|
||||||
audioconfiguration.h audioframe.h audiobuffer.h bytebuffer.h \
|
|
||||||
file.h localfile.h mmapfile.h pluginhandler.h \
|
|
||||||
crossfader.h volumefilter.h resampler.h fast_resampler.h \
|
|
||||||
buffered_decoder.h wav_decoder.h auto_sink.h void_sink.h \
|
|
||||||
player.h magic.h converter.h framedecoder.h
|
|
@ -1,53 +0,0 @@
|
|||||||
/* This file is part of the KDE libraries
|
|
||||||
Copyright (c) 2002-2003 KDE Team
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU Library General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2 of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
This library is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
Library General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public License
|
|
||||||
along with this library; see the file COPYING.LIB. If not, write to
|
|
||||||
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
|
|
||||||
Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef AKODE_EXPORT_H
|
|
||||||
#define AKODE_EXPORT_H
|
|
||||||
|
|
||||||
#undef __KDE_HAVE_GCC_VISIBILITY
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ARTS_NO_EXPORT macro marks the symbol of the given variable
|
|
||||||
* to be hidden. A hidden symbol is stripped during the linking step,
|
|
||||||
* so it can't be used from outside the resulting library, which is similar
|
|
||||||
* to static. However, static limits the visibility to the current
|
|
||||||
* compilation unit. hidden symbols can still be used in multiple compilation
|
|
||||||
* units.
|
|
||||||
*
|
|
||||||
* \code
|
|
||||||
* int AKODE_NO_EXPORT foo;
|
|
||||||
* int AKODE_EXPORT bar;
|
|
||||||
* \end
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined(__KDE_HAVE_GCC_VISIBILITY)
|
|
||||||
/* Visibility is available for GCC newer than 3.4.
|
|
||||||
* See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9283
|
|
||||||
*/
|
|
||||||
#define AKODE_NO_EXPORT __attribute__ ((visibility("hidden")))
|
|
||||||
#define AKODE_EXPORT __attribute__ ((visibility("default")))
|
|
||||||
#elif defined(_WIN32)
|
|
||||||
#define AKODE_NO_EXPORT
|
|
||||||
#define AKODE_EXPORT __declspec(dllexport)
|
|
||||||
#else
|
|
||||||
#define AKODE_NO_EXPORT
|
|
||||||
#define AKODE_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* AKODE_EXPORTS */
|
|
@ -1,43 +0,0 @@
|
|||||||
AKODE_MPC_DECODER=mpc_decoder
|
|
||||||
|
|
||||||
if include_xiph_decoder
|
|
||||||
AKODE_XIPH_DECODER=xiph_decoder
|
|
||||||
endif
|
|
||||||
|
|
||||||
if include_mpeg_decoder
|
|
||||||
AKODE_MPEG_DECODER=mpeg_decoder
|
|
||||||
endif
|
|
||||||
|
|
||||||
if include_ffmpeg_decoder
|
|
||||||
AKODE_FFMPEG_DECODER=ffmpeg_decoder
|
|
||||||
endif
|
|
||||||
|
|
||||||
if include_src_resampler
|
|
||||||
AKODE_SRC_RESAMPLER=src_resampler
|
|
||||||
endif
|
|
||||||
|
|
||||||
if include_alsa_sink
|
|
||||||
AKODE_ALSA_SINK=alsa_sink
|
|
||||||
endif
|
|
||||||
|
|
||||||
if include_oss_sink
|
|
||||||
AKODE_OSS_SINK=oss_sink
|
|
||||||
endif
|
|
||||||
|
|
||||||
if include_sun_sink
|
|
||||||
AKODE_SUN_SINK=sun_sink
|
|
||||||
endif
|
|
||||||
|
|
||||||
if include_jack_sink
|
|
||||||
AKODE_JACK_SINK=jack_sink
|
|
||||||
endif
|
|
||||||
|
|
||||||
if include_pulse_sink
|
|
||||||
AKODE_PULSE_SINK=pulse_sink
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS= $(AKODE_MPC_DECODER) $(AKODE_XIPH_DECODER) \
|
|
||||||
$(AKODE_MPEG_DECODER) $(AKODE_FFMPEG_DECODER) \
|
|
||||||
$(AKODE_ALSA_SINK) $(AKODE_OSS_SINK) $(AKODE_SUN_SINK) \
|
|
||||||
$(AKODE_JACK_SINK) $(AKODE_PULSE_SINK) \
|
|
||||||
$(AKODE_SRC_RESAMPLER)
|
|
@ -1,7 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_alsa_sink.la
|
|
||||||
|
|
||||||
libakode_alsa_sink_la_SOURCES = alsa_sink.cpp
|
|
||||||
libakode_alsa_sink_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
||||||
libakode_alsa_sink_la_LIBADD = ../../lib/libakode.la $(ALSA_LIBS)
|
|
@ -1,8 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(AVCODEC_CFLAGS) $(AVFORMAT_CFLAGS) $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_ffmpeg_decoder.la
|
|
||||||
|
|
||||||
libakode_ffmpeg_decoder_la_SOURCES = ffmpeg_decoder.cpp
|
|
||||||
|
|
||||||
libakode_ffmpeg_decoder_la_LDFLAGS = -avoid-version -no-undefined $(AVCODEC_LDFLAGS) $(AVFORMAT_LDFLAGS)
|
|
||||||
libakode_ffmpeg_decoder_la_LIBADD = ../../lib/libakode.la $(AVCODEC_LIBADD) $(AVFORMAT_LIBADD)
|
|
@ -1,7 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(JACK_CFLAGS) $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_jack_sink.la
|
|
||||||
|
|
||||||
libakode_jack_sink_la_SOURCES = jack_sink.cpp
|
|
||||||
libakode_jack_sink_la_LDFLAGS = -module -avoid-version -no-undefined $(JACK_LDFLAGS)
|
|
||||||
libakode_jack_sink_la_LIBADD = ../../lib/libakode.la $(JACK_LIBADD)
|
|
@ -1,8 +0,0 @@
|
|||||||
SUBDIRS = mppdec .
|
|
||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib -I$(srcdir)/mppdec $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_mpc_decoder.la
|
|
||||||
|
|
||||||
libakode_mpc_decoder_la_SOURCES = mpc_decoder.cpp
|
|
||||||
libakode_mpc_decoder_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
||||||
libakode_mpc_decoder_la_LIBADD = ../../lib/libakode.la mppdec/libakode_mppdec.la
|
|
@ -1,7 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib $(all_includes)
|
|
||||||
noinst_LTLIBRARIES = libakode_mppdec.la
|
|
||||||
|
|
||||||
libakode_mppdec_la_SOURCES = bitstream.cpp huffsv46.cpp huffsv7.cpp idtag.cpp mpc_dec.cpp requant.cpp streaminfo.cpp synth_filter.cpp
|
|
||||||
|
|
||||||
# workaround
|
|
||||||
KDE_OPTIONS = nofinal
|
|
@ -1,8 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(USER_INCLUDES) $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_mpeg_decoder.la
|
|
||||||
|
|
||||||
libakode_mpeg_decoder_la_SOURCES = mpeg_decoder.cpp
|
|
||||||
|
|
||||||
libakode_mpeg_decoder_la_LDFLAGS = -avoid-version -no-undefined $(USER_LDFLAGS)
|
|
||||||
libakode_mpeg_decoder_la_LIBADD = ../../lib/libakode.la $(MADLIBS)
|
|
@ -1,7 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_oss_sink.la
|
|
||||||
|
|
||||||
libakode_oss_sink_la_SOURCES = oss_sink.cpp
|
|
||||||
libakode_oss_sink_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
||||||
libakode_oss_sink_la_LIBADD = ../../lib/libakode.la $(LIBOSSAUDIO)
|
|
@ -1,7 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(PULSE_CFLAGS) $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_pulse_sink.la
|
|
||||||
|
|
||||||
libakode_pulse_sink_la_SOURCES = pulse_sink.cpp
|
|
||||||
libakode_pulse_sink_la_LDFLAGS = -module -avoid-version -no-undefined $(PULSE_LDFLAGS)
|
|
||||||
libakode_pulse_sink_la_LIBADD = ../../lib/libakode.la $(PULSE_LIBADD)
|
|
@ -1,7 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib -I$(srcdir)/mppdec $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_src_resampler.la
|
|
||||||
|
|
||||||
libakode_src_resampler_la_SOURCES = src_resampler.cpp
|
|
||||||
libakode_src_resampler_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
||||||
libakode_src_resampler_la_LIBADD = ../../lib/libakode.la $(LIBSAMPLERATE)
|
|
@ -1,7 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_sun_sink.la
|
|
||||||
|
|
||||||
libakode_sun_sink_la_SOURCES = sun_sink.cpp
|
|
||||||
libakode_sun_sink_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
||||||
libakode_sun_sink_la_LIBADD = ../../lib/libakode.la $(LIBSUNAUDIO)
|
|
@ -1,8 +0,0 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/akode/lib -I$(top_builddir)/akode/lib $(USER_INCLUDES) $(all_includes)
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libakode_xiph_decoder.la
|
|
||||||
|
|
||||||
libakode_xiph_decoder_la_SOURCES = flac_decoder.cpp flac113_decoder.cpp speex_decoder.cpp vorbis_decoder.cpp xiph_decoder.cpp
|
|
||||||
|
|
||||||
libakode_xiph_decoder_la_LDFLAGS = -module -avoid-version -no-undefined $(USER_LDFLAGS)
|
|
||||||
libakode_xiph_decoder_la_LIBADD = ../../lib/libakode.la $(LIBFLAC) $(LIBOGGFLAC) $(VORBIS_LIBS) $(VORBISFILE_LIBS) $(SPEEXLIBS)
|
|
@ -1,147 +0,0 @@
|
|||||||
/* config.h.in. Generated from configure.in by autoheader. */
|
|
||||||
|
|
||||||
/* Define if you have one of the broken libspeex 1.1.x < 1.1.5 */
|
|
||||||
#undef BROKEN_SPEEX11
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
||||||
#undef HAVE_DLFCN_H
|
|
||||||
|
|
||||||
/* Define if your platform has fadvise */
|
|
||||||
#undef HAVE_FADVISE
|
|
||||||
|
|
||||||
/* Define if you have libavcodec and libavformat from FFMPEG (required for WMA
|
|
||||||
and RealAudio decoding) */
|
|
||||||
#undef HAVE_FFMPEG
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <getopt.h> header file. */
|
|
||||||
#undef HAVE_GETOPT_H
|
|
||||||
|
|
||||||
/* Define if your platform has getopt_long from glibc */
|
|
||||||
#undef HAVE_GNU_GETOPT
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
||||||
#undef HAVE_INTTYPES_H
|
|
||||||
|
|
||||||
/* Define if you have libasound.so.2 (required for ALSA 0.9.x/1.x support) */
|
|
||||||
#undef HAVE_LIBASOUND2
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `dl' library (-ldl). */
|
|
||||||
#undef HAVE_LIBDL
|
|
||||||
|
|
||||||
/* Define if you have libFLAC 1.1.1 or 1.1.2 */
|
|
||||||
#undef HAVE_LIBFLAC
|
|
||||||
|
|
||||||
/* Define if you have libFLAC 1.1.3 */
|
|
||||||
#undef HAVE_LIBFLAC113
|
|
||||||
|
|
||||||
/* Define if you have libjack (required if you want Jack support) */
|
|
||||||
#undef HAVE_LIBJACK
|
|
||||||
|
|
||||||
/* defined if you have libltdl library and header */
|
|
||||||
#undef HAVE_LIBLTDL
|
|
||||||
|
|
||||||
/* Define if you have libOggFLAC (required for loading OggFLAC files) */
|
|
||||||
#undef HAVE_LIBOGGFLAC
|
|
||||||
|
|
||||||
/* Define if you have libpulse (required if you want PulseAudio server
|
|
||||||
support) */
|
|
||||||
#undef HAVE_LIBPULSE
|
|
||||||
|
|
||||||
/* defined if you have libsamplerate library and header */
|
|
||||||
#undef HAVE_LIBSAMPLERATE
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `speex' library (-lspeex). */
|
|
||||||
#undef HAVE_LIBSPEEX
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <ltdl.h> header file. */
|
|
||||||
#undef HAVE_LTDL_H
|
|
||||||
|
|
||||||
/* Define if you have MADlib installed */
|
|
||||||
#undef HAVE_MAD
|
|
||||||
|
|
||||||
/* Define if your platform has madvise */
|
|
||||||
#undef HAVE_MADVISE
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#undef HAVE_MEMORY_H
|
|
||||||
|
|
||||||
/* Define if you have ogg/vorbis installed */
|
|
||||||
#undef HAVE_OGG_VORBIS
|
|
||||||
|
|
||||||
/* Define if your platform has posix_fadvise */
|
|
||||||
#undef HAVE_POSIX_FADVISE
|
|
||||||
|
|
||||||
/* Define if your platform has posix_madvise */
|
|
||||||
#undef HAVE_POSIX_MADVISE
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <samplerate.h> header file. */
|
|
||||||
#undef HAVE_SAMPLERATE_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <semaphore.h> header file. */
|
|
||||||
#undef HAVE_SEMAPHORE_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <soundcard.h> header file. */
|
|
||||||
#undef HAVE_SOUNDCARD_H
|
|
||||||
|
|
||||||
/* Define if you have speex installed */
|
|
||||||
#undef HAVE_SPEEX
|
|
||||||
|
|
||||||
/* Define if you have libspeex 1.1.x installed */
|
|
||||||
#undef HAVE_SPEEX11
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#undef HAVE_STDINT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
||||||
#undef HAVE_STDLIB_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
|
||||||
#undef HAVE_STRINGS_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
|
||||||
#undef HAVE_STRING_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/audioio.h> header file. */
|
|
||||||
#undef HAVE_SYS_AUDIOIO_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/soundcard.h> header file. */
|
|
||||||
#undef HAVE_SYS_SOUNDCARD_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
||||||
#undef HAVE_SYS_STAT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
||||||
#undef HAVE_SYS_TYPES_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
|
||||||
#undef HAVE_UNISTD_H
|
|
||||||
|
|
||||||
/* Suffix for lib directories */
|
|
||||||
#undef KDELIBSUFF
|
|
||||||
|
|
||||||
/* Define if madvise has no usefull prototype */
|
|
||||||
#undef NEED_MADVISE_PROTOTYPE
|
|
||||||
|
|
||||||
/* Name of package */
|
|
||||||
#undef PACKAGE
|
|
||||||
|
|
||||||
/* Define to the address where bug reports for this package should be sent. */
|
|
||||||
#undef PACKAGE_BUGREPORT
|
|
||||||
|
|
||||||
/* Define to the full name of this package. */
|
|
||||||
#undef PACKAGE_NAME
|
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
|
||||||
#undef PACKAGE_STRING
|
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
|
||||||
#undef PACKAGE_TARNAME
|
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
|
||||||
#undef PACKAGE_VERSION
|
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
|
||||||
#undef STDC_HEADERS
|
|
||||||
|
|
||||||
/* Version number of package */
|
|
||||||
#undef VERSION
|
|
@ -1,3 +0,0 @@
|
|||||||
configure.in.in
|
|
||||||
./akode/configure.in.bot
|
|
||||||
./akode/configure.in.in
|
|
@ -1,97 +0,0 @@
|
|||||||
dnl This file is part of the KDE libraries/packages
|
|
||||||
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
|
|
||||||
dnl modified by Walter Tasin (tasin@kdevelop.org)
|
|
||||||
dnl for c++ console applications
|
|
||||||
|
|
||||||
dnl This file is free software; you can redistribute it and/or
|
|
||||||
dnl modify it under the terms of the GNU Library General Public
|
|
||||||
dnl License as published by the Free Software Foundation; either
|
|
||||||
dnl version 2 of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
dnl This library is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
dnl Library General Public License for more details.
|
|
||||||
|
|
||||||
dnl You should have received a copy of the GNU Library General Public License
|
|
||||||
dnl along with this library; see the file COPYING.LIB. If not, write to
|
|
||||||
dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
dnl Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
# Original Author was Kalle@kde.org
|
|
||||||
# I lifted it in some mater. (Stephan Kulow)
|
|
||||||
# I used much code from Janos Farkas
|
|
||||||
|
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
|
||||||
|
|
||||||
AC_INIT(acinclude.m4) dnl a source file from your sub dir
|
|
||||||
|
|
||||||
dnl This is so we can use kde-common
|
|
||||||
AC_CONFIG_AUX_DIR(admin)
|
|
||||||
|
|
||||||
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
|
||||||
unset CDPATH
|
|
||||||
|
|
||||||
dnl Checking host/target/build systems, for make, install etc.
|
|
||||||
AC_CANONICAL_SYSTEM
|
|
||||||
dnl Perform program name transformation
|
|
||||||
AC_ARG_PROGRAM
|
|
||||||
|
|
||||||
dnl Automake doc recommends to do this only here. (Janos)
|
|
||||||
AM_INIT_AUTOMAKE(kdesupport,3.3)
|
|
||||||
|
|
||||||
dnl almost the same like KDE_SET_PEFIX but the path is /usr/local
|
|
||||||
dnl make /usr/local the default for the installation
|
|
||||||
AC_PREFIX_DEFAULT(/usr/local)
|
|
||||||
|
|
||||||
if test "x$prefix" = "xNONE"; then
|
|
||||||
prefix=$ac_default_prefix
|
|
||||||
ac_configure_args="$ac_configure_args --prefix $prefix"
|
|
||||||
fi
|
|
||||||
|
|
||||||
KDE_CHECK_EXTRA_LIBS
|
|
||||||
KDE_FAST_CONFIGURE
|
|
||||||
KDE_CONF_FILES
|
|
||||||
|
|
||||||
dnl without this order in this file, automake will be confused!
|
|
||||||
dnl
|
|
||||||
AC_CONFIG_HEADER(config.h)
|
|
||||||
|
|
||||||
dnl checks for programs.
|
|
||||||
dnl first check for c/c++ compilers
|
|
||||||
AC_CHECK_COMPILERS
|
|
||||||
|
|
||||||
dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__
|
|
||||||
dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__
|
|
||||||
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__
|
|
||||||
|
|
||||||
dnl create only shared libtool-libraries
|
|
||||||
AC_ENABLE_SHARED(yes)
|
|
||||||
|
|
||||||
dnl set the following to yes, if you want to create static
|
|
||||||
dnl libtool-libraries, too.
|
|
||||||
AC_ENABLE_STATIC(no)
|
|
||||||
|
|
||||||
|
|
||||||
dnl create a working libtool-script
|
|
||||||
KDE_PROG_LIBTOOL
|
|
||||||
|
|
||||||
dnl activate the next macro call for DLOPEN tests and setting LIBDL
|
|
||||||
dnl (n.b. KDE_MISC_TESTS does the same to you, so use either this or the next one)
|
|
||||||
dnl KDE_CHECK_DLOPEN
|
|
||||||
|
|
||||||
dnl activate the next macro call for some additional tests
|
|
||||||
dnl (compat, crypt, socket, nsl, dlopen, ...)
|
|
||||||
dnl KDE_MISC_TESTS dnl __kdevelop__
|
|
||||||
|
|
||||||
dnl KDE_NEED_FLEX dnl __kdevelop__
|
|
||||||
dnl AC_PROG_YACC dnl __kdevelop__
|
|
||||||
|
|
||||||
dnl KDE_CHECK_EXTRA_LIBS
|
|
||||||
all_libraries="$all_libraries $USER_LDFLAGS"
|
|
||||||
all_includes="$all_includes $USER_INCLUDES"
|
|
||||||
AC_SUBST(all_includes)
|
|
||||||
AC_SUBST(all_libraries)
|
|
||||||
|
|
||||||
AC_SUBST(AUTODIRS)
|
|
||||||
|
|
Loading…
Reference in new issue