Changeset View
Changeset View
Standalone View
Standalone View
image/build-qtbase-tarball
- This file was added.
Property | Old Value | New Value |
---|---|---|
File Mode | null | 100755 |
1 | #!/bin/bash | ||||
---|---|---|---|---|---|
2 | | ||||
3 | set -e | ||||
4 | qtmodule=$1 | ||||
5 | | ||||
6 | echo "$qtmodule: downloading and compiling..." | ||||
7 | curl http://master.qt.io/archive/qt/$qtversionshort/$qtversion/submodules/${qtmodule}-everywhere-src-$qtversion.tar.xz -o $ADIR/${qtmodule}.tar.xz | ||||
8 | cd $ADIR | ||||
9 | tar xf ${qtmodule}.tar.xz | ||||
10 | cd ${qtmodule}-everywhere-src-$qtversion | ||||
11 | echo "./configure -xplatform ${qtplatform} --disable-rpath -nomake tests -nomake examples -android-ndk $ANDROID_NDK -android-sdk $ANDROID_SDK_ROOT -android-ndk-host linux-x86_64 -opensource -confirm-license -no-warnings-are-errors -prefix $QTPREFIX" | ||||
12 | ./configure -xplatform ${qtplatform} --disable-rpath -nomake tests -nomake examples -android-ndk $ANDROID_NDK -android-sdk $ANDROID_SDK_ROOT -android-ndk-host linux-x86_64 -opensource -confirm-license -no-warnings-are-errors -prefix $QTPREFIX | ||||
13 | make -j `getconf _NPROCESSORS_ONLN` | ||||
14 | make install | ||||
15 | cd / | ||||
16 | rm $ADIR/${qtmodule}.tar.xz | ||||
17 | rm -rf $ADIR/${qtmodule}-everywhere-src-$qtversion | ||||
18 | |