com.controlloid.yml 4.56 KB
Newer Older
Alexandru Damian Manea's avatar
Alexandru Damian Manea committed
1 2 3 4
Categories:
  - Connectivity
  - Games
License: GPL-3.0-only
5 6
AuthorName: Alexandru Damian Manea
AuthorEmail: maneaalexdamian@gmail.com
Alexandru Damian Manea's avatar
Alexandru Damian Manea committed
7 8
SourceCode: https://github.com/experiment322/controlloid-client
IssueTracker: https://github.com/experiment322/controlloid-client/issues
9
Changelog: https://raw.githubusercontent.com/experiment322/controlloid-client/HEAD/CHANGELOG.md
Alexandru Damian Manea's avatar
Alexandru Damian Manea committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
LiberapayID: '1571871'

AutoName: Controlloid

RepoType: git
Repo: https://github.com/experiment322/controlloid-client

Builds:
  - versionName: 1.0.0
    versionCode: 8
    commit: v1.0.0
    subdir: android/app
    sudo:
      - apt-get update
      - apt-get install -y -t stretch-backports npm
    init: npm install
    gradle:
      - yes
    prebuild: truncate -s 0 ../../node_modules/@react-native-community/cli/build/commands/server/external/xsel
    scanignore:
      - android/build.gradle
      - node_modules/react-native-svg/android/build.gradle
      - node_modules/react-native-screens/android/build.gradle
    scandelete:
      - node_modules

F-Droid Bot's avatar
F-Droid Bot committed
36 37 38 39 40
  - versionName: 1.1.0
    versionCode: 9
    commit: v1.1.0
    subdir: android/app
    sudo:
Licaon_Kter's avatar
Licaon_Kter committed
41
      - apt-get update || apt-get update
F-Droid Bot's avatar
F-Droid Bot committed
42 43 44 45 46 47 48 49 50 51 52 53
      - apt-get install -y -t stretch-backports npm
    init: npm install
    gradle:
      - yes
    prebuild: truncate -s 0 ../../node_modules/@react-native-community/cli/build/commands/server/external/xsel
    scanignore:
      - android/build.gradle
      - node_modules/react-native-svg/android/build.gradle
      - node_modules/react-native-screens/android/build.gradle
    scandelete:
      - node_modules

F-Droid Bot's avatar
F-Droid Bot committed
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
  - versionName: 1.1.1
    versionCode: 10
    commit: v1.1.1
    subdir: android/app
    sudo:
      - apt-get update || apt-get update
      - apt-get install -y -t stretch-backports npm
    init: npm install
    gradle:
      - yes
    prebuild: truncate -s 0 ../../node_modules/@react-native-community/cli/build/commands/server/external/xsel
    scanignore:
      - android/build.gradle
      - node_modules/react-native-svg/android/build.gradle
      - node_modules/react-native-screens/android/build.gradle
    scandelete:
      - node_modules

F-Droid Bot's avatar
F-Droid Bot committed
72 73 74
  - versionName: 1.2.0
    versionCode: 11
    commit: v1.2.0
75
    timeout: 20000
F-Droid Bot's avatar
F-Droid Bot committed
76 77 78
    subdir: android/app
    sudo:
      - apt-get update || apt-get update
79 80 81
      - apt-get install -y bubblewrap cmake g++ git ninja-build python3 zip libicu-dev
        libreadline-dev
      - bash -c "echo fs.inotify.max_user_watches=524288 >> /etc/sysctl.conf"
82 83
      - apt-get install -y -t stretch-backports npm
      - npm install -g npm@6.13.0
84 85 86 87 88 89 90 91 92 93 94 95
      - sysctl -p
    init:
      - pushd ../..
      - npm install
      - rm -vrf node_modules/react-native/template
      - truncate -s 0 node_modules/react-native/node_modules/@react-native-community/cli/build/commands/server/external/xsel
      - git clone https://github.com/facebook/hermes.git --branch v0.2.1
      - rm -vf hermes/external/flowparser/*.a
      - git clone https://github.com/facebook/flow.git --branch v0.102.0
      - rm -vrf flow/{tests,website}
      - git clone https://github.com/ocaml/opam.git --branch 2.0.5
      - popd
F-Droid Bot's avatar
F-Droid Bot committed
96 97 98 99
    gradle:
      - yes
    scanignore:
      - android/build.gradle
100 101
      - node_modules/@react-native-community/async-storage/android/build.gradle
      - node_modules/react-native-reanimated/android/build.gradle
F-Droid Bot's avatar
F-Droid Bot committed
102
      - node_modules/react-native-screens/android/build.gradle
103
      - node_modules/react-native-svg/android/build.gradle
F-Droid Bot's avatar
F-Droid Bot committed
104 105
    scandelete:
      - node_modules
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
    build:
      - pushd ../..
      - pushd opam
      - make cold CONFIGURE_ARGS="--prefix $(realpath ../opam_build)"
      - make cold-install
      - popd
      - PATH=$PATH:$(realpath opam_build/bin)
      - opam init --no-setup --compiler 4.05.0
      - eval $(opam env)
      - pushd flow
      - opam update
      - opam pin add flowtype . -n
      - opam install -y --deps-only flowtype
      - popd
      - pushd flow/src/parser
      - make dist/libflowparser/lib/libflowparser.a
      - cp -vf dist/libflowparser/lib/libflowparser.a ../../../hermes/external/flowparser/libflowparser-linux.a
      - popd
      - python3 hermes/utils/build/build_llvm.py --distribute
      - python3 hermes/utils/build/configure.py --distribute hermes_build
      - pushd hermes_build_release
      - ninja
      - popd
      - cp -vf hermes_build_release/bin/{hermes,hermes-repl} node_modules/hermes-engine/linux64-bin
      - popd
F-Droid Bot's avatar
F-Droid Bot committed
131

Alexandru Damian Manea's avatar
Alexandru Damian Manea committed
132 133 134 135 136 137
MaintainerNotes: |-
    Use scanignore to allow the "node_modules/react-native/android"
    local Maven repository which contains the React Native library.

AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
138 139
CurrentVersion: 1.2.0
CurrentVersionCode: 11