AntiFeatures:
  - UpstreamNonFree
Categories:
  - Multimedia
License: GPL-3.0-only
SourceCode: https://github.com/zaren678/Hdhomerun-signal-meter
IssueTracker: https://github.com/zaren678/Hdhomerun-signal-meter/issues

AutoName: Hdhomerun Signal Meter
Description: |-
    Discover, tune, and perform a channel scan on your Hdhomerun device — a sort of
    network attached TV tuner. The signal strengths and data rates will be displayed
    for the channel tuned to.

    The proprietary Google Admob binary was removed before building.

RepoType: git
Repo: https://github.com/zaren678/Hdhomerun-signal-meter

Builds:
  - versionName: '1.2'
    versionCode: 10
    commit: dac4a9884c
    subdir: Hdhomerun-signal-meter
    srclibs:
      - MeterLib@f0ff73425a
      - MobAdMob@2d5736
    rm:
      - Hdhomerun-signal-meter/libs/GoogleAdMobAdsSdk-6.1.0.jar
    prebuild:
      - echo "android.library.reference.2=$$MobAdMob$$" >> project.properties
      - sed -i 's@\(android.library.reference.1=\).*@\1$$MeterLib$$@' project.properties
      - rm -rf $$MeterLib$$/libs/
      - $$NDK$$/ndk-build -C $$MeterLib$$

  - versionName: '1.21'
    versionCode: 11
    commit: e9ec1755b
    subdir: Hdhomerun-signal-meter
    srclibs:
      - MeterLib@f0ff73425a
      - MobAdMob@2d5736
    rm:
      - Hdhomerun-signal-meter/libs/GoogleAdMobAdsSdk-6.1.0.jar
    prebuild:
      - echo "android.library.reference.2=$$MobAdMob$$" >> project.properties
      - sed -i 's@\(android.library.reference.1=\).*@\1$$MeterLib$$@' project.properties
      - rm -rf $$MeterLib$$/libs/
      - $$NDK$$/ndk-build -C $$MeterLib$$

  - versionName: '1.24'
    versionCode: 14
    commit: ee6851bcbc
    subdir: Hdhomerun-signal-meter
    srclibs:
      - MeterLib@f36ff32c3
      - MobAdMob@2d5736
    rm:
      - Hdhomerun-signal-meter/libs/GoogleAdMobAdsSdk-6.1.0.jar
    prebuild:
      - echo "android.library.reference.2=$$MobAdMob$$" >> project.properties
      - sed -i 's@\(android.library.reference.1=\).*@\1$$MeterLib$$@' project.properties
      - rm -rf $$MeterLib$$/libs/
      - $$NDK$$/ndk-build -C $$MeterLib$$

  - versionName: '1.25'
    versionCode: 15
    disable: play-services-ads

AutoUpdateMode: None
UpdateCheckMode: RepoManifest
CurrentVersion: '1.25'
CurrentVersionCode: 15