Categories:
  - Writing
  - Security
License: Apache-2.0
AuthorName: Guardian Project
AuthorEmail: support@guardianproject.info
AuthorWebSite: https://guardianproject.info
WebSite: https://guardianproject.info
SourceCode: https://github.com/guardianproject/notecipher
IssueTracker: https://github.com/guardianproject/notecipher/issues
LiberapayID: '33617'
Bitcoin: 1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk

AutoName: NoteCipher
Description: |-
    Simple app for taking notes that encrypts everything behind a password.

    Status: Unmaintained.

RepoType: git
Repo: https://github.com/guardianproject/notecipher.git

Builds:
  - versionName: '0.1'
    versionCode: 12
    commit: 8afa912172ce
    subdir: app
    srclibs:
      - 2:ActionBarSherlock@4a79d
      - 3:NumberPicker-SimonVT@b4562
      - 1:Cacheword@d49c128bb
      - IOCipher@v0.1
    prebuild:
      - wget https://s3.amazonaws.com/sqlcipher/SQLCipher+for+Android+v2.2.2.zip
      - rm $$Cacheword$$/libs/iocipher.jar
      - $$SDK$$/tools/android update project -p $$Cacheword$$ -l ../../IOCipher
    build:
      - unzip SQLCipher+for+Android+v2.2.2.zip
      - cp -R SQLCipherforAndroidv2.2.2/libs/* libs/
      - cp -R SQLCipherforAndroidv2.2.2/assets/* assets/
      - rm libs/guava-r09.jar
      - cp libs/android-support-v4.jar $$Cacheword$$/libs/
      - cp libs/android-support-v4.jar $$ActionBarSherlock$$/libs/
      - cp libs/sqlcipher.jar $$Cacheword$$/libs/

  - versionName: '0.1'
    versionCode: 13
    disable: not ready for release
    commit: ae993855a070df642e6022e4c8431bbb798d544b
    subdir: app
    submodules: true
    srclibs:
      - SQLCipher@v3.1.0
    rm:
      - app/libs/x86/*.so
      - app/libs/armeabi/*.so
    prebuild:
      - sh ../setup-ant.sh
      - cp libs/android-support-v4.jar ../external/actionbarsherlock/actionbarsherlock/libs/android-support-v4.jar
      - cp libs/android-support-v4.jar ../external/cacheword/cachewordlib/libs/android-support-v4.jar
      - pushd $$SQLCipher$$
      - make init
      - make
      - popd
      - cp -fR $$SQLCipher$$/libs ./ cp -fR $$SQLCipher$$/assets ./
    scandelete:
      - external/actionbarsherlock/actionbarsherlock-samples

MaintainerNotes: |-
    * Upstream is not yet ready
    * NoteCipher Library has jars
    * NoteCipher's submodules include this repo: circular submodules?

AutoUpdateMode: None
UpdateCheckMode: RepoManifest
CurrentVersion: '0.1'
CurrentVersionCode: 13