mirror of
https://abf.rosa.ru/djam/jitsi-meet-electron.git
synced 2025-02-23 06:13:06 +00:00
fix build
This commit is contained in:
parent
6a0b5f60d8
commit
dc310f0305
1 changed files with 8 additions and 3 deletions
|
@ -10,16 +10,19 @@ Summary: Jitsi Meet desktop application
|
|||
URL: https://github.com/jitsi/jitsi-meet-electron
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source1000: %{name}.rpmlintrc
|
||||
Patch0: %{oname}_package.patch
|
||||
License: ASL 2.0
|
||||
Group: Networking/Instant messaging
|
||||
ExclusiveArch: x86_64
|
||||
BuildRequires: nodejs14 #>= 16
|
||||
BuildRequires: nodejs14
|
||||
BuildRequires: yarn
|
||||
BuildRequires: pkgconfig(zlib) >= 1.2.11
|
||||
BuildRequires: imagemagick
|
||||
BuildRequires: git-core
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(nss)
|
||||
Prefix: %{_opt}
|
||||
|
||||
%description
|
||||
|
@ -27,12 +30,14 @@ Desktop application for Jitsi Meet built with Electron
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p0
|
||||
|
||||
%build
|
||||
export PATH=$PATH:/opt/nodejs14/bin
|
||||
|
||||
npm install
|
||||
npm run dist
|
||||
yarn
|
||||
yarn run build
|
||||
yarn run electron-builder --dir
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{_opt}/%{oname} %{buildroot}%{_datadir}/applications %{buildroot}%{_bindir}
|
||||
|
|
Loading…
Add table
Reference in a new issue