[Android] Generate missing egl/glesv2 .pc files
Rafaël Carré
git at videolan.org
Wed Nov 6 16:34:04 CET 2013
vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Wed Nov 6 16:33:46 2013 +0100| [82036e0c78c2210b523f1fbd63f3409edec69887] | committer: Rafaël Carré
Generate missing egl/glesv2 .pc files
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=82036e0c78c2210b523f1fbd63f3409edec69887
---
compile.sh | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/compile.sh b/compile.sh
index 7f017db..a2382fa 100755
--- a/compile.sh
+++ b/compile.sh
@@ -167,6 +167,20 @@ cd ../..
echo "Building the contribs"
mkdir -p contrib/android
+
+gen_pc_file() {
+ echo "Generating $1 pkg-config file"
+ echo "Name: $1
+Description: $1
+Version: $2
+Libs: -l$1
+Cflags:" > contrib/${TARGET_TUPLE}/lib/pkgconfig/`echo $1|tr 'A-Z' 'a-z'`.pc
+}
+
+mkdir -p contrib/${TARGET_TUPLE}/lib/pkgconfig
+gen_pc_file EGL 1.1
+gen_pc_file GLESv2 2
+
cd contrib/android
../bootstrap --host=${TARGET_TUPLE} --disable-disc --disable-sout \
--disable-dca \
More information about the Android
mailing list