diff options
author | Carlen White | 2023-09-27 22:48:03 -0400 |
---|---|---|
committer | Carlen White | 2023-09-27 22:48:03 -0400 |
commit | e55ac3598d791f026226c70680c0ff80477671ed (patch) | |
tree | 4ed4f56d68ed2dfaca88fac157824a2c13b05f4c | |
parent | 29f96f0319970914c336b84d1abd5fd55d5a0510 (diff) | |
download | aur-e55ac3598d791f026226c70680c0ff80477671ed.tar.gz |
Use sass instead of node-sass for aarch64 compile
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | replace-node-sass-with-sass.patch | 11 |
2 files changed, 13 insertions, 1 deletions
@@ -20,7 +20,6 @@ depends=( 'libxss' 'libxtst' 'libsecret' - 'icu72-bin' ) makedepends=( 'yarn' @@ -60,6 +59,7 @@ prepare() { cd $srcdir patch --directory="$srcdir/fchat/" --forward --strip=1 --input="$srcdir/remove-electron-requirement.patch" patch --directory="$srcdir/fchat/" --forward --strip=1 --input="$srcdir/deadletter.patch" + patch --directory="$srcdir/fchat/" --forward --strip=1 --input="$srcdir/replace-node-sass-with-sass.patch" echo "Init NVM..." _ensure_local_nvm echo "Install Node v16..." @@ -99,6 +99,7 @@ build() { cp "$srcdir"/fchat.desktop "$srcdir"/fchat-wayland.desktop sed -i "s|Exec=.*|Exec=/usr/bin/$_pkgname --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland|" "$srcdir"/fchat-wayland.desktop sed -i "s|Name=.*|Name=$_pkgtitle - Wayland|" "$srcdir"/fchat-wayland.desktop + warning "If running fails, check if there's any reference to icu72 or the like. If so, install icu72" } package() { diff --git a/replace-node-sass-with-sass.patch b/replace-node-sass-with-sass.patch new file mode 100644 index 000000000000..b5a65aebfaa7 --- /dev/null +++ b/replace-node-sass-with-sass.patch @@ -0,0 +1,11 @@ +--- src/fchat/package.json 2023-09-27 22:44:48.025985743 -0400 ++++ src/fchat/package.mod.json 2023-09-27 22:46:35.834825612 -0400 +@@ -33,7 +33,7 @@ + "extract-loader": "^5.1.0", + "file-loader": "^6.2.0", + "lodash": "^4.17.20", +- "node-sass": "^7.0.1", ++ "sass": "^1.68.0", + "optimize-css-assets-webpack-plugin": "^5.0.4", + "qs": "^6.9.4", + "raven-js": "^3.27.2", |