android/README.md                                             |   14 ++++++++++
 android/source/src/main/play/listings/en-US/graphics/icon.png |    1 
 2 files changed, 15 insertions(+)

New commits:
commit 6460b76852b69f428ed26aba3877e9853ec22555
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Thu May 16 09:26:44 2024 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Thu May 16 21:45:49 2024 +0200

    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.wegh...@posteo.de>
    Tested-by: Jenkins
    (cherry picked from commit 69189de8fa9a9d4973a4304a82780d32e79fbe6f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167679
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

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

Reply via email to