mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
media-sound/supersonic: add 0.21.0
Signed-off-by: David Roman <stkw0@disroot.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST supersonic-0.20.0-vendor.tar.xz 8117896 BLAKE2B 14386006fc8c7a69f22c4a8db3b
|
||||
DIST supersonic-0.20.0.tar.gz 63758696 BLAKE2B 9d96bb2b1326b75695b58b8c2bc37bab899ae8dcaec1e2757081b22c782be4b7a116d3b702f0cc786f16270b59b86754e49ec6d76a2923e19e42133399de7828 SHA512 9101da25bbe82d237288931372ad5d42a5722f47b5172136f181bc24c6744161a7e0c38438bc85060b36c0f4f6d463171536861630daa492b915e827f6624163
|
||||
DIST supersonic-0.20.1-vendor.tar.xz 8159712 BLAKE2B 31eb339c2321483730163498fddcbaef1365766e9ab91ddc89869c7534184bb6be01183d276f01f69a4458b0ac2f95d63db39461737fa629319ec4c45adcede9 SHA512 707868121ebe0951e409b0e2a179b598bacf2d40c355db52e1eae3a148e03c2ba02fe2114c0556302335860be99c099e6ab689e59848b09e4f18561daa7ad3ca
|
||||
DIST supersonic-0.20.1.tar.gz 63763926 BLAKE2B c403e775a7cf9bec0160e426208908101096086ab22db8bed25ce8b95f33440e12906a2acbff172404fe2966a9748ca38ce9e38dabb905f549ff7776e36d0ea8 SHA512 087fe46e480bb12ba714e47625e9319e508f146e32d178397773f1209ceda258283b421c4df5f9ef0a947b46e1e1a558eae17ac4cb7f1fee8d388082620bfdef
|
||||
DIST supersonic-0.21.0-vendor.tar.xz 8089560 BLAKE2B 2ce714dad807c093f6cb615f3a4423ec4486aa36b50c643696908570a0f7987a47ad9e855fe01e5db4e8b432697ef4096f7f0771aef7bea3e907e84babcd6209 SHA512 4feb48bc9d60df20f5ae0feb49a7d98ba932cbf701b87b602763cebb5b088ab4e69779ae8f2807e9ccdaf3127dac992f791e2a26786b56f12f3b2afaac4c9333
|
||||
DIST supersonic-0.21.0.tar.gz 63762171 BLAKE2B acd754a9bb9dcebd116ca1fdcc0e454cbeea98695923c9e5f2691fab00f4af3f02a8a832acaa484d840b2d60ac23776799336bc9aa20bcc1504594496cb59e03 SHA512 a6e4f416f644719a903227b50ac1d63a539fc4a1c450b74c5773f490fb5063326455d308da082bc17e38d3634176bf64f18e894cbcf8aa43e558d595962601a0
|
||||
|
||||
40
media-sound/supersonic/supersonic-0.21.0.ebuild
Normal file
40
media-sound/supersonic/supersonic-0.21.0.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2023-2026 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://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${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
|
||||
}
|
||||
Reference in New Issue
Block a user