mirror of
https://abf.rosa.ru/djam/jitsi-meet-electron.git
synced 2025-02-23 22:32:56 +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
|
URL: https://github.com/jitsi/jitsi-meet-electron
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1000: %{name}.rpmlintrc
|
Source1000: %{name}.rpmlintrc
|
||||||
|
Patch0: %{oname}_package.patch
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Networking/Instant messaging
|
Group: Networking/Instant messaging
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
BuildRequires: nodejs14 #>= 16
|
BuildRequires: nodejs14
|
||||||
|
BuildRequires: yarn
|
||||||
BuildRequires: pkgconfig(zlib) >= 1.2.11
|
BuildRequires: pkgconfig(zlib) >= 1.2.11
|
||||||
BuildRequires: imagemagick
|
BuildRequires: imagemagick
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xtst)
|
BuildRequires: pkgconfig(xtst)
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
|
BuildRequires: pkgconfig(nss)
|
||||||
Prefix: %{_opt}
|
Prefix: %{_opt}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -27,12 +30,14 @@ Desktop application for Jitsi Meet built with Electron
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=$PATH:/opt/nodejs14/bin
|
export PATH=$PATH:/opt/nodejs14/bin
|
||||||
|
|
||||||
npm install
|
yarn
|
||||||
npm run dist
|
yarn run build
|
||||||
|
yarn run electron-builder --dir
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}%{_opt}/%{oname} %{buildroot}%{_datadir}/applications %{buildroot}%{_bindir}
|
install -d %{buildroot}%{_opt}/%{oname} %{buildroot}%{_datadir}/applications %{buildroot}%{_bindir}
|
||||||
|
|
Loading…
Add table
Reference in a new issue