[packages/electron/source] bootstrap and ncurses hack

glen glen at pld-linux.org
Sat Dec 19 01:52:49 CET 2015


commit a5bd9f6fecb32544e2268676ee2481cfbc4c627b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Dec 19 02:49:26 2015 +0200

    bootstrap and ncurses hack

 electron.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/electron.spec b/electron.spec
index edbacb5..ff9a7a4 100644
--- a/electron.spec
+++ b/electron.spec
@@ -13,6 +13,7 @@ License:	MIT, BSD
 Group:		Applications
 URL:		https://github.com/atom/electron
 BuildRequires:	git-core
+BuildRequires:	ncurses
 BuildRequires:	npm
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,6 +30,11 @@ and Chromium and is used in the Atom editor.
 %setup -qcT
 git clone https://github.com/atom/electron.git -b v%{version} --depth 1 .
 
+./script/bootstrap.py -v
+
+install -d lib
+ln -s %{_libdir}/libncurses.so.5 lib/libtinfo.so.5
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/electron.git/commitdiff/a5bd9f6fecb32544e2268676ee2481cfbc4c627b



More information about the pld-cvs-commit mailing list