remove ia64 keywords
[gentoo-zh.git] / sci-electronics / lceda-pro / lceda-pro-2.2.34.8.ebuild
blob7699dd3f169906017f9cea2d3aa7c5feadf706f7
1 # Copyright 2023-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit desktop xdg
8 DESCRIPTION="LCEDA Pro (binary package)"
9 HOMEPAGE="https://lceda.cn/"
11 SRC_URI="
12 amd64? ( https://image.lceda.cn/files/${PN}-linux-x64-${PV}.zip )
13 arm64? ( https://image.lceda.cn/files/${PN}-linux-arm64-${PV}.zip )
15 S="${WORKDIR}/lceda-pro"
16 LICENSE="LCEDA-EULA"
17 SLOT="0"
18 KEYWORDS="~amd64 ~arm64"
19 DEPEND="
20 >=app-accessibility/at-spi2-core-2.46.0:2
21 app-crypt/libsecret
22 dev-libs/expat
23 dev-libs/glib
24 dev-libs/nspr
25 dev-libs/nss
26 media-libs/alsa-lib
27 media-libs/mesa
28 net-print/cups
29 sys-apps/dbus
30 sys-apps/util-linux
31 x11-libs/cairo
32 x11-libs/gdk-pixbuf:2
33 x11-libs/gtk+:3[X]
34 x11-libs/libdrm
35 x11-libs/libX11
36 x11-libs/libxcb
37 x11-libs/libXcomposite
38 x11-libs/libXcursor
39 x11-libs/libXdamage
40 x11-libs/libXext
41 x11-libs/libXfixes
42 x11-libs/libXi
43 x11-libs/libxkbcommon
44 x11-libs/libXrandr
45 x11-libs/libXrender
46 x11-libs/libXScrnSaver
47 x11-libs/libxshmfence
48 x11-libs/libXtst
49 x11-libs/pango"
50 RDEPEND="${DEPEND}"
51 BDEPEND="app-arch/unzip"
52 RESTRICT="mirror"
54 QA_PREBUILT="
55 /opt/lceda-pro/chrome-sandbox
56 /opt/lceda-pro/chrome_crashpad_handler
57 /opt/lceda-pro/libEGL.so
58 /opt/lceda-pro/libffmpeg.so
59 /opt/lceda-pro/resources/app/node_modules/sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node
60 /opt/lceda-pro/lceda-pro
61 /opt/lceda-pro/libvk_swiftshader.so
62 /opt/lceda-pro/libGLESv2.so
63 /opt/lceda-pro/libvulkan.so.1
66 src_install(){
67 insinto /opt/lceda-pro
68 doins -r .
69 fperms 0755 /opt/lceda-pro/lceda-pro
70 fperms 0755 /opt/lceda-pro/chrome_crashpad_handler
71 newmenu lceda-pro.dkt LCEDA-pro.desktop