dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / media-sound / listen1_desktop-bin / listen1_desktop-bin-2.32.0.ebuild
blobb1a00de3183a5181309c382fce6c1f3a1e538139
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="one for all free music in China"
9 HOMEPAGE="http://listen1.github.io/listen1
10 https://github.com/listen1/listen1_desktop
12 S="${WORKDIR}"
13 SRC_URI="https://github.com/listen1/listen1_desktop/releases/download/v${PV}/listen1_${PV}_linux_amd64.deb -> ${P}.deb"
15 LICENSE="MIT"
16 SLOT="0"
17 KEYWORDS="~amd64"
19 RDEPEND="
20 app-accessibility/at-spi2-core:2
21 dev-libs/expat
22 dev-libs/nspr
23 dev-libs/nss
24 media-libs/alsa-lib
25 media-libs/mesa
26 net-print/cups
27 sys-apps/dbus[X]
28 x11-libs/cairo
29 x11-libs/gdk-pixbuf:2
30 x11-libs/gtk+:3[X]
31 x11-libs/libX11
32 x11-libs/libXcomposite
33 x11-libs/libXdamage
34 x11-libs/libXext
35 x11-libs/libXfixes
36 x11-libs/libXrandr
37 x11-libs/libdrm
38 x11-libs/libxcb
39 x11-libs/libxkbcommon
40 x11-libs/libxshmfence
41 x11-libs/pango
44 QA_PREBUILT="
45 opt/Listen1/chrome-sandbox
46 opt/Listen1/libEGL.so
47 opt/Listen1/libffmpeg.so
48 opt/Listen1/libGLESv2.so
49 opt/Listen1/libvk_swiftshader.so
50 opt/Listen1/libvulkan.so.1
51 opt/Listen1/listen1
52 opt/Listen1/swiftshader/libEGL.so
53 opt/Listen1/swiftshader/libGLESv2.so
56 src_prepare(){
57 default
58 unpack usr/share/doc/listen1/changelog.gz
59 sed -i 's/Audio/AudioVideo/' usr/share/applications/listen1.desktop || die
60 rm opt/Listen1/{LICENSE.electron.txt,LICENSES.chromium.html} || die
63 src_install(){
64 insinto /
65 doins -r opt
67 insinto /usr/share
68 doins -r usr/share/icons
70 dodoc changelog
71 domenu usr/share/applications/listen1.desktop
73 local f
74 for f in ${QA_PREBUILT}; do
75 fperms +x "/${f}"
76 done
77 fperms u+s /opt/Listen1/chrome-sandbox
79 dosym ../../opt/Listen1/listen1 /usr/bin/listen1