commit:     af8231a967c5b199752ca03e15a20374507ab1ee
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Sun Sep  1 15:42:41 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Sep  1 15:42:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af8231a9

media-sound/supersonic: add 0.13.1

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

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

diff --git a/media-sound/supersonic/Manifest b/media-sound/supersonic/Manifest
index 6539eb7b5..03e195364 100644
--- a/media-sound/supersonic/Manifest
+++ b/media-sound/supersonic/Manifest
@@ -2,3 +2,5 @@ DIST supersonic-0.12.0-vendor.tar.xz 8597980 BLAKE2B 
63d4ab29ef686972a91f777e3e1
 DIST supersonic-0.12.0.tar.gz 63643996 BLAKE2B 
91782c2fd7921eeefa0c6e4c0db008ad3db43cfeed00e53adb4eda92491ec98c0f52fab0cd8dc05c6396f6503d1902aea9c9dbd657d215e536dc395998e0a523
 SHA512 
4da62497c8878ea939139a0752426ba6a2443137f46bebab16241dc67e222661614985841442234a38bf17270e62d1b8326598893b68a6359be02078737cd3e4
 DIST supersonic-0.13.0-vendor.tar.xz 8727176 BLAKE2B 
34be3feedb7ea5df286b95f260ec9832d49ce5a1c46b747dcea2340ae44b5a4b77ea1815f78953bd3d8b6577fe4323db6bf9e4dbf6d3b76facdcdb72f34fc6f1
 SHA512 
3a357ed40b69286380a7d550d6e3fc016e194df57ba1f0e02dd8794bc4c0f7311315599f2c79d20d2e5f1f75ca29990b81a49f79febdf3f00e49b305daf27316
 DIST supersonic-0.13.0.tar.gz 63671925 BLAKE2B 
4f8a68f90723db2da3c2a6f16c796b46453b7ad767b0294109c0a92e1630de8a406e7993510e5817893aac1548f7ef8188b57dd73cd343c16524d113f7e96e26
 SHA512 
6cbc2d1f49c977633d3db94896b400a510090c7f8cec7e45b227ed2c9e4e202568182cb63e57755aa2b1c09adf136cbbd5a00d75c583a3c29f2bdf58c5fd2e8c
+DIST supersonic-0.13.1-vendor.tar.xz 8736248 BLAKE2B 
e1431bf5758255d14b613e7bfbf7c9c87205be80e924fb0f2bcf6ee163e71c1330e4d01ec519e929b37f11290c313291aeb5aee4bacf1df21732cabdbb7d02ac
 SHA512 
555ef8334627626bd51d075b3f1a0892e0524e75524587046fce8d2746f5b21d598f23da35daa7dfa645ce48658a22ea0587f3d90bb21fd7ad2439d3f9aa2f5f
+DIST supersonic-0.13.1.tar.gz 63678698 BLAKE2B 
c0bcac53f9cc17cabbfe2fbc4c4e6fa809e0611465862b71561af198e0090266ee8f5d321179c287d249470c00996b3fd0c9bee9807be8e39702107c5eb8fa22
 SHA512 
7153640df2e4fd2e14b9ff14325afd70589960113d1cdd7dbaeaf75d7074152e2bbb5b3b832aa0947f85c625236c3b01116b766ac8524b00e7471a164492435c

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