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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5B791382C5 for ; Mon, 14 Jun 2021 11:36:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98CDFE0BC0; Mon, 14 Jun 2021 11:36:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FA00E0BC0 for ; Mon, 14 Jun 2021 11:36:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12713335D07 for ; Mon, 14 Jun 2021 11:36:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 977317A2 for ; Mon, 14 Jun 2021 11:36:19 +0000 (UTC) From: "Marco Scardovi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marco Scardovi" Message-ID: <1623670549.1588d75914b73006e0eefe0371c2b46110ef956d.marco@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/nuclear-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/nuclear-bin/Manifest media-sound/nuclear-bin/nuclear-bin-0.6.14.ebuild X-VCS-Directories: media-sound/nuclear-bin/ X-VCS-Committer: marco X-VCS-Committer-Name: Marco Scardovi X-VCS-Revision: 1588d75914b73006e0eefe0371c2b46110ef956d X-VCS-Branch: dev Date: Mon, 14 Jun 2021 11:36:19 +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: 05720eb3-e0d9-4343-a06d-ba5009371f3c X-Archives-Hash: e2f8522ab23376317e3543e9a0babfdc commit: 1588d75914b73006e0eefe0371c2b46110ef956d Author: Marco Scardovi scardovi com> AuthorDate: Mon Jun 14 11:35:49 2021 +0000 Commit: Marco Scardovi scardovi com> CommitDate: Mon Jun 14 11:35:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1588d759 media-sound/nuclear-bin: bump to 0.6.14 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> media-sound/nuclear-bin/Manifest | 1 + media-sound/nuclear-bin/nuclear-bin-0.6.14.ebuild | 75 +++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/media-sound/nuclear-bin/Manifest b/media-sound/nuclear-bin/Manifest index a463ff8a8..e5f618f2a 100644 --- a/media-sound/nuclear-bin/Manifest +++ b/media-sound/nuclear-bin/Manifest @@ -1 +1,2 @@ DIST nuclear-bin-0.6.13.tar.gz 105286210 BLAKE2B 1ec968c0dcfce23ccc1050809387d747bc3cbe7df71b79164b84f0e507a39fd6315145553372521757a62a77ae4f2ae8d218582544a66c0ae0237b02eff7b435 SHA512 20446f6a9c37e52207ec9cb965c47394a1e1035ecbc8f11350ff6c2797eb7f7be595535f310e01c135e59399cec8d4a8cff60ac246af25cac9cf035f9375b1f4 +DIST nuclear-bin-0.6.14.tar.gz 104953194 BLAKE2B 77ced9b6703831b7de93617fa04ac0bb2439790470d5e43b18ee5ce029d30396fd097f31ffa58201d03a5d7b9f4d763a758a0111f06eb184c13c7a7c3952a341 SHA512 7fc42d1e1a6eea49cabeb21c8925577c360f65e677ecd414313ce9d57964a44ab7c9391c46e1b781cb528cf121b82c5f1af68bc94b90351efdf56a69040e01db diff --git a/media-sound/nuclear-bin/nuclear-bin-0.6.14.ebuild b/media-sound/nuclear-bin/nuclear-bin-0.6.14.ebuild new file mode 100644 index 000000000..6be2820ea --- /dev/null +++ b/media-sound/nuclear-bin/nuclear-bin-0.6.14.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop xdg + +MY_P="nuclear-${PV}" + +DESCRIPTION="Nuclear is a streaming program that pulls content from free sources on internet" +HOMEPAGE="https://nuclear.js.org/" +SRC_URI="https://github.com/nukeop/nuclear/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}/${MY_P}" + +DEPEND=" + app-accessibility/at-spi2-atk + app-accessibility/at-spi2-core + dev-libs/atk + dev-libs/libappindicator + dev-libs/nss + media-libs/alsa-lib + net-print/cups + media-libs/mesa + x11-libs/gdk-pixbuf + x11-libs/gtk+ + x11-libs/libdrm + x11-libs/libnotify + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/libxshmfence + x11-libs/libXtst + x11-libs/pango +" + +QA_PREBUILT="/opt/nuclear-bin/*" + +src_prepare(){ + default +} + +src_install(){ + insinto /opt/"${PN}" + doins -r "${S}"/* + dosym ../../opt/"${PN}"/nuclear "${EPREFIX}"/usr/bin/nuclear + fperms +x /opt/"${PN}"/nuclear + fperms +x /opt/"${PN}"/chrome-sandbox + fperms +x /opt/"${PN}"/resources/bin/fpcalc + make_desktop_entry "/opt/${PN}/nuclear %U" "Nuclear" "nuclear" \ + "Audio;Music;Player;AudioVideo;" \ + "GenericName=Nuclear-bin\nStartupNotify=true\nStartupWMClass=nuclear" + cd "${S}"/resources/media/ || die + mv icon.icns nuclear.icns || die + doicon nuclear.icns + cd presskit/icons/color || die + for i in {16,24,32,48,64,96,128,256,512}; do + mv "${i}".png nuclear-"${i}".png || die + doicon -s "${i}" nuclear-"${i}".png + done + cd ../scalable || die + mv nuclear-icon.svg nuclear.svg || die + doicon nuclear.svg +} + +pkg_postinst(){ + xdg_desktop_database_update + xdg_icon_cache_update +}