[graphics/krita] packaging/linux/appimage: Fix AppImage's architecture naming

L. E. Segovia null at kde.org
Thu Jul 23 02:06:10 BST 2020


Git commit 05babe088fb94efc21953e50d1926284e5f2772c by L. E. Segovia.
Committed on 23/07/2020 at 01:01.
Pushed by lsegovia into branch 'master'.

Fix AppImage's architecture naming

The dependency jobs are failing because AppImageKit has its own custom
naming. I had added the case arm64 (dpkg) == aarch64 (AppImageKit),
but I missed that amd64 == x86_64.

The rest are OK or are unsupported by AppImageKit.

Please retry the dependency jobs after this commit.

(cherry picked from commit b379c5646265cc903d82f499d14cfbbce5cb0e13)

CCMAIL: kimageshop at kde.org

M  +2    -0    packaging/linux/appimage/build-gmic-qt.sh
M  +2    -0    packaging/linux/appimage/build-image.sh

https://invent.kde.org/graphics/krita/commit/05babe088fb94efc21953e50d1926284e5f2772c

diff --git a/packaging/linux/appimage/build-gmic-qt.sh b/packaging/linux/appimage/build-gmic-qt.sh
index cc10d24000..562e35501a 100755
--- a/packaging/linux/appimage/build-gmic-qt.sh
+++ b/packaging/linux/appimage/build-gmic-qt.sh
@@ -45,6 +45,8 @@ linuxdeployqt $BUILD_PREFIX/gmic_qt_krita.appdir/usr/bin/gmic_krita_qt.desktop -
 # Make sure it has a consistent name too
 if [[ $ARCH == "arm64" ]]; then
   APPIMAGE_ARCHITECTURE="aarch64"
+elif [[ $ARCH == "amd64" ]]; then
+  APPIMAGE_ARCHITECTURE="x86_64"
 else
   APPIMAGE_ARCHITECTURE=$ARCH
 fi
diff --git a/packaging/linux/appimage/build-image.sh b/packaging/linux/appimage/build-image.sh
index 239a290627..81a1a35f02 100755
--- a/packaging/linux/appimage/build-image.sh
+++ b/packaging/linux/appimage/build-image.sh
@@ -200,6 +200,8 @@ linuxdeployqt $APPDIR/usr/share/applications/org.kde.krita.desktop \
 
 if [[ $ARCH == "arm64" ]]; then
   APPIMAGE_ARCHITECTURE="aarch64"
+elif [[ $ARCH == "amd64" ]]; then
+  APPIMAGE_ARCHITECTURE="x86_64"
 else
   APPIMAGE_ARCHITECTURE=$ARCH
 fi


More information about the kimageshop mailing list