# vim: filetype=yaml sw=2
version: '[% c("abbrev") %]'
filename: 'orbot-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
git_hash: '[% c("var/orbot_version") %]-tor-[% c("var/tor_version") %]'
git_url: https://git.torproject.org/orbot.git
git_submodule: 1

var:
  tor_version: 0.3.4.9
  orbot_version: 16.0.5-RC-1
  deps:
    - build-essential
    - autotools-dev
    - unzip
    - zip
    - automake
    - autoconf
    - libtool
    - gettext-base
    - autopoint
  container:
    use_container: 1
  # this should be updated when the list of gradle dependencies is changed
  gradle_dependencies_version: 1

targets:
  android:
    var:
      arch_deps:
        - openjdk-8-jdk

input_files:
  - project: container-image
  - name: '[% c("var/compiler") %]'
    project: '[% c("var/compiler") %]'
  - filename: 0001-Bug-28051-Build-Orbot-as-a-library.patch
  - filename: 0002-Bug-28051-Exclude-the-AppUpdater.patch
  - filename: 0003-Bug-28051-Delete-the-Onboarding-activity.patch
  - filename: 0004-Bug-28051-Rename-the-Hidden-Service-content-provider.patch
  - filename: 0005-Bug-28051-Cast-the-layout-elements.patch
  - filename: 0006-Bug-28051-Don-t-use-Orbot-s-LocaleHelper-for-locale-.patch
  - filename: 0007-Bug-28051-Rename-Orbot-s-preferences-so-they-don-t-c.patch
  - filename: 0008-Bug-28051-Make-TorService-compatible-with-the-suppor.patch
  - filename: 0009-Bug-28051-Change-Orbot-s-behavior-for-Tor-Browser.patch
  - filename: 0010-Bug-28051-Rename-Orbot-as-Tor-Browser.patch
  - filename: 0011-Bug-28051-Tell-Proguard-it-should-keep-an-unused-met.patch
  - filename: 0012-Bug-28051-Escape-the-apostrophe-correctly.patch
  - filename: 0013-Bug-28051-Add-a-notification-compatibility-class.patch
  - filename: 0014-Bug-29794-Update-built-in-bridges.patch
  - filename: set_gradle_repo_to_local.patch
  - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
    name: gradle-dependencies
    exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
