-
Notifications
You must be signed in to change notification settings - Fork 48
Fdroid Build
Olanrewaju Collins edited this page Nov 1, 2020
·
1 revision
To build dcrandroid for fdroid:
Install fdroidserver
& clone fdroiddata
: https://gitlab.com/fdroid/fdroiddata/blob/master/CONTRIBUTING.md#setting-up-fdroiddata-for-merge-requests.
In fdroiddata/metadata
directory, create com.decred.dcrandroid.testnet.yml
file that will hold details and build configuration for dcrandroid then save this configuration in it:
License: ISC
Categories:
- Money
SourceCode: https://github.com/planetdecred/dcrandroid
IssueTracker: https://github.com/planetdecred/dcrandroid/issues
RepoType: git
Repo: https://github.com/planetdecred/dcrandroid
Builds:
- versionName: v1.5.2
versionCode: 3
commit: 0d057e88e7aded0883fe044acbcc26b6ffde5cf4
subdir: app
scanignore:
- app/libs
gradle:
- yes
prebuild:
- cd ..
- ./dcrlibwallet-ci-build.sh
- echo 'done building dcrlibwallet' && cd app
output: build/outputs/apk/tstnet/release/app-tstnet-release-unsigned.apk
AutoUpdateMode: None
UpdateCheckMode: Tags
Run the following cmds in fdroiddata directory to validate the metadata and test the build:
fdroid readmeta com.decred.dcrandroid.testnet // validate metadata
fdroid rewritemeta com.decred.dcrandroid.testnet // cleanup metadata
fdroid lint com.decred.dcrandroid.testnet // check for errors in metadata
fdroid build -v -l com.decred.dcrandroid.testnet // test build