summaryrefslogtreecommitdiff
path: root/solenv/bin/assemble-flatpak-desktop.sh
AgeCommit message (Collapse)Author
2020-05-01Restructure solenv/bin/assemble-flatpak.shStephan Bergmann
...so that parts of it can be reused by the Flatpak build done from Fedora RPMs (see <https://src.fedoraproject.org/flatpaks/libreoffice>). The reused parts are split out into solenv/bin/assemble-flatpak-*.sh files. (I can't remember any specific reason why I added the <releases> section to the Flathub org.libreoffice.LibreOffice.appdata.xml; maybe just because the file format allows for it and it appeared easy to generate the section when writing the file. For the Fedora LO RPMs, none of the existing appdata.xml files contained such a section, and generating one for the Fedora Flatpak case would require obtaining values for those LIBO_VERSION_* variables, so I just added a switch to solenv/bin/assemble-flatpak-appdata-step1.sh allowing not to write that section at all. Splitting solenv/bin/assemble-flatpak-appdata.sh in two steps is necessary because the Fedora Flatpak case wants to replace the screenshots in the first part of the generated org.libreoffice.LibreOffice.appdata.xml, but not in the appended original appdata.xml files, so needs to hook in between those two steps.) Change-Id: Ic527f3d88ccbee85e86dad3569b8e73776adf273 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93260 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>