]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
guix: fix riscv64 builds, remove squashfs-tools
authortobtoht <tob@featherwallet.org>
Sun, 6 Oct 2024 19:14:33 +0000 (21:14 +0200)
committertobtoht <tob@featherwallet.org>
Sun, 6 Oct 2024 19:57:18 +0000 (21:57 +0200)
contrib/guix/libexec/build.sh
contrib/guix/manifest.scm

index ec0fd3cb10d3320a8f75c816defb10b936b1f489..1ad3e8a53e41082868b94308e102c92c49f99aaa 100755 (executable)
@@ -477,12 +477,18 @@ mkdir -p "$DISTSRC"
                                 || ( rm -f "${OUTDIR}/${DISTNAME}-linux${LINUX_ARCH}${ANONDIST}.zip" && exit 1 )
                             ;;
                     esac
-                    find . -name "*.AppImage" -print0 \
-                        | xargs -0r touch --no-dereference --date="@${SOURCE_DATE_EPOCH}"
-                    find . -name "*.AppImage" \
-                        | sort \
-                        | zip -X@ "${OUTDIR}/${DISTNAME}-linux${LINUX_ARCH}-appimage${ANONDIST}.zip" \
-                        || ( rm -f "${OUTDIR}/${DISTNAME}-linux${LINUX_ARCH}-appimage${ANONDIST}.zip" && exit 1 )
+                    case "$HOST" in
+                        riscv64-*)
+                            ;;
+                        *)
+                            find . -name "*.AppImage" -print0 \
+                                | xargs -0r touch --no-dereference --date="@${SOURCE_DATE_EPOCH}"
+                            find . -name "*.AppImage" \
+                                | sort \
+                                | zip -X@ "${OUTDIR}/${DISTNAME}-linux${LINUX_ARCH}-appimage${ANONDIST}.zip" \
+                                || ( rm -f "${OUTDIR}/${DISTNAME}-linux${LINUX_ARCH}-appimage${ANONDIST}.zip" && exit 1 )
+                            ;;
+                    esac
                 else
                     find . -print0 \
                         | xargs -0r touch --no-dereference --date="@${SOURCE_DATE_EPOCH}"
index 2fdab5d1ea2fe642f8bc5bf9dc4767c5e4f95aa3..76fb53431786cb8588b8c2d06a6c85ace36de5cf 100644 (file)
@@ -294,7 +294,6 @@ chain for " target " development."))
         bison
         gperf
         gettext-minimal
-        squashfs-tools
         cmake-minimal
         meson
         ninja