remove ia64 keywords
[gentoo-zh.git] / media-video / tenvideo / tenvideo-1.0.10.ebuild
bloba3501d8223a1ff754ff0a3c5700f4902c3930db0
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
5 inherit unpacker xdg
7 DESCRIPTION="Tencent videos"
8 HOMEPAGE="https://v.qq.com/download.html#linux"
10 KEYWORDS="amd64"
12 SRC_URI="https://dldir1.qq.com/qqtv/linux/Tenvideo_universal_${PV}_amd64.deb"
14 SLOT="0"
15 RESTRICT="strip mirror"
16 LICENSE="tenvideo-privacy"
18 RDEPEND="
19 app-accessibility/at-spi2-atk
20 dev-libs/nss
21 media-libs/alsa-lib
22 x11-libs/gtk+:3
23 x11-libs/libXScrnSaver
26 QA_PREBUILT="*"
28 S="${WORKDIR}"
30 src_install() {
31 sed -i 's/腾讯视频/tenvideo/g' "${S}"/usr/share/applications/TencentVideo.desktop || die
32 insinto /usr/share
33 doins -r "${S}"/usr/share/{applications,icons}
35 insinto /opt/tenvideo
36 doins -r "${S}"/opt/腾讯视频/*
38 fperms 0755 /opt/tenvideo/TencentVideo
39 fperms 4755 /opt/tenvideo/chrome-sandbox