dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / www-apps / lzc-client-desktop / lzc-client-desktop-1.1.6.ebuild
blob8ecd691afeafca2cdd18cc6bdda869ba81b22960
1 # Copyright 2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit unpacker desktop xdg
8 DESCRIPTION="懒猫微服"
9 HOMEPAGE="https://lazycat.cloud"
10 SRC_URI="https://dl.lazycat.cloud/client/desktop/stable/lzc-client-desktop_v${PV}.tar.zst"
12 S="${WORKDIR}"
13 LICENSE="all-rights-reserved"
14 SLOT=0
15 KEYWORDS="~amd64"
16 RESTRICT="mirror strip bindist"
18 RDEPEND="
19 dev-libs/nss
20 media-libs/alsa-lib
21 media-libs/mesa
22 x11-libs/gtk+:3[X,cups]
23 x11-libs/libxkbcommon
26 QA_PREBUILT="*"
28 src_install() {
29 newicon -s 512 icon.png lzc-client-desktop.png
30 rm icon.png || die
32 domenu "${FILESDIR}/lzc-client.desktop"
33 rm lzc-client.desktop || die
35 insinto /opt/lzc-client-desktop
36 doins -r .
38 fperms +x /opt/lzc-client-desktop/chrome_crashpad_handler
39 fperms +x /opt/lzc-client-desktop/chrome-sandbox
40 fperms +x /opt/lzc-client-desktop/rclone
41 fperms +x /opt/lzc-client-desktop/lzc-client-desktop
42 fperms +x /opt/lzc-client-desktop/core/lzc-core
44 dosym -r /opt/lzc-client-desktop/lzc-client-desktop /opt/bin/lzc-client-desktop