-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild-config
59 lines (42 loc) · 1.78 KB
/
build-config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
# Building options. Set libraries that has to be downloaded and/or built
# Set to either yes or no. If you run the script initially and these packages were built on your system, then set them to 'no' on subsequent runs unless you want to build them again.
download_kf5="no"
build_kf5="no"
build_cfitsio="no"
build_nova="no"
download_indi="no"
build_indi="no"
build_libraw="no"
# Where to store KDE KF5 Sources?
kf5_android_path="/home/jasem/Projects/development/KDE/KF5_Android/"
# Where is Qt Android Libs?
qt_android_libs="/opt/Qt5.7.0/5.7/android_armv7/"
# arm/arm64 or x86/x86_64 or mips/mips64
android_architecture="arm"
#"Your path to Android NDK folder"
android_ndk="/home/jasem/Projects/android/android-ndk-r13"
#"Your path to Android SDK folder"
android_sdk_root="/home/jasem/Projects/android/android-sdk-linux"
# Android API Level
android_api_level="15"
# Build type (Debug or Release)
release_type="Debug"
#"path to your ant installation (/usr/bin/ant on Ubuntu)"
ant= "/usr/bin/ant"
#"path to your JDK (choose from the folders at /usr/lib/jvm/ on Ubuntu)"
java_home="/usr/lib/jvm/java-8-openjdk-amd64/"
#"KStars source directory"
kstars_DIR="/home/jasem/Projects/lite_kstars/"
#"Your building directory (build and export directories will be created there)"
build_dir="/home/jasem/Projects/build/android_kstars/${release_type}/${android_architecture}"
#"Path to KF5Config cmake files e.g. /usr/lib/x86_64-linux-gnu/cmake/"
kf5_host_tooling="/usr/lib/x86_64-linux-gnu/cmake/"
# Set INDI source location (parent directory of indi)
indi_location="/home/jasem/Projects"
# Where is your keystore location to sign the package?
keystore_path="${build_dir}/build/kstars_build_apk/bin/KeyStore.jks"
# Keystore name
keystore_name="KeyStore.jks"
# Keystore alias
keystore_alias="key"