summaryrefslogtreecommitdiff
path: root/opus-uninstalled.pc.in
diff options
context:
space:
mode:
authorRalph Giles <giles@mozilla.com>2011-08-28 22:32:13 +1200
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-08-28 15:33:14 -0400
commit9f71309abedb5a796b145b45e013b91af38edf67 (patch)
treef76c21181ba577cff89559784cc7706087c77793 /opus-uninstalled.pc.in
parent1ca485ce1775f0863b94bfd6b1c19bb1a18a86ec (diff)
downloadopus-9f71309abedb5a796b145b45e013b91af38edf67.tar.gz
Add pkg-config support files.
These files allow compiling and linking against the reference implementation with an invocation like `pkg-config --cflags --libs opus`. They're optional within the opus build system, but can simplify compilation for clients and are generally considered part of a normal autotools build these days. The -uninstalled version refers to local build products within the tree, which is helpful for testing and unprivileged builds. opus.pc is used once 'make install' has put the libraries and headers somewhere more permanent.
Diffstat (limited to 'opus-uninstalled.pc.in')
-rw-r--r--opus-uninstalled.pc.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/opus-uninstalled.pc.in b/opus-uninstalled.pc.in
new file mode 100644
index 00000000..b6a86789
--- /dev/null
+++ b/opus-uninstalled.pc.in
@@ -0,0 +1,12 @@
+# opus codec reference implementation uninstalled pkg-config file
+
+libdir=${pcfiledir}/.libs
+includedir=${pcfiledir}
+
+Name: opus uninstalled
+Description: Opus IETF audio codec (not installed)
+Version: @VERSION@
+Requires:
+Conflicts:
+Libs: ${libdir}/libopus.a
+Cflags: -I${includedir}/src -I${includedir}/libcelt