File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 88
99### jniLibs中的文件
1010
11- 所有文件均通过[ termux-packages] ( https://github.com/termux-play-store/termux-packages ) 构建。[ 见这个修改后的仓库] ( https://github.com/tiny-computer/termux-packages )
11+ 除libexec_pulseaudio.so(pulseaudio可执行文件)来自Xserver XSDL的apk外, 所有文件均通过[ termux-packages] ( https://github.com/termux-play-store/termux-packages ) 构建。[ 见这个修改后的仓库] ( https://github.com/tiny-computer/termux-packages )
1212
1313运行scripts/generate-bootstraps.sh即可获得bootstraps压缩包,其中会包含busybox、proot、tar、virglrenderer的可执行文件和依赖库。将可执行文件全部重命名为libexec_xxx.so的格式,将依赖库全部抹去版本号,放到jniLibs/arm64-v8a。
1414
Original file line number Diff line number Diff line change @@ -641,6 +641,7 @@ ln -sf ../applib/libexec_proot.so \$DATA_DIR/bin/proot
641641ln -sf ../applib/libexec_tar.so \$ DATA_DIR/bin/tar
642642ln -sf ../applib/libexec_virgl_test_server.so \$ DATA_DIR/bin/virgl_test_server
643643ln -sf ../applib/libexec_getifaddrs_bridge_server.so \$ DATA_DIR/bin/getifaddrs_bridge_server
644+ ln -sf ../applib/libexec_pulseaudio.so \$ DATA_DIR/bin/pulseaudio
644645ln -sf ../applib/libbusybox.so \$ DATA_DIR/lib/libbusybox.so.1.36.1
645646ln -sf ../applib/libtalloc.so \$ DATA_DIR/lib/libtalloc.so.2
646647ln -sf ../applib/libvirglrenderer.so \$ DATA_DIR/lib/libvirglrenderer.so
@@ -781,7 +782,7 @@ export PATH=\$DATA_DIR/bin:\$PATH
781782export LD_LIBRARY_PATH=\$ DATA_DIR/lib
782783\$ DATA_DIR/bin/busybox sed "s/4713/${Util .getGlobal ("defaultAudioPort" ) as int }/g" \$ DATA_DIR/bin/pulseaudio.conf > \$ DATA_DIR/bin/pulseaudio.conf.tmp
783784rm -rf \$ DATA_DIR/pulseaudio_tmp/*
784- TMPDIR=\$ DATA_DIR/pulseaudio_tmp HOME=\$ DATA_DIR/pulseaudio_tmp XDG_CONFIG_HOME=\$ DATA_DIR/pulseaudio_tmp LD_LIBRARY_PATH=\$ DATA_DIR/bin:\$ LD_LIBRARY_PATH /system/bin/linker64 \$ DATA_DIR/bin/pulseaudio -F \$ DATA_DIR/bin/pulseaudio.conf.tmp
785+ TMPDIR=\$ DATA_DIR/pulseaudio_tmp HOME=\$ DATA_DIR/pulseaudio_tmp XDG_CONFIG_HOME=\$ DATA_DIR/pulseaudio_tmp LD_LIBRARY_PATH=\$ DATA_DIR/bin:\$ LD_LIBRARY_PATH \$ DATA_DIR/bin/pulseaudio -F \$ DATA_DIR/bin/pulseaudio.conf.tmp
785786exit
786787""" ));
787788 await G .audioPty? .exitCode;
You can’t perform that action at this time.
0 commit comments