Skip to content
Permalink
Browse files

electron-bin: 5.0.3 bump

  • Loading branch information...
blshkv committed Oct 10, 2019
1 parent 8283404 commit 8974e4d600cd3496dbf86df1214d2728bdf25169
Showing with 80 additions and 0 deletions.
  1. +4 −0 dev-util/electron-bin/Manifest
  2. +76 −0 dev-util/electron-bin/electron-bin-5.0.3.ebuild
@@ -0,0 +1,4 @@
DIST electron-bin-5.0.3-arm64.zip 65333398 BLAKE2B 7afe07f894f66afd5d968e85bc4c50af0f2ba7a449c71857c32cc184e932a81b979daaba13d41f39ddbb19096ec474a7563ebc570c02aae46acefb992bc1f80d SHA512 ef161d78732e44e0769fbb5fd0f12ff8eece9d34eea1068c32c5f579bbdebc25c71433128149b9c03bcc10d5b21421b3d8fa9e484aaf51f72a0f11baf792f345
DIST electron-bin-5.0.3-armv7l.zip 55130470 BLAKE2B 9dc9df478bf722d10dfd10dc92a7831d432ad9fc6e7fe14b0dddcf1be42b2b00aa7fb119601f57d9d1a2183c8d4294bc817e1df09ba58c1bf9fd7c503f302679 SHA512 15fe2dccae32e0e5cd2925f824a4804111fee11e70efcf9100718d1efac29d268b1c64c68d886a3fc3a00ef33277f219ca0534d17e400a57e006be32a5387181
DIST electron-bin-5.0.3-ia32.zip 67149862 BLAKE2B 0a76e4c53ea7c8f84413bd322e5d9208e8d9796d51d0cac8204cfc3fbfeb0e4e5570dda07fb44b786d6e9a86dc845d1e5e478daf1538e69faf1b7b4f1149437f SHA512 037ea7e904c256d6a11262775e7bf3e9d513c403bda3e6e42c10879d0fa52b916f4c8a29d166fc37ef5d7260ddcda1b38f1667d66f7a60644ee7174ca13e003b
DIST electron-bin-5.0.3-x64.zip 65754434 BLAKE2B b0d2bd27b078ad0c446db4478cce5061e53559c35d9621cfd004b6e243f11800be3ad97278e9cb12f3d3227d3029a71245ab2e89e88ff77c379011c0f98fa409 SHA512 c8af2650531d6bbe663f974f5a1515cfdbc59b58617c7f1d20a568d45a5a458c1898190b9a59768f1dccc3dd2a34fead8a56e65fd34a49df998912349ed3eca1
@@ -0,0 +1,76 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

CHROMIUM_LANGS="
am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi hr
hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw
ta te th tr uk vi zh-CN zh-TW
"

inherit chromium-2

MY_PN="${PN/-bin}"
SRC_URI_BASE="https://github.com/electron/electron/releases/download"
DESCRIPTION="Cross platform application development framework based on web technologies"
HOMEPAGE="https://electron.atom.io"
SRC_URI="
amd64? ( ${SRC_URI_BASE}/v${PV}/${MY_PN}-v${PV}-linux-x64.zip -> ${P}-x64.zip )
arm? ( ${SRC_URI_BASE}/v${PV}/${MY_PN}-v${PV}-linux-armv7l.zip -> ${P}-armv7l.zip )
arm64? ( ${SRC_URI_BASE}/v${PV}/${MY_PN}-v${PV}-linux-arm64.zip -> ${P}-arm64.zip )
x86? ( ${SRC_URI_BASE}/v${PV}/${MY_PN}-v${PV}-linux-ia32.zip -> ${P}-ia32.zip )
"
RESTRICT="mirror"

LICENSE="MIT"
SLOT="5.0"
KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"

RDEPEND="
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/nss
media-gfx/graphite2
media-libs/alsa-lib
media-libs/fontconfig:1.0
media-libs/libepoxy
media-libs/libpng
net-print/cups
sys-apps/dbus
virtual/opengl
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libxcb
x11-libs/libXScrnSaver
x11-libs/libXtst
x11-libs/pango
"
DEPEND="app-arch/unzip"

S="${WORKDIR}"

OPTPATH="opt/${MY_PN}-${SLOT}"
QA_PRESTRIPPED="${OPTPATH}/.*"

pkg_setup() {
# Silence linux-info_pkg_setup()
:;
}

src_prepare() {
pushd locales > /dev/null || die
chromium_remove_language_paks
popd > /dev/null || die
default
}

src_install() {
dodir "/${OPTPATH}"
# Note: intentionally not using "doins" so that we preserve +x bits
cp -r ./* "${ED}/${OPTPATH}" || die

dosym "../../${OPTPATH}/electron" "/usr/bin/electron-${SLOT}"
}

0 comments on commit 8974e4d

Please sign in to comment.
You can’t perform that action at this time.