Compiling libcallaudio applications

Using pkg-config

Like other GNOME libraries, libcallaudio uses pkg-config to provide compiler options. The package name is "libcallaudio-0.1". So in your configure.ac script, you might specify something like:

1
2
3
PKG_CHECK_MODULES(LIBFEEDBACK, [libcallaudio-0.1])
AC_SUBST(LIBFEEDBACK_CFLAGS)
AC_SUBST(LIBFEEDBACK_LIBS)

Using Meson/Ninja

If using Meson/Ninja use a dependency('libcallaudio-0.1') dependency.

The "0.1" in the package name is the "API version" (indicating "the version of the libcallaudio API that first appeared in version 0.1") and is essentially just part of the package name.