public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/nuclear-bin/
Date: Wed, 10 Jul 2024 23:52:43 +0000 (UTC)	[thread overview]
Message-ID: <1720593493.5207efd9ddc509ce828fa5391775bbec0d7b305b.lanodan@gentoo> (raw)

commit:     5207efd9ddc509ce828fa5391775bbec0d7b305b
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Jul 10 06:10:52 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Jul 10 06:38:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5207efd9

media-sound/nuclear-bin: add 0.6.30

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 media-sound/nuclear-bin/Manifest                  |  1 +
 media-sound/nuclear-bin/nuclear-bin-0.6.30.ebuild | 89 +++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/media-sound/nuclear-bin/Manifest b/media-sound/nuclear-bin/Manifest
index 47085239b..709876996 100644
--- a/media-sound/nuclear-bin/Manifest
+++ b/media-sound/nuclear-bin/Manifest
@@ -1 +1,2 @@
 DIST nuclear-bin-0.6.17.tar.gz 105008012 BLAKE2B c65cefb3f736af92cd26b00f3c6684b795976f21b828aaa9fb70e2e119c5a423fcab63ef6d13e9e131bb7e082ec2764d3062de9ca0cd72168ab289bad5a28018 SHA512 cdf557559540e808a4fea38265318e9dfd7c5c58a2e5665de57f95daff650698acc688080e7a7e67285a492020fa8f17d84e2c67fb6b36f913196d9f284386e1
+DIST nuclear-bin-0.6.30.tar.gz 113904900 BLAKE2B 8d35954e028b907a21077b28538dd96f26433a07f335caf4dc402f6bd684a88933e33c6f8ba4abd58845a3b2a754fb3d17a2183163364e87c6741417c0b06e84 SHA512 25a9c1466213385d913b1a5cee50b76477549661cbae02445e0418b3a754d74749f82ffe70699be47f562774f354a299ccffb97ca0865b9e75964d58143e34b4

diff --git a/media-sound/nuclear-bin/nuclear-bin-0.6.30.ebuild b/media-sound/nuclear-bin/nuclear-bin-0.6.30.ebuild
new file mode 100644
index 000000000..5f476b443
--- /dev/null
+++ b/media-sound/nuclear-bin/nuclear-bin-0.6.30.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit desktop xdg
+
+MY_P="nuclear-v${PV}"
+
+DESCRIPTION="Nuclear is a streaming program that pulls content from free sources on internet"
+HOMEPAGE="https://nuclear.js.org https://github.com/nukeop/nuclear"
+SRC_URI="https://github.com/nukeop/nuclear/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+	app-accessibility/at-spi2-atk
+	app-accessibility/at-spi2-core
+	dev-libs/atk
+	dev-libs/libappindicator
+	dev-libs/nss
+	dev-db/sqlite
+	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/nuclear
+	opt/nuclear-bin/chrome-sandbox
+	opt/nuclear-bin/libffmpeg.so
+	opt/nuclear-bin/libvk_swiftshader.so
+	opt/nuclear-bin/libvulkan.so.1
+	opt/nuclear-bin/libEGL.so
+	opt/nuclear-bin/libGLESv2.so
+	opt/nuclear-bin/libVkICD_mock_icd.so
+	opt/nuclear-bin/resources/bin/fpcalc
+	opt/nuclear-bin/swiftshader/libEGL.so
+	opt/nuclear-bin/swiftshader/libGLESv2.so
+	opt/nuclear-bin/swiftshader/libvk_swiftshader.so
+"
+
+QA_PRESTRIPPED="
+	opt/nuclear-bin/resources/bin/fpcalc
+"
+
+src_install(){
+	insinto /opt/"${PN}"
+	doins -r "${S}"/*
+	dosym -r /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
+}


             reply	other threads:[~2024-07-10 23:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10 23:52 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-07  9:22 [gentoo-commits] repo/proj/guru:master commit in: media-sound/nuclear-bin/ David Roman
2024-07-10 23:52 Haelwenn Monnier
2024-07-10 23:52 Haelwenn Monnier
2024-07-10 23:52 Haelwenn Monnier
2022-04-15 18:42 Andrew Ammerlaan
2022-04-15 18:42 Andrew Ammerlaan
2022-04-15 18:42 Andrew Ammerlaan
2022-02-01 10:38 Florian Schmaus
2021-06-27  7:19 Haelwenn Monnier
2021-04-27 23:24 Theo Anderson
2021-04-27 23:24 Theo Anderson
2021-04-21 19:40 Andrew Ammerlaan
2021-04-18  9:10 Andrew Ammerlaan
2021-04-16 18:48 Andrew Ammerlaan
2021-04-16 18:48 Andrew Ammerlaan
2021-04-14  9:07 Andrew Ammerlaan
2021-04-14  9:07 Andrew Ammerlaan

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=1720593493.5207efd9ddc509ce828fa5391775bbec0d7b305b.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --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