From b0487fffe133f56c9a44f974c0bbc6e64dac70b0 Mon Sep 17 00:00:00 2001 From: SnwMds Date: Thu, 27 Jan 2022 04:39:20 +0000 Subject: [PATCH] Add package Unalix --- metadata/com.amanoteam.unalix.yml | 65 +++++++++++++++++++++++++++++++ srclibs/Nim-csources.yml | 2 + srclibs/Nim.yml | 2 + 3 files changed, 69 insertions(+) create mode 100644 metadata/com.amanoteam.unalix.yml create mode 100644 srclibs/Nim-csources.yml create mode 100644 srclibs/Nim.yml diff --git a/metadata/com.amanoteam.unalix.yml b/metadata/com.amanoteam.unalix.yml new file mode 100644 index 0000000000..204bd9a255 --- /dev/null +++ b/metadata/com.amanoteam.unalix.yml @@ -0,0 +1,65 @@ +Categories: + - Internet +License: LGPL-3.0-only +AuthorName: Amano Team +AuthorEmail: contact@amanoteam.com +AuthorWebSite: https://amanoteam.com/ +SourceCode: https://github.com/AmanoTeam/UnalixAndroid +IssueTracker: https://github.com/AmanoTeam/UnalixAndroid/issues +Changelog: https://github.com/AmanoTeam/UnalixAndroid/releases + +AutoName: Unalix + +RepoType: git +Repo: https://github.com/AmanoTeam/UnalixAndroid + +Builds: + - versionName: 0.6.1 + versionCode: 7 + commit: v0.6.1 + subdir: app + sudo: + - apt-get update || apt-get update + - apt-get install -y openjdk-11-jdk-headless + - update-alternatives --auto java + gradle: + - yes + srclibs: + - Nim@v1.6.2 + - Nim-csources@561b417 + prebuild: sed -i '/splits {/,/^ }/d' build.gradle + build: + - export TOOL_DIR=$(realpath ./src/main/jni/tool) + - cp --recursive $$Nim-csources$$ $$Nim$$/csources_v1 + - cd $$Nim$$/csources_v1 + - make --jobs + - cd .. + - ./bin/nim compile ./koch.nim + - ./koch boot + - ./koch nimble + - export PATH=$(realpath ./bin):${PATH} + - cd ${TOOL_DIR} + - nimble install --define:ssl --accept + - ./tool download pcre + - chmod 777 --recursive ../pcre + - ./tool build pcre --architecture:arm + - ./tool build pcre --architecture:arm64 + - ./tool build pcre --architecture:i386 + - ./tool build pcre --architecture:amd64 + - ./tool download libressl + - chmod 777 --recursive ../libressl + - ./tool patch libressl + - ./tool build libressl --architecture:arm + - ./tool build libressl --architecture:arm64 + - ./tool build libressl --architecture:i386 + - ./tool build libressl --architecture:amd64 + - ./tool build wrapper --architecture:arm + - ./tool build wrapper --architecture:arm64 + - ./tool build wrapper --architecture:i386 + - ./tool build wrapper --architecture:amd64 + ndk: r23b + +AutoUpdateMode: Version +UpdateCheckMode: Tags +CurrentVersion: 0.6.1 +CurrentVersionCode: 7 diff --git a/srclibs/Nim-csources.yml b/srclibs/Nim-csources.yml new file mode 100644 index 0000000000..f9b2e496bb --- /dev/null +++ b/srclibs/Nim-csources.yml @@ -0,0 +1,2 @@ +RepoType: git +Repo: https://github.com/nim-lang/csources_v1.git diff --git a/srclibs/Nim.yml b/srclibs/Nim.yml new file mode 100644 index 0000000000..fb37d55b55 --- /dev/null +++ b/srclibs/Nim.yml @@ -0,0 +1,2 @@ +RepoType: git +Repo: https://github.com/nim-lang/Nim.git