dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / media-sound / lx-music-desktop-bin / lx-music-desktop-bin-2.9.0.ebuild
blob9f61330b41406e9e3f2a5d27bdc10f1b2857425b
1 # Copyright 1999-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit unpacker desktop xdg
7 MY_PN="lx-music-desktop"
8 DESCRIPTION="一个基于 electron 的音乐软件"
9 HOMEPAGE="https://github.com/lyswhut/lx-music-desktop"
10 SRC_URI="
11 amd64? ( https://github.com/lyswhut/lx-music-desktop/releases/download/v${PV}/lx-music-desktop_${PV}_amd64.deb )
12 arm64? ( https://github.com/lyswhut/lx-music-desktop/releases/download/v${PV}/lx-music-desktop_${PV}_arm64.deb )
14 LICENSE="Apache-2.0"
15 SLOT="0"
16 KEYWORDS="-* ~amd64 ~arm64"
17 RDEPEND="x11-libs/gtk+:3[cups]
18 x11-libs/libXScrnSaver
19 dev-libs/nss
20 app-crypt/p11-kit
21 dev-libs/libayatana-appindicator
22 app-accessibility/at-spi2-core[X]
23 app-crypt/libsecret
24 x11-libs/libnotify
26 S="${WORKDIR}"
27 src_install() {
28 insinto /opt
29 doins -r opt/*
30 fperms +x /opt/${MY_PN}/${MY_PN}
31 dosym -r /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN}
32 gzip -d usr/share/doc/${MY_PN}/*.gz || die
33 dodoc usr/share/doc/${MY_PN}/*
34 doicon -s 512 usr/share/icons/hicolor/512x512/apps/lx-music-desktop.png
35 domenu usr/share/applications/lx-music-desktop.desktop