commit: 7bc770d0253a6fb5ecfefb150dafd3c7a345e881 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Mon Jan 6 22:09:41 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Mon Jan 6 22:09:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7bc770d0
media-sound/supersonic: add 0.13.2 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> media-sound/supersonic/Manifest | 2 ++ media-sound/supersonic/supersonic-0.13.2.ebuild | 40 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/media-sound/supersonic/Manifest b/media-sound/supersonic/Manifest index d64780b27..e051dc717 100644 --- a/media-sound/supersonic/Manifest +++ b/media-sound/supersonic/Manifest @@ -2,3 +2,5 @@ DIST supersonic-0.13.0-vendor.tar.xz 8727176 BLAKE2B 34be3feedb7ea5df286b95f260e 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 +DIST supersonic-0.13.2-vendor.tar.xz 8757956 BLAKE2B c228d799e13667350a5e05580ec5cbe9be066d408a81a70cab75cd28be14dd116a8e043a241dc94a702c84d30a514099cee116e1a45315b204272bde8096381b SHA512 2f0699fd7908ed5786a5474523fd2b5aed9e50ad6d23c61e5598f94f05ce5354bb02a3b1ac9e8d16156743a159cadcb118a464a3d122715fc8ca46c3954f1520 +DIST supersonic-0.13.2.tar.gz 63687288 BLAKE2B eb761d39fe29807808b5dbd6070413bb90a93301a445a7ada6168d29b9b184aa319b140ea23a8af6d6e300f2f95cfc6862db7f9abadd8fb364bde3f3963059bc SHA512 b4372f9765f12e95c357717467ef55cd9a84a362c5179365e393405121d7094339e09f8e69a7a813d2cbd55bc8fa71beeefd18203cd28df96d3259fc5b7652e5 diff --git a/media-sound/supersonic/supersonic-0.13.2.ebuild b/media-sound/supersonic/supersonic-0.13.2.ebuild new file mode 100644 index 000000000..a8046f32a --- /dev/null +++ b/media-sound/supersonic/supersonic-0.13.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 +}
