mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
media-sound/supersonic: add 0.21.1
Signed-off-by: David Roman <stkw0@disroot.org>
This commit is contained in:
2 files changed
+42
No files matched your search
@@ -4,3 +4,5 @@ DIST supersonic-0.20.1-vendor.tar.xz 8159712 BLAKE2B 31eb339c2321483730163498fdd
|
||||
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
|
||||
DIST supersonic-0.21.1-vendor.tar.xz 8086812 BLAKE2B 1b0e4c1d1ee04531828760f143c4669b7b6565e17a15fdaf04702976a18fe4d75921f7498240751f56295110f40f2aea2d117deb16ceb44523be5c82b460c761 SHA512 0d2f98b18650ec6d8a334fa10c0cade4d4263976a98d25f1e4954c8ab6cc1c6fe1346405ab8fd8a69ae55ae413733c66e6385b79df238954a3693f43fae2f76b
|
||||
DIST supersonic-0.21.1.tar.gz 63763778 BLAKE2B ac158fcc7b865ff490dac2bed9185400e27a20918b08c89bc4893530b5369cc77787c66bcbc3aacb7c13a42d214be09c173dee58ad66add96cf364fa14412bc3 SHA512 49899ead6a166f990561c6b0e7e876fba2556ce380a9448cfd693da7cdbaaad0ec2b691b2352f26c8401fc73e920f598fbdf9051a2fc04b33441bee025b9c90c
|
||||
@@ -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