commit: b7469c54143fc6d1324d7aaee511589b90247af5 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Thu Oct 30 13:18:05 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Thu Oct 30 13:18:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7469c54
media-sound/supersonic: add 0.19.0 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> media-sound/supersonic/Manifest | 2 ++ media-sound/supersonic/supersonic-0.19.0.ebuild | 40 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/media-sound/supersonic/Manifest b/media-sound/supersonic/Manifest index f4627930d6..699b6b94b0 100644 --- a/media-sound/supersonic/Manifest +++ b/media-sound/supersonic/Manifest @@ -2,3 +2,5 @@ DIST supersonic-0.17.0-vendor.tar.xz 8043100 BLAKE2B b7f744a100b6c357bcbd39d9167 DIST supersonic-0.17.0.tar.gz 63722741 BLAKE2B ef946042400f647c266cd638deb3879c9a188f46e984b3ecf4183bb7b6c4d7c45d8062adad2d19b5036fafbea08d2bbdf6bd9d43784cad17364d47456719fdb5 SHA512 4ecb302e2c82a2d4e789feeffaa5492ee2ae3908d598f9944e92b57c0e09e37e79c63d5a9bb90e5eb98e104e6f6f20e3a506f07929084fbdb0ce6dd6bed9e9cb DIST supersonic-0.18.1-vendor.tar.xz 8071468 BLAKE2B a17c668221ad5b222c9ee92ee7d1454a8b11f3dff12e694019bc904d095191804b7aeba383f98b2f5d9a31bef7b058c0bd72aabc13c77d3e62fe146aba37bcae SHA512 8151bfa527ddf60904b8ded67b1fcd1636995a3943062763747dba7f9ae68df6c94016192b9cf2aece9076f0527ed5ec5fe4b3bfda8435ba9546964a98b9f360 DIST supersonic-0.18.1.tar.gz 63734864 BLAKE2B 3652b5099b278cb1fef3df94025b970c9fba971e6b2cc2ab1c81c52bb1c7674a2ef0eb3b1a2ccb182c9e8c9408919dd5134d0cab86e88d94f130906269161c1b SHA512 15e445131edda82e544187c0da0d63fb0fcb1632365f8caee477d54911336436c6266d72bed9eb14d267420daf759efa1bc0a4ec47f4b1ff357518fd061fd606 +DIST supersonic-0.19.0-vendor.tar.xz 8148048 BLAKE2B 2cfff03df5314f48b27a076c51f68436d94272bc60fa8dbd092dcbf459e8d787b05b6f9deaf308590d90384297ca11244673333b057078ff76487a0ea5dce851 SHA512 f81954f4f9d57afb534192e037d0089f86ebb94da3e14f54152406c57df54704895459a8d9937b55999d2ee5a3527f7375c5b24a556925c7690185f5ebe9abe0 +DIST supersonic-0.19.0.tar.gz 63744223 BLAKE2B 7a1665d3c276f6f7073505652900a5ed33c462424dda6fa726a0ef4bbc471cad3406bfcb77bd1d5218246fbe75a0d546b09d23a932fd9643d121858504ffd445 SHA512 b99a73959823d932f6422c0c56dc6106e099448bb4a2f761052c6e5c97286c16e480c77787ff5056ea5b6020eb52a507587698a11d13f7d807a6909f9871e4ea diff --git a/media-sound/supersonic/supersonic-0.19.0.ebuild b/media-sound/supersonic/supersonic-0.19.0.ebuild new file mode 100644 index 0000000000..a8046f32a9 --- /dev/null +++ b/media-sound/supersonic/supersonic-0.19.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop go-module xdg + +DESCRIPTION="A lightweight and full-featured cross-platform desktop client" +HOMEPAGE="https://github.com/dweymouth/supersonic" +SRC_URI="https://github.com/dweymouth/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + media-libs/libglvnd + media-video/mpv[libmpv] + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXi + x11-libs/libXinerama +" + +RDEPEND="${DEPEND}" + +src_compile() { + ego build +} + +src_install() { + dobin supersonic + sed -i 's/supersonic-desktop/supersonic/g' "res/${PN}-desktop.desktop" || die + domenu "res/${PN}-desktop.desktop" + local x + for x in 128 256 512; do + newicon -s ${x} res/appicon-${x}.png supersonic.png + done +}
