Categories:
  - System
License: GPL-2.0-or-later
SourceCode: https://github.com/IvanVolosyuk/diskusage
IssueTracker: https://github.com/ivanvolosyuk/diskusage/issues

AutoName: DiskUsage
Description: |-
    Visually explore used and free space on internal and external storage.

    ''DiskUsage'' provides a way to find files and directories on storage card which
    consume a lot of space. It displays a diagram with directories/subdirectories
    shown proportional to their size.

    Press MENU for actions.

    Integrates with OI FileManager and Solid Explorer.

RepoType: git
Repo: https://github.com/IvanVolosyuk/diskusage.git

Builds:
  - versionName: 2.0.4
    versionCode: 2004
    commit: d3c0dc5bafdb
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/

  - versionName: 2.0.5
    versionCode: 2005
    commit: cb8e91528207
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/

  - versionName: 2.1.3
    versionCode: 2103
    commit: 296d3317a49d
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/

  - versionName: '3.1'
    versionCode: 3010
    commit: f97462007110
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/

  - versionName: '3.2'
    versionCode: 3020
    commit: dfcba57e1d92
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/

  - versionName: 3.2.1
    versionCode: 3021
    commit: 1ac11c9696b6
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/
    buildjni:
      - yes

  - versionName: '3.4'
    versionCode: 3040
    commit: bb21ead5dd0f
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/
    buildjni:
      - yes

  - versionName: 3.4.2
    versionCode: 3042
    commit: 23bce9d7fc7b
    patch:
      - ndk-out.patch
    rm:
      - jni/scan
      - assets/scan
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/
    buildjni:
      - yes

  - versionName: 3.4.3
    versionCode: 3043
    disable: Build system issue, see maintainer notes
    commit: 9a06fa318639
    patch:
      - ndk-out.patch
    rm:
      - jni/scan
      - assets/scan
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/
    buildjni:
      - yes

  - versionName: 3.7.1
    versionCode: 3071
    disable: how is scan5 built?
    commit: 9b73d3a94249f4366e06532f03cd6cf26e2eb2d9
    patch:
      - ndk-out.patch
    rm:
      - jni/scan
      - assets/scan*
    prebuild:
      - mkdir libs
      - cp extra/system.jar libs/
    scanignore:
      - res/raw/mimes
    build: $$NDK$$/ndk-build

  - versionName: 3.8.0
    versionCode: 3080
    commit: 471f435ef84b5a3a0c0d5d10d7c2d6ce012fe5a0
    subdir: app
    patch:
      - scan5-recipe.patch
      - system-jar-sources.patch
    gradle:
      - yes
    rm:
      - jni/scan
      - app/src/main/assets/scan*
      - app/src/main/extra/system.jar
    scanignore:
      - app/src/main/res/raw/mimes
    build: $$NDK$$/ndk-build

  - versionName: 4.0.2
    versionCode: 4002
    disable: only for oreo? https://github.com/IvanVolosyuk/diskusage/issues/50
    commit: 64479bf235365b7818cc3bfb3a635fd687028ae6
    subdir: app
    patch:
      - scan5-recipe.patch
      - system-jar-sources.patch
    gradle:
      - yes
    rm:
      - jni/scan
      - app/src/main/assets/scan*
      - app/src/main/extra/system.jar
    scanignore:
      - app/src/main/res/raw/mimes
    build: $$NDK$$/ndk-build

MaintainerNotes: |-
    The system.jar is from AOSP - see extra/system.jar.README and
    [https://github.com/ivanvolosyuk/diskusage/issues/19]

AutoUpdateMode: None
UpdateCheckMode: RepoManifest
CurrentVersion: 4.0.2
CurrentVersionCode: 4002
