#!/bin/sh #git submodule init #git submodule update mkdir -p src target=`android list targets | grep "android-16" | cut -d' ' -f2` android update project -n GStreamer -p . -t $target for i in *; do if [ -d $i ]; then echo $i; cp config.sub $i; fi; done rm -f res/config.sub # This is an example to get past the glib a glib version mismatch # between the system's and the ndk port shipped one. # #GLIB_COMPILE_SCHEMAS=/PATH_TO_LOCALLY_INSTALLED_MATCHING_GLIB/gio/.libs/glib-compile-schemas GLIB_GENMARSHAL=/PATH_TO_LOCALLY_INSTALLED_MATCHING_GLIB/gobject/glib-genmarshal ANDROGENIZER_NDK=1 NDK_BUILD=1 ndk-build gstreamer-aggregate-configure && ndk-build -B V=1 && ant debug ANDROGENIZER_NDK=1 NDK_BUILD=1 ndk-build gstreamer-aggregate-configure && ndk-build -B V=1 && ant debug