[xiph-commits] r18122 - trunk/ao
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Sat Nov 19 12:36:27 PST 2011
Author: xiphmont
Date: 2011-11-19 12:36:27 -0800 (Sat, 19 Nov 2011)
New Revision: 18122
Added:
trunk/ao/libao.ckport
Modified:
trunk/ao/Makefile.am
trunk/ao/configure.ac
Log:
ckport database for libao
patch provided by ph3-der-loewe
See Trac #1786
Added automake installation for ckport
corrected configure.ac "no AC_LANG_SOURCE call detected in body"
warnings
Modified: trunk/ao/Makefile.am
===================================================================
--- trunk/ao/Makefile.am 2011-11-19 20:09:05 UTC (rev 18121)
+++ trunk/ao/Makefile.am 2011-11-19 20:36:27 UTC (rev 18122)
@@ -10,6 +10,9 @@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ao.pc
+ckportdir = $(libdir)/ckport/db
+ckport_DATA = libao.ckport
+
man_MANS = libao.conf.5
EXTRA_DIST = README AUTHORS CHANGES COPYING libao.spec ao.m4 acinclude.m4 as-ac-expand.m4 ao.pc.in $(man_MANS)
Modified: trunk/ao/configure.ac
===================================================================
--- trunk/ao/configure.ac 2011-11-19 20:09:05 UTC (rev 18121)
+++ trunk/ao/configure.ac 2011-11-19 20:36:27 UTC (rev 18122)
@@ -224,7 +224,7 @@
[include WMM output plugin @<:@default=check@:>@])],
[],[enable_wmm="check"]
)
-AS_IF([test "x$enable_wmm" != "xno"],
+AS_IF([AC_LANG_SOURCE([test "x$enable_wmm" != "xno"],
[AC_CHECK_HEADERS([mmsystem.h],
[
AC_MSG_CHECKING([waveOut family functions])
@@ -236,7 +236,7 @@
int main(int na, char ** a) {
return waveOutOpen(0,0,0,0,0,0);
}
-],[
+])],[
have_wmm="yes";
AC_MSG_RESULT([yes])
AC_DEFINE([HAVE_WMM],[1],[Support Windows MultiMedia])
@@ -328,7 +328,7 @@
AC_CHECK_HEADERS(libroar/config.h, have_roar=yes)
if test "x$have_roar" = "xyes"; then
AC_MSG_CHECKING([if SLP lookup can be disabled in libroar])
- AC_COMPILE_IFELSE([
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <libroar/config.h>
int main(int a, char **b) {
#ifdef ROAR_LIBROAR_CONFIG_WAS_NO_SLP
@@ -342,7 +342,7 @@
[
AC_MSG_RESULT([no])
AC_MSG_RESULT([RoarAudio 0.4beta2 or later required to build Roar support])
- have_roar="no"])
+ have_roar="no"])])
fi
AM_CONDITIONAL(HAVE_ROAR_AUDIO,test "${have_roar}" = yes)
Added: trunk/ao/libao.ckport
===================================================================
--- trunk/ao/libao.ckport (rev 0)
+++ trunk/ao/libao.ckport 2011-11-19 20:36:27 UTC (rev 18122)
@@ -0,0 +1,33 @@
+#ckport(1) database for libao -- A Cross-platform Audio Library:
+!NAME: libao
+!TYPE: func
+!TARGET: libao4
+
+# Startup and shutdown:
+ao_initialize ok
+ao_shutdown ok
+
+# Drivers:
+ao_driver_id ok
+ao_default_driver_id ok
+ao_driver_info ok
+ao_driver_info_list ok
+ao_file_extension wip Not yet implemented
+
+# Options:
+ao_append_global_option ok
+ao_append_option ok
+ao_free_options ok
+
+# Opening and closing:
+ao_open_file ok
+ao_open_live ok
+ao_close ok
+
+# Playback:
+ao_play ok
+
+# Misc:
+ao_is_big_endian ok
+
+#ll
More information about the commits
mailing list