dev-util/electron: Add ebuild for Github's Electron (v0.36.9)
authorElvis Pranskevichus <elvis@magic.io>
Tue, 5 Apr 2016 16:29:26 +0000 (12:29 -0400)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 3 May 2016 14:45:56 +0000 (14:45 +0000)
commit1b299909903085240575a3f5c9aaf5377a4a13fe
treef3969c55eb1c38c907a9377f5085e8fdfdf71d26
parent12767a9d4458ac31b046efc87d41c4fc2dafdfdd
dev-util/electron: Add ebuild for Github's Electron (v0.36.9)

Electron is an application framework built on top of Chromium and NodeJS.
It allows creating cross-platform desktop apps using Web tech. [1]

The main user of Electron is the Atom IDE [2].  Microsoft Visual Studio
Code is also based on Electron.  It is also useful for the creation of
desktop wrappers for popular web services, e.g. Google Music [3].

Unfortunately, current upstream's approach to "building Electron from
source" involves downloading a pre-built libchromiumcontent.so binary
from the Internet, which poses obvious security and compatibility risks.

This ebuild is based heavily on the Chromium ebuild and follows similar
unbunling policy.

Additionally, Electron-specific NodeJS headers are installed to
/usr/include so that native modules built for Electron-based apps can be
compiled against the correct version of NodeJS embedded in Electron.

[1] http://electron.atom.io/
[2] http://atom.io/
[3] https://github.com/twolfson/google-music-electron

Gentoo-Bug: https://bugs.gentoo.org/579116
Closes: https://github.com/gentoo/gentoo/pull/1200
Package-Manager: portage-2.2.28

Acked-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
14 files changed:
dev-util/electron/Manifest [new file with mode: 0644]
dev-util/electron/electron-0.36.12.ebuild [new file with mode: 0644]
dev-util/electron/files/brightray-gentoo-build-fixes.patch [new file with mode: 0644]
dev-util/electron/files/chromium-disable-widevine.patch [new file with mode: 0644]
dev-util/electron/files/chromium-lto-fixes.patch [new file with mode: 0644]
dev-util/electron/files/chromium-remove-gardiner-mod-font.patch [new file with mode: 0644]
dev-util/electron/files/chromium-shared-v8.patch [new file with mode: 0644]
dev-util/electron/files/chromium-system-ffmpeg-r0.patch [new file with mode: 0644]
dev-util/electron/files/chromium-system-jinja-r7.patch [new file with mode: 0644]
dev-util/electron/files/chromium-system-libvpx-r0.patch [new file with mode: 0644]
dev-util/electron/files/electron-gentoo-build-fixes.patch [new file with mode: 0644]
dev-util/electron/files/libchromiumcontent-gentoo-build-fixes.patch [new file with mode: 0644]
dev-util/electron/files/node-gentoo-build-fixes.patch [new file with mode: 0644]
dev-util/electron/metadata.xml [new file with mode: 0644]