-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修复了没有添加armhf本地库的问题 添加了openal (由lwjgl.org预编译)
- Loading branch information
1 parent
67a6d83
commit f552005
Showing
6 changed files
with
54 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ReleaseVersion=0.1 | ||
ReleaseVersion=0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
set -o errexit | ||
set -o nounset | ||
|
||
#复制构建脚本到操作环境 | ||
sudo cp -r lwjgl-backports/build_script/*.sh arm64/ | ||
sudo cp -r lwjgl-backports/build_script/*.sh armhf/ | ||
|
||
#复制补丁到操作环境 | ||
sudo cp lwjgl-backports/patch/build-aarch64.xml arm64/build.xml | ||
sudo cp lwjgl-backports/patch/build-aarch32.xml armhf/build.xml | ||
|
||
#复制源代码到操作环境 | ||
sudo cp -r lwjgl/ arm64/ | ||
sudo cp -r lwjgl/ armhf/ | ||
|
||
#下载OPENAL到操作环境 | ||
wget -O arm64/lwjgl/dist/libopenal.so https://build.lwjgl.org/stable/linux/arm64/libopenal.so | ||
wget -O arm64/lwjgl/dist/libopenal64.so https://build.lwjgl.org/stable/linux/arm64/libopenal.so | ||
wget -O armhf/lwjgl/dist/libopenal.so https://build.lwjgl.org/stable/linux/arm32/libopenal.so | ||
wget -O armhf/lwjgl/dist/libopenal64.so https://build.lwjgl.org/stable/linux/arm32/libopenal.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
set -o errexit | ||
set -o nounset | ||
|
||
#从arm64复制所有纯java库 | ||
sudo mkdir dist | ||
sudo cp arm64/lwjgl/dist/lwjgl.jar dist/ | ||
sudo cp arm64/lwjgl/dist/lwjgl_test.jar dist/ | ||
sudo cp arm64/lwjgl/dist/lwjgl_util.jar dist/ | ||
sudo cp arm64/lwjgl/dist/lwjgl_util_applet.jar dist/ | ||
|
||
#重命名与复制本地库 | ||
#arm64 | ||
sudo mv arm64/lwjgl/dist/liblwjgl64.so arm64/lwjgl/dist/liblwjgl_arm64.so | ||
sudo mv arm64/lwjgl/dist/libopenal.so arm64/lwjgl/dist/libopenal_arm64.so | ||
|
||
sudo cp arm64/lwjgl/dist/liblwjgl_arm64.so dist/ | ||
sudo cp arm64/lwjgl/dist/libopenal_arm64.so dist/ | ||
|
||
#armhf | ||
sudo mv armhf/lwjgl/dist/liblwjgl.so armhf/lwjgl/dist/liblwjgl_armhf.so | ||
sudo mv armhf/lwjgl/dist/libopenal.so armhf/lwjgl/dist/libopenal_armhf.so | ||
|
||
sudo cp armhf/lwjgl/dist/liblwjgl_armhf.so dist/ | ||
sudo cp armhf/lwjgl/dist/libopenal_armhf.so dist/ |