AntiFeatures:
  - UpstreamNonFree
Categories:
  - Navigation
License: GPL-3.0-only
SourceCode: https://github.com/OnlyInAmerica/BART
IssueTracker: https://github.com/OnlyInAmerica/BART/issues

AutoName: Open BART
Description: |-
    Companion to San Francisco’s BART. It provides real-time station arrivals,
    schedules, and route navigation.

RepoType: git
Repo: https://github.com/OnlyInAmerica/BART.git

Builds:
  - versionName: 0.5.4
    versionCode: 8
    commit: 8ebe6be
    patch:
      - Crittercism.patch
    prebuild:
      - rm libs/crittercism_v2_1_3_crashonly.jar
      - sed -i '40,50d' AndroidManifest.xml
      - sed -i '/Crittercism/d' .classpath
      - sed -i '/Crittercism/d' src/pro/dbro/bart/TheActivity.java
    target: android-17

  - versionName: 0.5.7
    versionCode: 11
    commit: 6c8e5041
    patch:
      - Crittercism2.patch
    prebuild: rm libs/crittercism*.jar
    target: android-17

MaintainerNotes: |-
    Previous comment said "Next version should be built from fdroid branch without
    patches". Except that branch was created, but never updated, so the next version
    isn't in it. Set to Static UCM.

AutoUpdateMode: None
UpdateCheckMode: Static
CurrentVersion: 0.5.7
CurrentVersionCode: 11