summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-09-15 14:09:19 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-10-17 13:55:21 +0530
commit1232e518c69e1cb5f38de82c9c782cf1fd292249 (patch)
treefb89803be0ff22cc6ce575a54daf52cc2552c00d
parent4c8724359367287cb89ade12a163560631f13570 (diff)
Add a pkg-config file for clients to use
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac1
-rw-r--r--webrtc-audio-processing.pc.in10
3 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index af437a6..fc4bc41 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1,4 @@
SUBDIRS = src
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = webrtc-audio-processing.pc
diff --git a/configure.ac b/configure.ac
index 71f665b..0b1d17b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,7 @@ AC_SUBST([COMMON_CFLAGS])
AC_SUBST([COMMON_CXXFLAGS])
AC_CONFIG_FILES([
+webrtc-audio-processing.pc
Makefile
src/Makefile
src/common_audio/Makefile
diff --git a/webrtc-audio-processing.pc.in b/webrtc-audio-processing.pc.in
new file mode 100644
index 0000000..724fd71
--- /dev/null
+++ b/webrtc-audio-processing.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: webrtc-audio-processing
+Description: WebRTC Audio Processing library
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lwebrtc_audio_processing
+Cflags: -I${includedir}/webrtc_audio_processing