commit:     4089b5afab584dabc6f1f72f0053840c2291c38f
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 28 10:31:00 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Apr 28 10:31:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4089b5af

media-sound/supersonic: add 0.15.2

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

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

diff --git a/media-sound/supersonic/Manifest b/media-sound/supersonic/Manifest
index dad002e8e..c0423d918 100644
--- a/media-sound/supersonic/Manifest
+++ b/media-sound/supersonic/Manifest
@@ -1,2 +1,4 @@
 DIST supersonic-0.15.1-vendor.tar.xz 7992464 BLAKE2B 
67d43aac4b3c4744745bdf0bb4aa1192deb485611c3aea04a73cd496cf4f8975e44c69b570e96301245ff14f8be28a3c58e232b7416675914e1b6fe3646c111c
 SHA512 
5ab811a6d315ca3f067e0dc5d1412f824e7ae191af6320ac3dbf980f497ce9404185f1c17f8beca08058153074d61264d4d2f45772fcb44395096897416477b6
 DIST supersonic-0.15.1.tar.gz 63703443 BLAKE2B 
9eac0acede388a25ee17dda180916f8df5307a33f7146b538c47a91fec79d7facd3d797f70abdf10a83e30448aee7c5ea31060d1f87149ff529afb9727fa6014
 SHA512 
ed120166bf28f4c0fa92ba27b26da8f320621d73bb85f155c37d8451864e2eee3185097545acfb6a6d826a7ebb1a6fc42be32cbac5046e03208aa7e0b4139731
+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

diff --git a/media-sound/supersonic/supersonic-0.15.2.ebuild 
b/media-sound/supersonic/supersonic-0.15.2.ebuild
new file mode 100644
index 000000000..a8046f32a
--- /dev/null
+++ b/media-sound/supersonic/supersonic-0.15.2.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