commit: 3e03276400c0e60ee64ac24037ac84c87aacc110 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Mon Jan 12 13:19:17 2026 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Mon Jan 12 13:35:10 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e032764
media-sound/supersonic: add 0.20.0 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> media-sound/supersonic/Manifest | 2 ++ media-sound/supersonic/supersonic-0.20.0.ebuild | 40 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/media-sound/supersonic/Manifest b/media-sound/supersonic/Manifest index f1e5f8166e..b7f632d21e 100644 --- a/media-sound/supersonic/Manifest +++ b/media-sound/supersonic/Manifest @@ -1,2 +1,4 @@ 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 +DIST supersonic-0.20.0-vendor.tar.xz 8117896 BLAKE2B 14386006fc8c7a69f22c4a8db3b9a3cc9b9ce40d94d6a1ba632ecbb809436fb2c45906292eace8b40e2f83d32168d72f2545e38804d5d7fe2b8ba5b24ef37393 SHA512 62c32bab9477893c4750985aa285044f8e239ec19edc0d91f310abc5e09a2db7bc488c63f937ca452d30cd97823a99a1f23a9cb4f5f98dbf2fdd8e5665885cee +DIST supersonic-0.20.0.tar.gz 63758696 BLAKE2B 9d96bb2b1326b75695b58b8c2bc37bab899ae8dcaec1e2757081b22c782be4b7a116d3b702f0cc786f16270b59b86754e49ec6d76a2923e19e42133399de7828 SHA512 9101da25bbe82d237288931372ad5d42a5722f47b5172136f181bc24c6744161a7e0c38438bc85060b36c0f4f6d463171536861630daa492b915e827f6624163 diff --git a/media-sound/supersonic/supersonic-0.20.0.ebuild b/media-sound/supersonic/supersonic-0.20.0.ebuild new file mode 100644 index 0000000000..47cd2113b2 --- /dev/null +++ b/media-sound/supersonic/supersonic-0.20.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023-2026 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://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${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 +}
