From f2b981e28880d893df93ffa93550117a40ce499a Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 11 Jul 2021 12:57:56 -0400 Subject: [PATCH] Bundle appdata XML in appimage --- packaging/appimage/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/appimage/build.sh b/packaging/appimage/build.sh index e1389506..3c0a8123 100755 --- a/packaging/appimage/build.sh +++ b/packaging/appimage/build.sh @@ -38,6 +38,7 @@ setup_dns() { install_apt_packages() { apt install -y software-properties-common add-apt-repository -y ppa:beineri/opt-qt-5.12.9-xenial + add-apt-repository -y ppa:beineri/opt-qt-5.12.9-xenial apt update -y apt install -y \ @@ -52,7 +53,7 @@ install_apt_packages() { libtiff5-dev liblcms2-dev libwebp-dev libopenjp2-7-dev \ libx11-dev libxss-dev libasound2-dev \ pkg-config libdbus-1-dev libglib2.0-dev \ - desktop-file-utils # for appimage-lint.sh + appstream-util desktop-file-utils # for appimage-lint.sh /usr/sbin/update-ccache-symlinks } @@ -173,6 +174,9 @@ complete_appdir() { ~/linuxdeployqt.AppImage appdir/usr/share/applications/mirage.desktop \ -bundle-non-qt-libs -qmldir=../src/gui + mkdir -p appdir/usr/share/metainfo + cp ~/mirage/packaging/mirage.appdata.xml appdir/usr/share/metainfo + cp /opt/qt512/qml/io/thp/pyotherside/qmldir \ appdir/usr/qml/io/thp/pyotherside