mirror of https://gitlab.com/openlp/packaging.git
Use the release tarball, add an AppData xml and minor adjustments.
This commit is contained in:
parent
ec60e4ca1d
commit
69d35bb317
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
OPENLP_VERSION=3.1.0
|
||||||
|
OPENLP_PACK_REVISION=1
|
||||||
|
BUNDLE_VERSION=${OPENLP_VERSION}-${OPENLP_PACK_REVISION}
|
||||||
|
|
||||||
# checkout the flathub shared-modules, needed for the VLC build
|
# checkout the flathub shared-modules, needed for the VLC build
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
|
@ -19,5 +23,9 @@ if [ ! -f "flatpak-pip-generator" ]; then
|
||||||
fi
|
fi
|
||||||
python flatpak-pip-generator --requirements-file requirements.txt
|
python flatpak-pip-generator --requirements-file requirements.txt
|
||||||
|
|
||||||
# Finally do the build
|
# Finally do the build, install for the user and into a repo in the repo-folder
|
||||||
flatpak-builder --user --install --force-clean openlp-flatpak-builddir org.openlp.OpenLP.yml
|
flatpak-builder --user --install --force-clean --repo=repo openlp-flatpak-builddir org.openlp.OpenLP.yml
|
||||||
|
|
||||||
|
# create flatpak bundle file
|
||||||
|
echo "Bundle into a flatpak file, this can take a while..."
|
||||||
|
flatpak build-bundle repo openlp-${BUNDLE_VERSION}.flatpak org.openlp.OpenLP
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>org.openlp.OpenLP</id>
|
||||||
|
<launchable type="desktop-id">org.openlp.OpenLP.desktop</launchable>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<name>OpenLP</name>
|
||||||
|
<summary>OpenLP - Church presentation software</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
OpenLP is a free and open source cross-platform presentation tool
|
||||||
|
useful for churches. It provides presentation features for songs,
|
||||||
|
scriptures, media and more.
|
||||||
|
NOTE: This distribution does not provide LibreOffice integration.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<categories>
|
||||||
|
<category>Presentation</category>
|
||||||
|
<category>Video</category>
|
||||||
|
<category>AudioVideo</category>
|
||||||
|
<category>Player</category>
|
||||||
|
<category>Spirituality</category>
|
||||||
|
<category>Music</category>
|
||||||
|
</categories>
|
||||||
|
<content_rating type="oars-1.1" />
|
||||||
|
<url type="homepage">https://www.openlp.org/</url>
|
||||||
|
<url type="bugtracker">https://gitlab.com/openlp/openlp/-/issues</url>
|
||||||
|
<url type="donation">https://openlp.org/contribute</url>
|
||||||
|
<releases>
|
||||||
|
<release version="3.1.0-1" date="2024-02-29"/>
|
||||||
|
</releases>
|
||||||
|
<project_group>OpenLP</project_group>
|
||||||
|
<project_license>GPL-3.0+</project_license>
|
||||||
|
<developer_name>OpenLP et al.</developer_name>
|
||||||
|
<update_contact></update_contact>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default"><image type="source">https://openlp.org/screenshots/mainwindow.png</image></screenshot>
|
||||||
|
</screenshots>
|
||||||
|
</component>
|
|
@ -37,5 +37,5 @@ modules:
|
||||||
- mkdir -p /app/share/icons/hicolor/scalable/apps/ && cp resources/images/openlp-logo.svg /app/share/icons/hicolor/scalable/apps/org.openlp.OpenLP.svg
|
- mkdir -p /app/share/icons/hicolor/scalable/apps/ && cp resources/images/openlp-logo.svg /app/share/icons/hicolor/scalable/apps/org.openlp.OpenLP.svg
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://gitlab.com/openlp/openlp/-/archive/e5e8bc4164513ff4858b125c5efc2c157d758ea5/openlp-e5e8bc4164513ff4858b125c5efc2c157d758ea5.tar.gz
|
url: https://gitlab.com/openlp/openlp/-/archive/3.1.0/openlp-3.1.0.tar.gz
|
||||||
sha256: 5de48fb834cd831216ceb97f43846517cf427a85254236057ba20127288c2284
|
sha256: d40baf9698d84fbcaf1cc3624aca3c157de6e25dbf8b09f54037cd98632ec939
|
||||||
|
|
Loading…
Reference in New Issue