This commit is contained in:
Antoine Martin 2024-09-05 12:20:44 -04:00
parent 1991882a3b
commit 3e0e61e50c
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -196,8 +196,7 @@ prepare() {
done
msg "Installing signal-desktop JS dependencies"
echo 'ignore-engines true' > .yarnrc
yarn --ignore-scripts --frozen-lockfile
npm ci --ignore-scripts
(
cd "$srcdir"/webrtc-$_webrtcver
@ -284,7 +283,7 @@ prepare() {
cd "$srcdir"/ringrtc-$_ringrtcver/src/node
msg "Installing ringrtc js dependencies"
yarn --frozen-lockfile --ignore-scripts
npm ci --ignore-scripts
)
(
@ -294,7 +293,7 @@ prepare() {
sed -i 's/unknown-linux-gnu/alpine-linux-musl/g' binding.gyp
msg "Installing libsignal js dependencies"
yarn --ignore-scripts --frozen-lockfile
npm ci --ignore-scripts
)
# remove shipped fonts for system-provided (part 1)
@ -407,7 +406,7 @@ build() {
yarn build:dev
# purge non-production deps
yarn install --ignore-scripts --frozen-lockfile --production
npm ci --ignore-scripts --omit=dev
# XXX: the previous step undoes the patches. and removes the patch applier.
# please force me to just implement packaging without dev modules in tasje. -lnl