summaryrefslogtreecommitdiff
path: root/setup.sh
blob: b384a7c6c3254ba6b00d06947319e2f26ce43efe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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