From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2249315808B for ; Sat, 26 Mar 2022 22:06:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41BA1E083D; Sat, 26 Mar 2022 22:06:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BBF72E0858 for ; Sat, 26 Mar 2022 22:06:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9969E342E05 for ; Sat, 26 Mar 2022 22:06:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE2512B0 for ; Sat, 26 Mar 2022 22:06:49 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1648332045.82beec9e3114879b5a6fe9bb703ae0e9a9908c46.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nwjs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/nwjs/Manifest dev-libs/nwjs/metadata.xml dev-libs/nwjs/nwjs-0.62.1.ebuild X-VCS-Directories: dev-libs/nwjs/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 82beec9e3114879b5a6fe9bb703ae0e9a9908c46 X-VCS-Branch: master Date: Sat, 26 Mar 2022 22:06:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fb2a921c-28b4-4f35-abaf-7a51b12eb115 X-Archives-Hash: 67e8110479c48aa3f444e13cca211d10 commit: 82beec9e3114879b5a6fe9bb703ae0e9a9908c46 Author: James Le Cuirot gentoo org> AuthorDate: Sat Mar 26 21:59:15 2022 +0000 Commit: James Le Cuirot gentoo 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 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 @@ + + + + + games@gentoo.org + Gentoo Games Project + + 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} +}