From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nwjs/
Date: Sat, 26 Mar 2022 22:06:49 +0000 (UTC) [thread overview]
Message-ID: <1648332045.82beec9e3114879b5a6fe9bb703ae0e9a9908c46.chewi@gentoo> (raw)
commit: 82beec9e3114879b5a6fe9bb703ae0e9a9908c46
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 21:59:15 2022 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 22:00:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82beec9e
dev-libs/nwjs: New package at version 0.62.1
Binary only, sorry. Building from source does not look fun. I could add
x86, but someone will need to twist my arm.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
dev-libs/nwjs/Manifest | 1 +
dev-libs/nwjs/metadata.xml | 8 +++
dev-libs/nwjs/nwjs-0.62.1.ebuild | 138 +++++++++++++++++++++++++++++++++++++++
3 files changed, 147 insertions(+)
diff --git a/dev-libs/nwjs/Manifest b/dev-libs/nwjs/Manifest
new file mode 100644
index 000000000000..9f62d3243c09
--- /dev/null
+++ b/dev-libs/nwjs/Manifest
@@ -0,0 +1 @@
+DIST nwjs-v0.62.1-linux-x64.tar.gz 128395584 BLAKE2B 144a9e61aff85a6a94bb62e4351d3aad4453e3a003fff79bbc677e9d976dd3e8a237b8ef5371f983365e4d9c56da138f7daed527cd7746fbc46bf952ff3b9887 SHA512 c6e385c3960e695b318b2d4bae902031b808490b34efdc0a4ee51cc6a5c337d597447c968bec1bfb7d6d2128604541e06ddae9073261d0aa50b70fbeb28488db
diff --git a/dev-libs/nwjs/metadata.xml b/dev-libs/nwjs/metadata.xml
new file mode 100644
index 000000000000..7c730d47817a
--- /dev/null
+++ b/dev-libs/nwjs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/nwjs/nwjs-0.62.1.ebuild b/dev-libs/nwjs/nwjs-0.62.1.ebuild
new file mode 100644
index 000000000000..d50a5c83067a
--- /dev/null
+++ b/dev-libs/nwjs/nwjs-0.62.1.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="96"
+CHROMIUM_LANGS="
+ am
+ ar
+ bg
+ bn
+ ca
+ cs
+ da
+ de
+ el
+ en-GB
+ en-US
+ es-419
+ es
+ et
+ fa
+ fil
+ fi
+ 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_P="${PN}-v${PV}"
+DESCRIPTION="Framework that lets you call all Node.js modules directly from the DOM"
+HOMEPAGE="https://nwjs.io"
+SRC_URI="amd64? ( https://dl.nwjs.io/v${PV}/${MY_P}-linux-x64.tar.gz )"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ app-accessibility/at-spi2-core:2
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/libglvnd
+ media-libs/vulkan-loader
+ media-video/ffmpeg-chromium:${CHROMIUM_VERSION}
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ x11-libs/pango[X]
+"
+
+S="${WORKDIR}/${A%.tar.gz}"
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+src_prepare() {
+ default
+
+ # Unbundle some libraries.
+ rm -r lib/lib{EGL.so,ffmpeg.so,GLESv2.so,vulkan.so.1} swiftshader/ || die
+
+ cd locales || die
+ rm {ar-XB,en-XA}.pak* || die # No flags for pseudo locales.
+ chromium_remove_language_paks
+}
+
+src_install() {
+ insinto "${DIR}"
+ doins -r *
+
+ exeinto "${DIR}"
+ doexe chrome_crashpad_handler nw
+
+ insinto "${DIR}"/lib
+ doins lib/*.json
+
+ exeinto "${DIR}"/lib
+ doexe lib/*.so*
+
+ dosym ../../../usr/$(get_libdir)/chromium/libffmpeg.so.${CHROMIUM_VERSION} \
+ "${DIR}"/lib/libffmpeg.so
+
+ dosym ../.."${DIR}"/nw /usr/bin/${PN}
+}
next reply other threads:[~2022-03-26 22:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-26 22:06 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-04-17 12:48 [gentoo-commits] repo/gentoo:master commit in: dev-libs/nwjs/ James Le Cuirot
2022-04-21 22:32 James Le Cuirot
2022-06-11 10:46 James Le Cuirot
2022-08-06 14:07 James Le Cuirot
2022-09-04 22:26 James Le Cuirot
2022-09-04 22:26 James Le Cuirot
2023-04-16 15:49 James Le Cuirot
2023-10-16 21:59 James Le Cuirot
2023-12-10 15:15 James Le Cuirot
2024-06-19 9:36 Matt Jolly
2024-06-19 9:36 Matt Jolly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1648332045.82beec9e3114879b5a6fe9bb703ae0e9a9908c46.chewi@gentoo \
--to=chewi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox