From 5d694067533e5114658bb874c02e6265a1c9dc64 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 5 Feb 2019 09:16:02 +0000 Subject: [PATCH] New app: Wikivoyage European Travels --- .../org.kiwix.kiwixcustomwikivoyageeurope.yml | 58 +++++++++++++++++++ srclibs/kiwix-android-custom.txt | 2 + 2 files changed, 60 insertions(+) create mode 100644 metadata/org.kiwix.kiwixcustomwikivoyageeurope.yml create mode 100644 srclibs/kiwix-android-custom.txt diff --git a/metadata/org.kiwix.kiwixcustomwikivoyageeurope.yml b/metadata/org.kiwix.kiwixcustomwikivoyageeurope.yml new file mode 100644 index 0000000000..8a52d6481b --- /dev/null +++ b/metadata/org.kiwix.kiwixcustomwikivoyageeurope.yml @@ -0,0 +1,58 @@ +Categories: + - Reading +License: GPL-3.0-only +WebSite: https://www.wikivoyage.org/ +SourceCode: https://github.com/kiwix/kiwix-android +IssueTracker: https://github.com/kiwix/kiwix-android/issues +Changelog: https://github.com/kiwix/kiwix-android/blob/HEAD/CHANGELOG + +Summary: Offline version of the Wikivoyage Travel Guide +Description: |- + Wikivoyage is a free travel guide that allows you to browse all the information you need about every destination in Europe without an internet connection: no roaming fees when you are traveling abroad! + + Wherever you go, get tips about: + * How to get from the airport to the city + * What are the must-see + * What to eat/drink, including a selection of restaurants and bars + * Where to sleep, depending on your budget + * Local customs, how to stay safe, everything you need to know + * Basic phrasebook + + Complete with region/city maps and pictures. + + Wikivoyage is written by volunteers, it is the "Wikipedia of travel guides" and is run by the same non-profit as Wikipedia (Wikimedia). If you notice an error or want to add touristic information, please edit the relevant article at https://en.wikivoyage.org, your contribution will be included in the next release. Powered by Kiwix. + +RepoType: git +Repo: https://github.com/kiwix/kiwix-android + +Builds: + - versionName: 2018-10 + versionCode: 1 + commit: '2.4' + gradle: + - wikivoyage_europe + output: app/build/outputs/apk/wikivoyage_europe/release/app-wikivoyage_europe-release-unsigned.apk + srclibs: + - kiwix-android-custom@d32a92b921b1811b8c3dee3588b77d90de44cdd5 + rm: + - app/src/customexample/ + prebuild: + - mv $$kiwix-android-custom$$/wikivoyage_europe/ app/src/ + - "sed -i -e 's/\"version_name\"/\"version_code\": $$VERCODE$$, \"version_name\"\ + /' -e '/embed_zim/s/false/true/' app/src/wikivoyage_europe/info.json" + - sed -i -e "s/'arm64-v8a', 'armeabi', 'mips', 'mips64', 'x86', 'x86_64'/'armeabi'/" + app/build.gradle + build: wget https://download.kiwix.org/zim/wikivoyage/wikivoyage_en_europe_novid_$$VERSION$$.zim + -O app/src/wikivoyage_europe/content.zim + ndk: r12b + +MaintainerNotes: |- + Upstream info.json does not contain a version code so we set it manually. + + Upstream distributes the content file as an APK expansion file, but we include it in the APK. + Because of this, we only build the armeabi arch because the content file is duplicated for each arch. + +AutoUpdateMode: None +UpdateCheckMode: None +CurrentVersion: 2018-10 +CurrentVersionCode: 1 diff --git a/srclibs/kiwix-android-custom.txt b/srclibs/kiwix-android-custom.txt new file mode 100644 index 0000000000..0dd42973f2 --- /dev/null +++ b/srclibs/kiwix-android-custom.txt @@ -0,0 +1,2 @@ +Repo Type:git +Repo:https://github.com/kiwix/kiwix-android-custom.git