Gadgetbridge: fix 0.59.0

This commit is contained in:
linsui 2021-07-27 19:05:34 +08:00
parent 183382ca66
commit 0c3db9711a
3 changed files with 22 additions and 16 deletions

View File

@ -11,22 +11,6 @@ Changelog: https://codeberg.org/Freeyourgadget/Gadgetbridge/src/branch/master/CH
LiberapayID: '11276'
AutoName: Gadgetbridge
Description: |-
Use your Pebble/Mi Band/Amazfit Bip/Hplus device without the vendors closed
source application and without the need to create an account and transmit any of
your data to the vendors servers.
You can get notifications on your wrist and (depending on the device):
* collect data from the device sensors
* control music playing on your android device
* see the weather (no additional app needed on LineageOS or Omnirom, on other ROMS https://f-droid.org/packages/ru.gelin.android.weather.notification is needed)
* get directions (e.g. by using https://f-droid.org/packages/net.osmand.plus)
* sync the workouts GPS tracks with phone (e.g. using the embedded GPS of Amazfit bip)
Gadgetbridge is under active development, for an up to date list of supported
devices and an overview of current features, please refer to the
<a href="https://codeberg.org/Freeyourgadget/Gadgetbridge/src/branch/master/README.md">README</a>.
RepoType: git
Repo: https://codeberg.org/Freeyourgadget/Gadgetbridge.git
@ -1368,6 +1352,24 @@ Builds:
subdir: app
gradle:
- yes
srclibs:
- jerryscript@v2.1.0
- fossil-hr-watchface@71374ce959655a56e71ddf70c626f9feba399a89
rm:
- app/src/main/assets/fossil_hr/*.bin
build:
- pushd $$jerryscript$$
- python3 tools/build.py --jerry-cmdline-snapshot ON
- popd
- pushd $$fossil-hr-watchface$$
- export jerry=$$jerryscript$$/build/bin/jerry-snapshot
- $jerry generate -f '' open_source_watchface.js -o openSourceWatchface.bin
- $jerry generate -f '' widget_date.js -o widgetDate.bin
- $jerry generate -f '' widget_weather.js -o widgetWeather.bin
- $jerry generate -f '' widget_steps.js -o widgetSteps.bin
- $jerry generate -f '' widget_hr.js -o widgetHR.bin
- popd
- mv $$fossil-hr-watchface$$/*.bin src/main/assets/fossil_hr/
AutoUpdateMode: Version %v
UpdateCheckMode: Tags

View File

@ -0,0 +1,2 @@
Repo: https://github.com/arjan-s/fossil-hr-watchface
RepoType: git

2
srclibs/jerryscript.yml Normal file
View File

@ -0,0 +1,2 @@
Repo: https://github.com/jerryscript-project/jerryscript
RepoType: git