dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / media-sound / qqmusic / qqmusic-1.1.7.ebuild
blob5463b324e524d6d64dfdc5f2da182245efadf24d
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 DESCRIPTION="Tencent QQ Music, converted from .deb package"
9 HOMEPAGE="https://y.qq.com/"
10 SRC_URI="https://dldir1.qq.com/music/clntupate/linux/qqmusic_${PV}_amd64.deb"
12 S="${WORKDIR}"
14 LICENSE="CC0-1.0"
15 SLOT="0"
16 KEYWORDS="-* ~amd64"
17 RESTRICT="strip mirror"
19 RDEPEND="
20 x11-libs/gtk+:3
21 x11-libs/libXScrnSaver
22 dev-libs/nss
25 src_install() {
26 insinto /opt
27 doins -r opt/*
28 fperms +x /opt/qqmusic/{qqmusic,chrome-sandbox,crashpad_handler,libEGL.so,libGLESv2.so,libffmpeg.so,libvk_swiftshader.so,swiftshader/libEGL.so,swiftshader/libGLESv2.so}
29 newbin "${FILESDIR}"/qqmusic.sh qqmusic
30 domenu "${FILESDIR}"/qqmusic.desktop
31 for i in 16 32 64 128 256; do
32 doicon -s $i usr/share/icons/hicolor/"$i"x"$i"/apps/qqmusic.png
33 done
34 gzip -d usr/share/doc/qqmusic/changelog.gz || die
35 dodoc usr/share/doc/qqmusic/changelog