mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* fix(feishin): try newer nodejs20-npm
Signed-off-by: madomado <madonuko@outlook.com>
* interesting
Signed-off-by: madomado <madonuko@outlook.com>
* we do the funny
Signed-off-by: madomado <madonuko@outlook.com>
* funny hack
Signed-off-by: madomado <madonuko@outlook.com>
---------
Signed-off-by: madomado <madonuko@outlook.com>
(cherry picked from commit b6fb82a237)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -13,7 +13,7 @@ License: GPL-3.0
|
||||
URL: https://github.com/jeffvli/feishin
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
Requires: fuse mpv
|
||||
BuildRequires: nodejs-npm jq libxcrypt-compat
|
||||
BuildRequires: nodejs20-npm jq libxcrypt-compat
|
||||
|
||||
%description
|
||||
%summary.
|
||||
@@ -38,9 +38,13 @@ Keywords=Music;Jellyfin;Audio;Stream;Sonixd
|
||||
EOF
|
||||
|
||||
%build
|
||||
npm install --legacy-peer-deps
|
||||
npm run postinstall
|
||||
npm run build
|
||||
export PATH="$PATH:$(pwd)/bin"
|
||||
mkdir bin
|
||||
ln -s /usr/bin/node-20 bin/node
|
||||
ln -s /usr/bin/npm-20 bin/npm
|
||||
npm-20 install --legacy-peer-deps
|
||||
npm-20 run postinstall
|
||||
npm-20 run build
|
||||
%ifarch x86_64
|
||||
|
||||
%define a linux
|
||||
@@ -48,7 +52,7 @@ npm run build
|
||||
%define a arm64
|
||||
%endif
|
||||
|
||||
npx electron-builder --linux dir --%a
|
||||
npx-20 electron-builder --linux dir --%a
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_datadir/{pixmaps,applications} %buildroot%_bindir
|
||||
|
||||
Reference in New Issue
Block a user