commit:     4a34ab904162986c9b006dd3253df6f9723e69e4
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Aug  6 09:23:56 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Tue Aug  6 09:23:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a34ab90

media-sound/supersonic: add missing RDEPENDs

Closes: https://bugs.gentoo.org/937444
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 media-sound/supersonic/supersonic-0.13.0-r1.ebuild | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)

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