diff options
author | Elvis Pranskevichus <elvis@magic.io> | 2016-04-05 12:29:26 -0400 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-05-03 14:45:56 +0000 |
commit | 1b299909903085240575a3f5c9aaf5377a4a13fe (patch) | |
tree | f3969c55eb1c38c907a9377f5085e8fdfdf71d26 /dev-util/electron/metadata.xml | |
parent | media-sound/clementine: Removed old. (diff) | |
download | gentoo-1b299909903085240575a3f5c9aaf5377a4a13fe.tar.gz gentoo-1b299909903085240575a3f5c9aaf5377a4a13fe.tar.bz2 gentoo-1b299909903085240575a3f5c9aaf5377a4a13fe.zip |
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>
Diffstat (limited to 'dev-util/electron/metadata.xml')
-rw-r--r-- | dev-util/electron/metadata.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/electron/metadata.xml b/dev-util/electron/metadata.xml new file mode 100644 index 000000000000..d079fad69535 --- /dev/null +++ b/dev-util/electron/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>elvis@magic.io</email> + <name>Elvis Pranskevichus</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription>Electron is a cross platform application development framework based on web technologies based on Chromium</longdescription> + <use> + <flag name="gtk3">Use gtk3 instead of gtk2</flag> + <flag name="hidpi">Enable support for high-resolution screens (high dots per inch)</flag> + <flag name="lto">Build with link time optimization enabled</flag> + <flag name="pic">Disable optimized assembly code that is not PIC friendly</flag> + <flag name="proprietary-codecs">Enable proprietary codecs like H.264, MP3</flag> + <flag name="system-ffmpeg">Use system ffmpeg instead of the bundled one</flag> + <flag name="tcmalloc">Use bundled tcmalloc instead of system malloc</flag> + </use> +</pkgmetadata> |