-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-proxy/clash-verge-bin: bump version to 2.0.0
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright 2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit desktop unpacker xdg | ||
|
||
DESCRIPTION="(Continuation) of Clash Meta GUI based on Tauri. " | ||
HOMEPAGE="https://github.com/clash-verge-rev/clash-verge-rev" | ||
SRC_URI=" | ||
amd64? ( https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${PV}/Clash.Verge_${PV}_amd64.deb ) | ||
arm64? ( https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${PV}/Clash.Verge_${PV}_arm64.deb ) | ||
" | ||
|
||
S="${WORKDIR}" | ||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm64" | ||
|
||
DEPEND=" | ||
dev-libs/libayatana-appindicator | ||
net-libs/webkit-gtk:4.1 | ||
dev-libs/openssl:0/3 | ||
" | ||
|
||
RDEPEND="${DEPEND}" | ||
|
||
src_install(){ | ||
dobin "${S}"/usr/bin/clash-verge | ||
dobin "${S}"/usr/bin/verge-mihomo | ||
dobin "${S}"/usr/bin/verge-mihomo-alpha | ||
insinto /usr/lib/clash-verge | ||
doins -r "${S}"/usr/lib/Clash\ Verge/resources | ||
domenu usr/share/applications/Clash\ Verge.desktop | ||
doicon -s 128 usr/share/icons/hicolor/128x128/apps/${PN/-bin}.png | ||
doicon -s 256 usr/share/icons/hicolor/256x256@2/apps/${PN/-bin}.png | ||
doicon -s 32 usr/share/icons/hicolor/32x32/apps/${PN/-bin}.png | ||
} |