net-proxy/naiveproxy-bin: bump version to 132.0.6384.79_p1
[gentoo-zh.git] / net-proxy / clash-verge-bin / clash-verge-bin-1.7.7-r1.ebuild
blob9f8d39a748e88189b8ff1619cff06dc80207bc39
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
23         net-proxy/mihomo
24         dev-libs/openssl:0/3
27 RDEPEND="${DEPEND}"
29 src_install(){
30         dobin "${S}"/usr/bin/clash-verge
31         insinto /usr/lib/clash-verge
32         doins -r "${S}"/usr/lib/clash-verge/resources
33         dosym -r "/usr/bin/mihomo" "/usr/bin/verge-mihomo"
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