[Android] Build: add the compilation options to build the OpenGL ES 2.0 vout.

Adrien Maglo git at videolan.org
Fri Nov 8 14:14:17 CET 2013


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Tue Nov  5 16:14:40 2013 +0100| [e5198bfc0fe81cc2bb149ea42b789b14ddb4e0b3] | committer: Adrien Maglo

Build: add the compilation options to build the OpenGL ES 2.0 vout.

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=e5198bfc0fe81cc2bb149ea42b789b14ddb4e0b3
---

 configure.sh               |    3 ++-
 vlc-android/jni/Android.mk |    1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.sh b/configure.sh
index 02f635a..5b3dd33 100755
--- a/configure.sh
+++ b/configure.sh
@@ -99,7 +99,8 @@ sh $VLC_SOURCEDIR/configure --host=$TARGET_TUPLE --build=x86_64-unknown-linux $E
                 --enable-libxml2 \
                 --disable-caca \
                 --disable-glx \
-                --disable-egl \
+                --enable-egl \
+                --enable-gles2 \
                 --disable-goom \
                 --disable-projectm \
                 --disable-sout \
diff --git a/vlc-android/jni/Android.mk b/vlc-android/jni/Android.mk
index 704c825..a950deb 100644
--- a/vlc-android/jni/Android.mk
+++ b/vlc-android/jni/Android.mk
@@ -69,6 +69,7 @@ LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \
 	-lxml2 -lpng -lgnutls -lgcrypt -lgpg-error \
 	-lnettle -lhogweed -lgmp \
 	-lfreetype -liconv -lass -lfribidi -lopus \
+	-lEGL -lGLESv2 \
 	$(CPP_STATIC)
 
 include $(BUILD_SHARED_LIBRARY)



More information about the Android mailing list