actions: nvchecker: add GENTOO_ZH_NVCHECKER_PAT description
[gentoo-zh.git] / net-proxy / clash-verge-bin / clash-verge-bin-1.5.11.ebuild
blob1767ea5615d8824569e96b805a5bd5daaf2347bc
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 LICENSE="GPL-3"
16 SLOT="0"
17 KEYWORDS="~amd64 ~arm64"
19 DEPEND="
20 dev-libs/libayatana-appindicator
21 net-libs/webkit-gtk:4
22 net-proxy/mihomo
23 dev-libs/openssl:0/3
26 RDEPEND="${DEPEND}"
28 S="${WORKDIR}"
30 src_install(){
31 dobin "${S}"/usr/bin/clash-verge
32 insinto /usr/lib/clash-verge
33 doins -r "${S}"/usr/lib/clash-verge/resources
34 domenu usr/share/applications/clash-verge.desktop
35 doicon -s 128 usr/share/icons/hicolor/128x128/apps/${PN/-bin}.png
36 doicon -s 256 usr/share/icons/hicolor/256x256@2/apps/${PN/-bin}.png
37 doicon -s 32 usr/share/icons/hicolor/32x32/apps/${PN/-bin}.png