commit:     70762f1274631525aa57e2f882cedba40512f323
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Wed Jul 31 09:50:39 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 31 09:50:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70762f12

media-sound/supersonic: add 0.13.0

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

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

diff --git a/media-sound/supersonic/Manifest b/media-sound/supersonic/Manifest
index f4af8e81e..6539eb7b5 100644
--- a/media-sound/supersonic/Manifest
+++ b/media-sound/supersonic/Manifest
@@ -1,2 +1,4 @@
 DIST supersonic-0.12.0-vendor.tar.xz 8597980 BLAKE2B 
63d4ab29ef686972a91f777e3e116862f2aeae6ad54600255124aa67d18b1f589e530f55b569ae9271976fc2ffac1758fba713be9f2ec0dd08e619ec953cb9a6
 SHA512 
c72a5040f59da8d5f4d070864f3aaa9281c97a65823fe05e55a50b5496d0292f33637f794f4f711efd6058194aff6128b0dd4a3f4b9128ca2d616703d1aa99d1
 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

diff --git a/media-sound/supersonic/supersonic-0.13.0.ebuild 
b/media-sound/supersonic/supersonic-0.13.0.ebuild
new file mode 100644
index 000000000..be98364b5
--- /dev/null
+++ b/media-sound/supersonic/supersonic-0.13.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2023 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-video/mpv[libmpv]
+       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"
+       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