dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / net-proxy / clash-verge-bin / clash-verge-bin-2.0.2.ebuild
blob30235f81c1623275e54f4c36a5ba9e497d18d695
1 # Copyright 2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit desktop unpacker xdg
8 DESCRIPTION="(Continuation) of Clash Meta GUI based on Tauri. "
9 HOMEPAGE="https://github.com/clash-verge-rev/clash-verge-rev"
10 SRC_URI="
11 amd64? ( https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${PV}/Clash.Verge_${PV}_amd64.deb )
12 arm64? ( https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${PV}/Clash.Verge_${PV}_arm64.deb )
15 S="${WORKDIR}"
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="~amd64 ~arm64"
20 DEPEND="
21 dev-libs/libayatana-appindicator
22 net-libs/webkit-gtk:4.1
23 dev-libs/openssl:0/3
26 RDEPEND="${DEPEND}"
28 src_install(){
29 exeinto /opt/clash-verge/bin
30 doexe "${S}"/usr/bin/*
31 insinto /usr/lib/clash-verge
32 doins -r "${S}"/usr/lib/Clash\ Verge/resources
33 domenu "${FILESDIR}"/clash-verge.desktop
34 doicon -s 128 usr/share/icons/hicolor/128x128/apps/${PN/-bin}.png
35 doicon -s 256 usr/share/icons/hicolor/256x256@2/apps/${PN/-bin}.png
36 doicon -s 32 usr/share/icons/hicolor/32x32/apps/${PN/-bin}.png