requirements_libs_ecore_wince=""
requirements_libs_ecore_x=""
requirements_libs_ecore_evas=""
+requirements_libs_ecore_audio=""
requirements_libs_embryo=""
requirements_libs_eio=""
#requirements_libs_edje=""
requirements_pc_ecore_wince=""
requirements_pc_ecore_x=""
requirements_pc_ecore_evas=""
+requirements_pc_ecore_audio=""
requirements_pc_embryo=""
requirements_pc_eio=""
#requirements_pc_edje=""
AC_SUBST([requirements_libs_ecore_wince])
AC_SUBST([requirements_libs_ecore_x])
AC_SUBST([requirements_libs_ecore_evas])
+AC_SUBST([requirements_libs_ecore_audio])
AC_SUBST([requirements_libs_embryo])
AC_SUBST([requirements_libs_eio])
#AC_SUBST([requirements_libs_edje])
AC_SUBST([requirements_pc_ecore_wince])
AC_SUBST([requirements_pc_ecore_x])
AC_SUBST([requirements_pc_ecore_evas])
+AC_SUBST([requirements_pc_ecore_audio])
AC_SUBST([requirements_pc_embryo])
AC_SUBST([requirements_pc_eio])
#AC_SUBST([requirements_pc_edje])
#### End of Ecore_Evas
+#### Ecore_Audio
+AC_ARG_ENABLE([audio],
+ [AC_HELP_STRING([--enable-audio], [enable Ecore_Audio])],
+ [
+ if test "x${enableval}" = "xyes" ; then
+ want_ecore_audio="yes"
+ else
+ want_ecore_audio="no"
+ fi
+ ],
+ [want_ecore_audio="no"])
+
+if test "x${want_ecore_audio}" = "xyes" ; then
+
+AC_MSG_NOTICE([Ecore_Audio checks])
+
+### Additional options to configure
+
+### Default values
+
+### Checks for programs
+
+### Checks for libraries
+
+# Eina, Eo, Eet, Ecore
+
+requirements_pc_ecore_audio="ecore >= ${PACKAGE_VERSION} eet >= ${PACKAGE_VERSION} eina >= ${PACKAGE_VERSION} ${requirements_pc_ecore_audio}"
+
+use_alsa="no"
+# ALSA support is not really there yet...uncomment if you want to play around with it
+#PKG_CHECK_EXISTS([ALSA], [alsa], [
+# use_alsa="yes"
+# AC_DEFINE([HAVE_ALSA], [1], [Alsa library])
+# requirements_pc_ecore_audio="alsa ${requirements_pc_ecore_audio}"
+# requirements_pc_deps_ecore_audio="alsa ${requirements_pc_deps_ecore_audio}"
+# ], [use_alsa="no"])
+
+have_pulse="no"
+PKG_CHECK_EXISTS([libpulse],
+ [
+ use_pulse="yes"
+ AC_DEFINE([HAVE_PULSE], [1], [Pulseaudio library])
+ requirements_pc_ecore_audio="libpulse ${requirements_pc_ecore_audio}"
+ requirements_pc_deps_ecore_audio="libpulse ${requirements_pc_deps_ecore_audio}"
+ ], [use_pulse="no"])
+
+use_sndfile="no"
+PKG_CHECK_EXISTS([sndfile], [
+ use_sndfile="yes"
+ AC_DEFINE([HAVE_SNDFILE], [1], [libsndfile library])
+ requirements_pc_ecore_audio="sndfile ${requirements_pc_ecore_audio}"
+ requirements_pc_deps_ecore_audio="sndfile ${requirements_pc_deps_ecore_audio}"
+ ], [use_sndfile="no"])
+
+PKG_CHECK_MODULES([ECORE_AUDIO], [${requirements_pc_deps_ecore_audio}])
+
+ECORE_AUDIO_CFLAGS="${ECORE_AUDIO_CFLAGS}"
+ECORE_AUDIO_LIBS="${ECORE_AUDIO_LIBS}"
+requirements_libs_ecore_audio="${requirements_libs_ecore_audio}"
+
+### Checks for header files
+
+### Checks for types
+
+### Checks for structures
+
+### Checks for compiler characteristics
+
+### Checks for linker characteristics
+
+### Checks for library functions
+
+fi
+
+AM_CONDITIONAL([HAVE_ECORE_AUDIO], [test "x${want_ecore_audio}" = "xyes"])
+
#### Eio
pc/ecore-evas.pc
pc/ecore-imf.pc
pc/ecore-imf-evas.pc
+pc/ecore-audio.pc
pc/embryo.pc
pc/eio.pc
$po_makefile_in
echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
#fi
echo
+echo "Ecore Sound system:"
+echo
+echo " Ecore_Audio..................: $want_ecore_audio"
+if test "x${want_ecore_audio}" = "xyes" ; then
+echo " ALSA.......................: $use_alsa"
+echo " PulseAudio.................: $use_pulse"
+echo " SndFile....................: $use_sndfile"
+fi
+echo
echo "Tests..................: ${_efl_enable_tests}"
if test "x${_efl_enable_tests}" = "xyes"; then
echo " Coverage...........: ${_efl_enable_coverage}"
--- /dev/null
+
+### Library
+
+lib_LTLIBRARIES += lib/ecore_audio/libecore_audio.la
+
+installed_ecoreaudiomainheadersdir = $(includedir)/ecore-@VMAJ@
+dist_installed_ecoreaudiomainheaders_DATA = \
+lib/ecore_audio/Ecore_Audio.h
+
+lib_ecore_audio_libecore_audio_la_SOURCES = \
+lib/ecore_audio/ecore_audio.c \
+lib/ecore_audio/ecore_audio_alsa.c \
+lib/ecore_audio/ecore_audio_pulse.c \
+lib/ecore_audio/ecore_audio_sndfile.c \
+lib/ecore_audio/ecore_audio_tone.c \
+lib/ecore_audio/ecore_audio_custom.c \
+lib/ecore_audio/ecore_audio_private.h
+
+lib_ecore_audio_libecore_audio_la_CPPFLAGS = \
+-I$(top_srcdir)/src/lib/eina \
+-I$(top_srcdir)/src/lib/eo \
+-I$(top_srcdir)/src/lib/eet \
+-I$(top_srcdir)/src/lib/ecore \
+-I$(top_builddir)/src/lib/eina \
+-I$(top_builddir)/src/lib/eo \
+-I$(top_builddir)/src/lib/eet \
+-I$(top_builddir)/src/lib/ecore \
+-DEFL_ECORE_AUDIO_BUILD \
+@EFL_CFLAGS@ \
+@EFL_COV_CFLAGS@ \
+@ECORE_AUDIO_CFLAGS@
+
+lib_ecore_audio_libecore_audio_la_LIBADD = \
+lib/ecore/libecore.la \
+lib/eet/libeet.la \
+lib/eo/libeo.la \
+lib/eina/libeina.la
+
+lib_ecore_audio_libecore_audio_la_LIBADD += @ECORE_AUDIO_LIBS@ @EFL_COV_LIBS@ -lm
+
+lib_ecore_audio_libecore_audio_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@