commit:     cb6879676bcde3b4fee5777a4f6f0ef9801e68ad
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Jun 17 10:45:36 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jun 17 10:45:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb687967

media-sound/supersonic: add 0.16.0

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 media-sound/supersonic/Manifest                 |  2 ++
 media-sound/supersonic/supersonic-0.16.0.ebuild | 40 +++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/media-sound/supersonic/Manifest b/media-sound/supersonic/Manifest
index aa9ddde44f..0a291b1790 100644
--- a/media-sound/supersonic/Manifest
+++ b/media-sound/supersonic/Manifest
@@ -1,2 +1,4 @@
 DIST supersonic-0.15.2-vendor.tar.xz 7994488 BLAKE2B 
e3ccd31a64f4a8fc455fb3a0dabfe021c8c226b748000e95bf177bbcb858e15a8d1881afecd663e69e699974e09d50c6a4b69addaef7f06d785a02ce79bdffe6
 SHA512 
55d7189bc336529a4252424020cd3f56b309e56ef942a53cdd796ee1cb988fa842b0c28d3c870f9718c1fdcaf8429a6c1ccd226874f81be7f24f419c160c2341
 DIST supersonic-0.15.2.tar.gz 63707624 BLAKE2B 
2cf7ea639e61b653e0077d1fddd769ec757ce5cae37bc30802026b9445e0857b7e311536613f49220bb4449c11c7b328e7e3f9419de1eb981b817a0b198f8581
 SHA512 
f208a03bc63a912465d98a5e0707801c2370c5cd543315888b9485148b6af1580bab2e97866bea00ffa08f38d7cec041b0c8c02f1ba812c4665ef860a511c564
+DIST supersonic-0.16.0-vendor.tar.xz 7990432 BLAKE2B 
aeb95215eea70e41c08f535938969da1c99a383cbad1d45808c86dfc196f75185d8155ea873386bdcefc8dea7bc94979b37485d8aee89af740a61efb2f6fa0e6
 SHA512 
c8fddbb07d326447c60de75656efe9baaba648e188af964204585cb0385c739a382055fe6908d2ab59639cfee6e57dff998fb64731ead6102b8b3d6584db1325
+DIST supersonic-0.16.0.tar.gz 63710329 BLAKE2B 
1b22f17e2823c6e703fc8a07951723324103db77f22f0158d19c06b18739fbf81047a9a18a2e4526b88bb00a74977a3b0d736761f849564380261fdc9cd462a9
 SHA512 
e759025e4ba3c17ef78a0deaec92069af0e5e6b2794920427fba062386466784a6593bed714af6b48f0a73a49d296b711eb619f85fd2b88200a623dc587af268

diff --git a/media-sound/supersonic/supersonic-0.16.0.ebuild 
b/media-sound/supersonic/supersonic-0.16.0.ebuild
new file mode 100644
index 0000000000..a8046f32a9
--- /dev/null
+++ b/media-sound/supersonic/supersonic-0.16.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
+}

Reply via email to