appslist update and fixes
diff --git a/update.sh b/update.sh
index ceeba00..9e220cc 100755
--- a/update.sh
+++ b/update.sh
@@ -4,6 +4,7 @@
repo="https://f-droid.org/repo/"
reponano="https://nanolx.org/fdroid/repo/"
repomicrog="https://microg.org/fdroid/repo/"
+repobromite="https://fdroid.bromite.org/fdroid/repo/"
addCopy() {
cat >> Android.mk <<EOF
@@ -67,42 +68,39 @@
while ! wget --connect-timeout=10 $repomicrog/$apk -O bin/$apk;do sleep 1;done
addCopy $apk $1 "$2"
}
+#downloadFromFdroid packageName overrides
+downloadFromBromite() {
+ mkdir -p tmp
+ if [ ! -f tmp/index.xml ];then
+ #TODO: Check security keys
+ wget --connect-timeout=10 $repobromite/index.jar -O tmp/index.jar
+ unzip -p tmp/index.jar index.xml > tmp/index.xml
+ fi
+ marketvercode="$(xmlstarlet sel -t -m '//application[id="'"$1"'"]' -v ./marketvercode tmp/index.xml || true)"
+ apk="$(xmlstarlet sel -t -m '//application[id="'"$1"'"]/package[versioncode="'"$marketvercode"'"]' -v ./apkname tmp/index.xml || xmlstarlet sel -t -m '//application[id="'"$1"'"]/package[1]' -v ./apkname tmp/index.xml)"
+ while ! wget --connect-timeout=10 $repobromite/$apk -O bin/$apk;do sleep 1;done
+ addCopy $apk $1 "$2"
+}
downloadFromFdroid org.fdroid.fdroid
-#phh's Superuser
-#downloadFromFdroid me.phh.superuser
+
#YouTube viewer
downloadFromFdroid org.schabi.newpipe
#QKSMS
downloadFromFdroid com.moez.QKSMS "messaging"
-#Ciphered SMS
-#downloadFromFdroid org.smssecure.smssecure "messaging"
+
#Navigation
downloadFromFdroid net.osmand.plus
-#Web browser
-#downloadFromFdroid org.mozilla.fennec_fdroid "Browser2 QuickSearchBox"
-downloadFromFdroid acr.browser.lightning "Browser2 QuickSearchBox Jelly"
+
#Calendar
downloadFromFdroid ws.xsoh.etar "Calendar"
-#Public transportation
-downloadFromFdroid de.grobox.liberario
-#Pdf viewer
-#downloadFromFdroid com.artifex.mupdf.viewer.app
+
#Keyboard/IME
downloadFromFdroid com.menny.android.anysoftkeyboard "LatinIME OpenWnn"
#Play Store download
-#downloadFromFdroid com.github.yeriomin.yalpstore
-#Mail client
-downloadFromFdroid com.fsck.k9 "Email"
-#Ciphered Instant Messaging
-#downloadFromFdroid im.vector.alpha
-#Calendar/Contacts sync
-#downloadFromFdroid at.bitfire.davdroid
-#Nextcloud client
-#downloadFromFdroid com.nextcloud.client
-#Lawnchair launcher
-#downloadFromFdroid ch.deletescape.lawnchair.plah "Launcher3QuickStep Launcher2 Launcher3 TrebuchetQuickStep"
+downloadFromFdroid com.aurora.store
+
#Phonograph
downloadFromFdroid com.kabouzeid.gramophone "Eleven"
#Alarmio
@@ -111,11 +109,16 @@
downloadFromFdroid com.simplemobiletools.gallery.pro "Gallery2"
#Simple Calculator
downloadFromFdroid com.simplemobiletools.calculator "ExactCalculator"
+#Dejavu Nlp
+downloadFromFdroid org.fitchfamily.android.dejavu
+#UnifiedNlp
+downloadFromFdroid com.google.android.gms
+#Nominatim Nlp
+downloadFromFdroid org.microg.nlp.backend.nominatim
rm -rf tmp/index.xml
rm -rf tmp/index.jar
-#playstore
-downloadFromNanodroid com.android.vending
+
#MPV
downloadFromNanodroid is.xyz.mpv
rm -rf tmp/index.xml
@@ -126,10 +129,13 @@
downloadFrommicrog org.microg.gms.droidguard
#MicroG services framework proxy
downloadFrommicrog com.google.android.gsf
-#dejavu location
-#downloadFrommicrog org.fitchfamily.android.dejavu
-#UnifiedNlp
-#downloadFrommicrog org.microg.unifiednlp
+
+rm -rf tmp/index.xml
+rm -rf tmp/index.jar
+#Web browser
+downloadFromBromite org.bromite.bromite "Browser2 QuickSearchBox Jelly"
+
+
#TODO: Some social network?
#Facebook? Twitter? Reddit? Mastodon?
echo >> apps.mk