[Android] Adds custom pc.in files for medialibrary's dependencies

Bastien Penavayre git at videolan.org
Thu Nov 3 11:34:08 CET 2016


vlc-android | branch: master | Bastien Penavayre <swac31 at gmail.com> | Thu May 26 15:18:03 2016 +0200| [7a4f2e60977a44f4e006b8e38600c3a213d08f48] | committer: Geoffrey Métais

Adds custom pc.in files for medialibrary's dependencies

Create a folder contaning pc.in files to force autoconf to look for medialibrary's dependencies
in spefic folders.
Those files need to be converted to pc by replacing @variables@ with the correct paths beforehand.

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> https://code.videolan.org/videolan/vlc-android/commit/7a4f2e60977a44f4e006b8e38600c3a213d08f48
---

 pkgs/libvlc.pc.in   | 8 ++++++++
 pkgs/libvlcpp.pc.in | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/pkgs/libvlc.pc.in b/pkgs/libvlc.pc.in
new file mode 100644
index 0000000..c0cfc00
--- /dev/null
+++ b/pkgs/libvlc.pc.in
@@ -0,0 +1,8 @@
+libdir=@libdir@
+
+Name: LibVLC control API
+Description: VLC media player external control library
+Version: 3.0.0-git
+Cflags: @includedirs@
+Libs: -L${libdir} -lvlc
+Libs.private: -lvlccore 
diff --git a/pkgs/libvlcpp.pc.in b/pkgs/libvlcpp.pc.in
new file mode 100644
index 0000000..c9d05a9
--- /dev/null
+++ b/pkgs/libvlcpp.pc.in
@@ -0,0 +1,8 @@
+prefix=@prefix@
+libdir=${prefix}
+includedir=${prefix}
+
+Name: libvlcpp
+Description: libvlc C++ bindings
+Version: 0.1.0
+Cflags: -I${includedir}



More information about the Android mailing list