summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2023-09-10 03:07:42 +0200
committer Willy Sudiarto Raharjo2023-09-16 19:10:14 +0200
commit2c3cd0684c8a5876b46f3d71fbf92bb47a6be3eb (patch)
treead364842f5ed01b7f2c50384304f4670c2571bb9
parentb64e3f67b8e2fe34bb31fbda68c75d970baf005b (diff)
downloadslackbuilds-2c3cd0684c8a5876b46f3d71fbf92bb47a6be3eb.tar.gz
system/wezterm: Fix 64bit build.
Also fix the URL for the image-rs/image download that I mangled during the submission checks. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/wezterm/wezterm.SlackBuild4
-rw-r--r--system/wezterm/wezterm.info2
2 files changed, 5 insertions, 1 deletions
diff --git a/system/wezterm/wezterm.SlackBuild b/system/wezterm/wezterm.SlackBuild
index 41ddc4bbf3..0877084da7 100644
--- a/system/wezterm/wezterm.SlackBuild
+++ b/system/wezterm/wezterm.SlackBuild
@@ -56,15 +56,19 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then
SLKCFLAGS="-O2 -fPIC"
CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
CARGOTARGET=""
+ LIBDIRSUFFIX=""
fi
set -e
diff --git a/system/wezterm/wezterm.info b/system/wezterm/wezterm.info
index 3a4ab76765..a7ef0d6ffa 100644
--- a/system/wezterm/wezterm.info
+++ b/system/wezterm/wezterm.info
@@ -6,7 +6,7 @@ DOWNLOAD="https://github.com/wez/wezterm/archive/refs/tags/20230712-072601-f4abf
https://github.com/madler/zlib/archive/refs/tags/v1.2.11/zlib-1.2.11.tar.gz \
https://github.com/glennrp/libpng/archive/8439534daa1d3a5705ba92e653eda9251246dd61/libpng-8439534daa1d3a5705ba92e653eda9251246dd61.tar.gz \
https://github.com/wez/freetype2/archive/e4586d960f339cf75e2e0b34aee30a0ed8353c0d/freetype2-e4586d960f339cf75e2e0b34aee30a0ed8353c0d.tar.gz \
- https://github.com/image-rs/image/archive/fe069785ae245a2c510fd724ef96da283b05a236/image-fe06978fe069785ae245a2c510fd724ef96da283b05a236.tar.gz \
+ https://github.com/image-rs/image/archive/fe069785ae245a2c510fd724ef96da283b05a236/image-fe069785ae245a2c510fd724ef96da283b05a236.tar.gz \
https://github.com/rust-x-bindings/rust-xcb/archive/dbdaa01c178c6fbe68bd51b7ad44c08172181083/rust-xcb-dbdaa01c178c6fbe68bd51b7ad44c08172181083.tar.gz \
https://github.com/wez/xcb-imdkit-rs/archive/e59e4a6df065b702e0c22fa2dcea00bd8301a446/xcb-imdkit-rs-e59e4a6df065b702e0c22fa2dcea00bd8301a446.tar.gz \
https://github.com/fcitx/xcb-imdkit/archive/30e2f16f9a8b0e338e25ce5e3643809a07ad41f0/xcb-imdkit-30e2f16f9a8b0e338e25ce5e3643809a07ad41f0.tar.gz \