diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-10 00:10:52 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-10 00:38:13 -0600 |
commit | 5207efd9ddc509ce828fa5391775bbec0d7b305b (patch) | |
tree | 12e74d6aeedd3b8acc6bc1033028d2c038adab3e | |
parent | media-sound/nuclear-bin: drop 0.6.15 (diff) | |
download | guru-5207efd9ddc509ce828fa5391775bbec0d7b305b.tar.gz guru-5207efd9ddc509ce828fa5391775bbec0d7b305b.tar.bz2 guru-5207efd9ddc509ce828fa5391775bbec0d7b305b.zip |
media-sound/nuclear-bin: add 0.6.30
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
-rw-r--r-- | media-sound/nuclear-bin/Manifest | 1 | ||||
-rw-r--r-- | media-sound/nuclear-bin/nuclear-bin-0.6.30.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
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 +} |