net-dns/q: new package, add 0.11.1
[gentoo-zh.git] / sci-electronics / lceda / lceda-6.5.29.ebuild
blob261eb9a2fe986bfaf4c6fb70c2a9d8a32268a3ba
1 # Copyright 2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit desktop
8 DESCRIPTION="LCEDA (binary package)"
9 HOMEPAGE="https://lceda.cn/"
10 SRC_URI="https://image.lceda.cn/files/${PN}-linux-x64-${PV}.zip"
12 RESTRICT="mirror"
14 LICENSE="LCEDA-EULA"
15 SLOT="0"
16 KEYWORDS="~amd64"
18 DEPEND="
19 >=app-accessibility/at-spi2-core-2.46.0:2
20 app-crypt/libsecret
21 dev-libs/expat
22 dev-libs/glib
23 dev-libs/nspr
24 dev-libs/nss
25 media-libs/alsa-lib
26 media-libs/mesa
27 net-print/cups
28 sys-apps/dbus
29 sys-apps/util-linux
30 x11-libs/cairo
31 x11-libs/gdk-pixbuf:2
32 x11-libs/gtk+:3
33 x11-libs/libdrm
34 x11-libs/libX11
35 x11-libs/libxcb
36 x11-libs/libXcomposite
37 x11-libs/libXcursor
38 x11-libs/libXdamage
39 x11-libs/libXext
40 x11-libs/libXfixes
41 x11-libs/libXi
42 x11-libs/libxkbcommon
43 x11-libs/libXrandr
44 x11-libs/libXrender
45 x11-libs/libXScrnSaver
46 x11-libs/libxshmfence
47 x11-libs/libXtst
48 x11-libs/pango"
49 RDEPEND="${DEPEND}"
50 BDEPEND="app-arch/unzip"
52 S="${WORKDIR}/lceda-linux-x64"
53 QA_PREBUILT="
54 /opt/lceda/swiftshader/libEGL.so
55 /opt/lceda/swiftshader/libGLESv2.so
56 /opt/lceda/lceda
57 /opt/lceda/libEGL.so
58 /opt/lceda/libffmpeg.so
59 /opt/lceda/libGLESv2.so
62 src_install(){
63 insinto /opt/lceda
64 doins -r .
65 fperms 0755 /opt/lceda/lceda
66 newmenu LCEDA.dkt LCEDA.desktop