Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/npm/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
committerErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
commite74cde76c104df82b120a7b13964cb786da8f565 (patch)
tree39967e24037929c04aaf79922aa260b437a60a5e /extra/npm/PKGBUILD
parent73e1d3b448cc583ab38cae4d61a26f313fad946b (diff)
community -> extra
Diffstat (limited to 'extra/npm/PKGBUILD')
-rw-r--r--extra/npm/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/npm/PKGBUILD b/extra/npm/PKGBUILD
new file mode 100644
index 00000000..d15a6a20
--- /dev/null
+++ b/extra/npm/PKGBUILD
@@ -0,0 +1,22 @@
+# we put in libvips though upstream PKGBUILD says:
+# "libvips: for sharp (doc build) (disabled as current version of gatsby imports a broken sharp)"
+# I seem unable to be able to build anything useful if the libvips is absent from the makedepends
+#
+# https://github.com/lovell/sharp/issues/2023
+#
+#ERR! sharp Intel Architecture 32-bit systems require manual installation of libvips >= 8.8.1
+#info sharp Attempting to build from source via node-gyp but this may fail due to the above error
+#info sharp Please see https://sharp.pixelplumbing.com/page/install for required dependencies
+#make[1]: Entering directory '/build/npm/src/cli-6.14.11/docs/node_modules/sharp/build'
+# TOUCH Release/obj.target/libvips-cpp.stamp
+# CXX(target) Release/obj.target/sharp/src/common.o
+#../src/common.cc:25:10: fatal error: vips/vips8: No such file or directory
+# 25 | #include <vips/vips8>
+# | ^~~~~~~~~~~~
+#
+# most likely there is a binary version available, so sharp has not to be rebuilt (as on IA-32)
+makedepends+=(libvips884)
+
+# https://github.com/lovell/sharp/issues/2023
+#gatsby-plugin-manifest ERROR #11321 Error: Input file contains unsupported image format
+#