net-proxy/yass: add 1.16.0, drop 1.15.3
[gentoo-zh.git] / media-video / bilibili / bilibili-1.15.2_p1.ebuild
blobfb120080d4796aa7169360d2bd38bbeb0d37c492
1 # Copyright 2023-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit desktop unpacker xdg
8 MY_PV="${PV/_p/-}"
9 DESCRIPTION="Based on the Bilibli offcial client to linux version, support roaming"
10 HOMEPAGE="https://github.com/msojocs/bilibili-linux"
11 BASE_URI="https://github.com/msojocs/bilibili-linux/releases/download/v${MY_PV}"
12 FPN="io.github.msojocs.${PN}"
13 SRC_URI="${BASE_URI}/${FPN}_${MY_PV}_amd64.deb"
14 S="${WORKDIR}"
15 LICENSE="MIT"
16 SLOT="0"
17 KEYWORDS="-* ~amd64"
19 IUSE="wayland"
21 RDEPEND="
22 dev-libs/nss
23 media-libs/alsa-lib
24 x11-libs/gtk+:*
25 x11-libs/libxkbcommon
26 x11-libs/libX11
27 x11-libs/libXext
28 x11-libs/libxcb
29 x11-misc/xdg-utils
30 wayland? ( dev-libs/wayland )
31 x11-libs/libvdpau
34 QA_PREBUILT="*"
36 src_install() {
37 insinto "/"
38 doins -r "opt"
39 doicon -s "scalable" "usr/share/icons/hicolor/scalable/apps/${FPN}.svg"
40 domenu "usr/share/applications/${FPN}.desktop"
41 fperms +x "/opt/apps/${FPN}/files/bin/bin/bilibili"
42 fperms +x "/opt/apps/${FPN}/files/bin/electron/"{electron,chrome_crashpad_handler,chrome-sandbox}