summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-05-09 00:41:31 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2024-05-09 02:43:37 +0200
commit3bdf89c18535ee8844fc03665efc1cab22ae61e6 (patch)
treebf3008623fddcbd96e49e4a9deb80e3d00461d1f
parent6e8f0cbf76056f44aac9ebd88b10c18614e3cca2 (diff)
Validate appdata.xml in CI
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--im.nheko.Nheko.yaml4
-rw-r--r--resources/nheko.appdata.xml.in3
3 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b1dea74c..464d0f86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -350,9 +350,13 @@ build-flatpak:
- git config --global protocol.file.allow always
script:
- export VERSION=$(git describe)
+ # workaround for https://github.com/flatpak/flatpak/issues/5076
+ - dbus-send --system /org/freedesktop/DBus org.freedesktop.DBus || dbus-daemon --system --fork
- mkdir -p build-flatpak
- cd build-flatpak
- flatpak-builder --arch=${AARCH} --install-deps-from=flathub --user --disable-rofiles-fuse --ccache --repo=repo --default-branch=${CI_COMMIT_REF_NAME//\//_} --subject="Build of Nheko ${VERSION} `date` for ${ARCH}" app ../im.nheko.Nheko.yaml --jobs=$JOBS
+ - flatpak install --user -y flathub org.flatpak.Builder
+ - flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream app/files/share/app-info/xmls/im.nheko.Nheko.xml.gz
- flatpak --arch=${AARCH} build-bundle repo nheko-${ARCH}.flatpak im.nheko.Nheko ${CI_COMMIT_REF_NAME//\//_}
after_script:
- bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-${ARCH}.flatpak
diff --git a/im.nheko.Nheko.yaml b/im.nheko.Nheko.yaml
index cead580f..6100bb77 100644
--- a/im.nheko.Nheko.yaml
+++ b/im.nheko.Nheko.yaml
@@ -42,9 +42,9 @@ cleanup:
modules:
- name: lmdb
sources:
- - sha256: 8c5a93ac3cc97427c54571ad5a6140b7469389d01e6d2f43df39f96d3a4ccef7
+ - sha256: c0937223bba3c37c896809883a3c9b43049354578b239d6ed2476236a87f40c9
type: archive
- url: https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.30/openldap-LMDB_0.9.30.tar.gz
+ url: https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.32/openldap-LMDB_0.9.32.tar.gz
make-install-args:
- prefix=/app
no-autogen: true
diff --git a/resources/nheko.appdata.xml.in b/resources/nheko.appdata.xml.in
index 51a43927..69a632a1 100644
--- a/resources/nheko.appdata.xml.in
+++ b/resources/nheko.appdata.xml.in
@@ -5,6 +5,9 @@
<launchable type="desktop-id">@APPID@.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
+ <developer id="im.nheko">
+ <name>Nheko Reborn</name>
+ </developer>
<name>nheko</name>
<summary>Desktop client for the Matrix protocol</summary>
<description>