commit:     81a5a4d9e7f4a16bbcf94722c013d7c8031b4a59
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Aug 18 09:45:36 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Aug 18 09:45:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81a5a4d9

media-sound/supersonic: add 0.18.0

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

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

diff --git a/media-sound/supersonic/Manifest b/media-sound/supersonic/Manifest
index 0d8b169eb8..f5b49c58a5 100644
--- a/media-sound/supersonic/Manifest
+++ b/media-sound/supersonic/Manifest
@@ -2,3 +2,5 @@ DIST supersonic-0.16.0-vendor.tar.xz 7990432 BLAKE2B 
aeb95215eea70e41c08f5359389
 DIST supersonic-0.16.0.tar.gz 63710329 BLAKE2B 
1b22f17e2823c6e703fc8a07951723324103db77f22f0158d19c06b18739fbf81047a9a18a2e4526b88bb00a74977a3b0d736761f849564380261fdc9cd462a9
 SHA512 
e759025e4ba3c17ef78a0deaec92069af0e5e6b2794920427fba062386466784a6593bed714af6b48f0a73a49d296b711eb619f85fd2b88200a623dc587af268
 DIST supersonic-0.17.0-vendor.tar.xz 8043100 BLAKE2B 
b7f744a100b6c357bcbd39d9167dadefaef77d4c2e199c17a10da29c17a4aaaa5bf93bad28b29b41bd7127b0f9b55abaec13f9a32c78228f287031c52350ffda
 SHA512 
5c7fe7b327e8f3564b21a34b64b46381c5f27fd817cc8072790ecf650bb4c1523ed92f3aa592c55db4f0ecd2fbd8dac1229d035f021290194c7d13b57043a11b
 DIST supersonic-0.17.0.tar.gz 63722741 BLAKE2B 
ef946042400f647c266cd638deb3879c9a188f46e984b3ecf4183bb7b6c4d7c45d8062adad2d19b5036fafbea08d2bbdf6bd9d43784cad17364d47456719fdb5
 SHA512 
4ecb302e2c82a2d4e789feeffaa5492ee2ae3908d598f9944e92b57c0e09e37e79c63d5a9bb90e5eb98e104e6f6f20e3a506f07929084fbdb0ce6dd6bed9e9cb
+DIST supersonic-0.18.0-vendor.tar.xz 8077088 BLAKE2B 
4afacce9850e1c3d6036df1a82d216b34085836e2c639adcdc8fa3a4a1b97ec3976c3e4756505d22a58aa67eb4f57555f90397cb04b65b266a089e434c4c17d5
 SHA512 
251c736b56711eacb03a1bc0f34034fb2d82e2d2f7452d26f2536c91f7c83dcd7d9d0be22d2d1c0d364ec4f688b8fd3c8146619a8dcadd25d4c12f64ca6f81a6
+DIST supersonic-0.18.0.tar.gz 63744839 BLAKE2B 
f5e57b49c43a677130557885027c1062056bae4600a98af06fbad1559755c1cb025f24b366fa3f59f83d8139d948e63ef50f9f1623cf227d824ec2a105340807
 SHA512 
1e6c5029a0f5b7b662fdb4672f3436e388d8236381f4740d357fd9525cc84d5bbd3c167d8691ad1052342d6f3503d1ebbc365e9a13b935c2806dc6db5c9f8365

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