[vlc-devel] commit: libvlcpp: add a .pc file. ( Rémi Duraffort )
git version control
git at videolan.org
Tue Jan 26 12:04:53 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Jan 26 12:04:31 2010 +0100| [4807aded6e4127358df368ecf7145cc5f0d2b2f4] | committer: Rémi Duraffort
libvlcpp: add a .pc file.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4807aded6e4127358df368ecf7145cc5f0d2b2f4
---
bindings/libvlcpp/configure.ac | 2 +-
bindings/libvlcpp/src/Makefile.am | 3 +++
bindings/libvlcpp/src/libvlcpp.pc.in | 11 +++++++++++
3 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/bindings/libvlcpp/configure.ac b/bindings/libvlcpp/configure.ac
index 61795d2..7898562 100644
--- a/bindings/libvlcpp/configure.ac
+++ b/bindings/libvlcpp/configure.ac
@@ -24,5 +24,5 @@ AC_PATH_PROG([DOXYGEN], [doxygen], [false])
AM_INIT_AUTOMAKE
-AC_CONFIG_FILES([Makefile src/Makefile Doxyfile])
+AC_CONFIG_FILES([Makefile src/Makefile src/libvlcpp.pc Doxyfile])
AC_OUTPUT
diff --git a/bindings/libvlcpp/src/Makefile.am b/bindings/libvlcpp/src/Makefile.am
index 84b3d05..090035a 100644
--- a/bindings/libvlcpp/src/Makefile.am
+++ b/bindings/libvlcpp/src/Makefile.am
@@ -14,3 +14,6 @@ libvlcpp_la_CXXFLAGS = @libvlc_CFLAGS@
libvlcpp_la_LDFLAGS = @libvlc_LIBS@
library_includedir=$(includedir)/libvlcpp
library_include_HEADERS = exception.hpp libvlc.hpp media.hpp media_player.hpp
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libvlcpp.pc
diff --git a/bindings/libvlcpp/src/libvlcpp.pc.in b/bindings/libvlcpp/src/libvlcpp.pc.in
new file mode 100644
index 0000000..903819f
--- /dev/null
+++ b/bindings/libvlcpp/src/libvlcpp.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libvlcpp
+Description: C++ wrapper around libvlc
+Requires: libvlc >= 1.1.0
+Version: @VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lvlcpp
More information about the vlc-devel
mailing list