mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-06 14:16:53 +00:00
Update SimpleXray to 1.8.0 (20)
This commit is contained in:
parent
78da1e7135
commit
c6c3a0eacc
1 changed files with 48 additions and 2 deletions
|
|
@ -198,10 +198,56 @@ Builds:
|
|||
- popd
|
||||
- mv $$Xray-core$$/jniLibs src/main/
|
||||
|
||||
- versionName: 1.8.0
|
||||
versionCode: 20
|
||||
commit: 51a2f5a9fabe231dde15e8d33c848dbf2a574354
|
||||
subdir: app
|
||||
submodules: true
|
||||
sudo:
|
||||
- apt-get update
|
||||
- apt-get install -t bookworm-backports -y golang-go
|
||||
- apt-get install -y gcc libc-dev make
|
||||
gradle:
|
||||
- yes
|
||||
srclibs:
|
||||
- Xray-core@v25.6.8
|
||||
- go@go1.24.4
|
||||
prebuild:
|
||||
- sed -i -e '/enable true/d' build.gradle
|
||||
- source ../version.properties
|
||||
- git -C $$Xray-core$$ checkout -f $XRAY_CORE_VERSION
|
||||
- git -C $$go$$ checkout -f go$GO_VERSION
|
||||
build:
|
||||
- source ../version.properties
|
||||
- curl -Lo src/main/assets/geoip.dat https://github.com/lhear/v2ray-rules-dat/releases/download/$GEOIP_VERSION/geoip.dat
|
||||
- curl -Lo src/main/assets/geosite.dat https://github.com/lhear/v2ray-rules-dat/releases/download/$GEOSITE_VERSION/geosite.dat
|
||||
- sdkmanager "ndk;$NDK_VERSION"
|
||||
- pushd $$go$$/src
|
||||
- ./make.bash
|
||||
- popd
|
||||
- export GOPATH=$$go$$
|
||||
- export PATH="$GOPATH/bin:$PATH"
|
||||
- pushd $$Xray-core$$
|
||||
- mkdir -p jniLibs/{arm64-v8a,x86_64}
|
||||
- COMMID=$(git rev-parse HEAD | cut -c 1-7)
|
||||
- export GOOS=android CGO_ENABLED=1
|
||||
- export GOARCH=arm64
|
||||
- export CC=$$SDK$$/ndk/$NDK_VERSION/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang
|
||||
- go build -o xray -trimpath -buildvcs=false -ldflags="-X github.com/xtls/xray-core/core.build=${COMMID}
|
||||
-s -w -buildid=" -v ./main
|
||||
- mv xray jniLibs/arm64-v8a/libxray.so
|
||||
- export GOARCH=amd64
|
||||
- export CC=$$SDK$$/ndk/$NDK_VERSION/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android24-clang
|
||||
- go build -o xray -trimpath -buildvcs=false -ldflags="-X github.com/xtls/xray-core/core.build=${COMMID}
|
||||
-s -w -buildid=" -v ./main
|
||||
- mv xray jniLibs/x86_64/libxray.so
|
||||
- popd
|
||||
- mv $$Xray-core$$/jniLibs src/main/
|
||||
|
||||
AllowedAPKSigningKeys: 7b78dbf42ed7346f51c705569072d6cc5821e54872186177eb3f4b245573a27e
|
||||
|
||||
AutoUpdateMode: Version
|
||||
UpdateCheckMode: Tags
|
||||
UpdateCheckData: version.properties|APP_VERSION_CODE=(\d+)|.|APP_VERSION_NAME=([\d.]+)
|
||||
CurrentVersion: 1.7.1
|
||||
CurrentVersionCode: 19
|
||||
CurrentVersion: 1.8.0
|
||||
CurrentVersionCode: 20
|
||||
|
|
|
|||
Loading…
Reference in a new issue