From 3bdf89c18535ee8844fc03665efc1cab22ae61e6 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 9 May 2024 00:41:31 +0200 Subject: [PATCH] Validate appdata.xml in CI --- .gitlab-ci.yml | 4 ++++ im.nheko.Nheko.yaml | 4 ++-- resources/nheko.appdata.xml.in | 3 +++ 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 @@ @APPID@.desktop CC0-1.0 GPL-3.0-or-later + + Nheko Reborn + nheko Desktop client for the Matrix protocol