File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
org.scape2003.mudclient/app Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
# First, you should probably install Android SDK and Android NDK.
3
3
# You can likely install Android files with apt: sudo apt install android-sdk-build-tools android-sdk
4
4
# You may have to manually download Android commandline-tools and Android NDK and extract them.
5
- export ANDROID_HOME=" /home/$USER /android/"
6
- export ANDROID_NDK_HOME=" /home/$USER /android/android-ndk-r24"
5
+ if [ -e /usr/lib/android-sdk ]; then
6
+ export ANDROID_HOME=/usr/lib/android-sdk
7
+ if ! [ -e /usr/lib/android-sdk/licenses/google-sdk-license ]; ten
8
+ git clone https://github.com/Shadowstyler/android-sdk-licenses.git
9
+ sudo cp -p android-sdk-licenses/* -license /usr/lib/android-sdk/licenses
10
+ fi
11
+ else
12
+ export ANDROID_HOME=" /home/$USER /android/"
13
+ export ANDROID_NDK_HOME=" /home/$USER /android/android-ndk-r24"
14
+ fi
7
15
cd org.scape2003.mudclient/
8
- ./gradlew assembleDebug
16
+ ./gradlew assembleDebug
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ android {
21
21
ndkBuild {
22
22
arguments " APP_PLATFORM=android-19"
23
23
abiFilters ' armeabi-v7a' , ' arm64-v8a' , ' x86' , ' x86_64'
24
- cFlags " -Ofast -DRENDER_SW -DREVISION_177 "
24
+ cFlags " -Ofast -DRENDER_SW -DSDL2 "
25
25
}
26
26
}
27
27
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
10
10
11
11
# Add your application source files here...
12
12
# glob didn't work :(
13
- LOCAL_SRC_FILES := src/chat-message.c src/custom/clarify-herblaw-items.c src/custom/diverse-npcs.c src/custom/item-highlight.c src/game-character.c src/game-data.c src/game-model.c src/lib/bn.c src/lib/bzip.c src/lib/ini.c src/lib/isaac.c src/mudclient.c src/options.c src/packet-handler.c src/packet-stream.c src/panel.c src/polygon.c src/scene.c src/surface.c src/ui/additional-options.c src/ui/appearance.c src/ui/bank.c src/ui/combat-style.c src/ui/confirm.c src/ui/duel.c src/ui/experience-drops.c src/ui/inventory-tab.c src/ui/login.c src/ui/logout.c src/ui/lost-connection.c src/ui/magic-tab.c src/ui/menu.c src/ui/message-tabs.c src/ui/minimap-tab.c src/ui/offer-x.c src/ui/option-menu.c src/ui/options-tab.c src/ui/server-message.c src/ui/shop.c src/ui/sleep.c src/ui/social-tab.c src/ui/stats-tab.c src/ui/status-bars.c src/ui/trade.c src/ui/transaction.c src/ui/ui-tabs.c src/ui/welcome.c src/ui/wilderness-warning.c src/utility.c src/world.c
13
+ LOCAL_SRC_FILES := src/chat-message.c src/custom/clarify-herblaw-items.c src/custom/diverse-npcs.c src/custom/item-highlight.c src/game-character.c src/game-data.c src/game-model.c src/lib/bn.c src/lib/bzip.c src/lib/ini.c src/lib/isaac.c src/mudclient.c src/mudclient-sdl.c src/mudclient-sdl2.c src/options.c src/packet-handler.c src/packet-stream.c src/panel.c src/polygon.c src/scene.c src/surface.c src/ui/additional-options.c src/ui/appearance.c src/ui/bank.c src/ui/combat-style.c src/ui/confirm.c src/ui/duel.c src/ui/experience-drops.c src/ui/inventory-tab.c src/ui/login.c src/ui/logout.c src/ui/lost-connection.c src/ui/magic-tab.c src/ui/menu.c src/ui/message-tabs.c src/ui/minimap-tab.c src/ui/offer-x.c src/ui/option-menu.c src/ui/options-tab.c src/ui/server-message.c src/ui/shop.c src/ui/sleep.c src/ui/social-tab.c src/ui/stats-tab.c src/ui/status-bars.c src/ui/trade.c src/ui/transaction.c src/ui/ui-tabs.c src/ui/welcome.c src/ui/wilderness-warning.c src/ui/worldlist.c src/utility.c src/world.c src/lib/rsa/rsa-tiny.c
14
14
15
15
LOCAL_SHARED_LIBRARIES := SDL2
16
16
You can’t perform that action at this time.
0 commit comments