summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-05-16 09:26:44 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-05-16 12:14:04 +0200
commit69189de8fa9a9d4973a4304a82780d32e79fbe6f (patch)
treefcfa3e015e03cf551f829f3ba1dad0fdc8231c45 /android
parente63fa1ab17a082b14927079cfc04843061024947 (diff)
tdf#157009 android: Add icon symlink for F-Droid
Add a symlink to the app icon at the expected location when using the Triple-T data structure that can be used to provide metadata for F-Droid. [1] As Android Viewer currently uses a non-default directory layout, this currently needs to be placed in a different subdirectory than the actual source code in order for F-Droid to find it, see the discussion in [2] for more details. This should cause the app icon to show up in F-Droid after the next update. [1] https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/#triple-t-structure [2] https://gitlab.com/fdroid/fdroiddata/-/merge_requests/13643#note_1538888683 Change-Id: Ic1a987e430b6e92134ac19d7f1c264953cd3cf0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167732 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'android')
-rw-r--r--android/README.md14
l---------android/source/src/main/play/listings/en-US/graphics/icon.png1
2 files changed, 15 insertions, 0 deletions
diff --git a/android/README.md b/android/README.md
index 919122df38d1..186208c3e118 100644
--- a/android/README.md
+++ b/android/README.md
@@ -310,3 +310,17 @@ Anyway, our current "experimental" apps are not based on `NativeActivity`.
They have normal Java code for the activity, and just call out to a single,
app-specific native library (called `liblo-native-code.so`) to do all the
heavy lifting.
+
+## Triple-T metadata for F-Droid
+
+The subdirectory `source/src/main/play` contains data in the Triple-T
+structure that F-Droid evaluates to extract metadata.
+
+More information:
+<https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/#triple-t-structure>
+
+As Android Viewer currently uses a non-default directory layout,
+this currently needs to be placed in a different subdirectory than
+the actual source code in order for F-Droid to find it, see the
+[related discussion](<https://gitlab.com/fdroid/fdroiddata/-/merge_requests/13643#note_1538888683>)
+for more details.
diff --git a/android/source/src/main/play/listings/en-US/graphics/icon.png b/android/source/src/main/play/listings/en-US/graphics/icon.png
new file mode 120000
index 000000000000..f3e316efb456
--- /dev/null
+++ b/android/source/src/main/play/listings/en-US/graphics/icon.png
@@ -0,0 +1 @@
+../../../../../../ic_launcher-web.png \ No newline at end of file