app-editors/appflowy-bin: add 0.7.4, drop 0.7.3
[gentoo-zh.git] / sci-electronics / jlc-assistant-bin / jlc-assistant-bin-5.0.69.ebuild
blob70bbb70aaf7095dc326b63e8b6272fbd48fab833
1 # Copyright 2020-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit desktop unpacker xdg
8 MY_PN="${PN/-bin}"
10 DESCRIPTION="JLC Order Assistant (binary package)"
11 HOMEPAGE="https://www.jlc.com/portal/appDownloadsWithConfig.html"
12 SRC_URI="https://download.jlc.com/pcAssit/${PV}/JLCPcAssit-linux-x64-${PV}.zip -> ${P}.zip"
13 S="${WORKDIR}/${MY_PN}-linux-x64-${PV}"
15 LICENSE="JLC-EULA"
16 SLOT="0"
17 KEYWORDS="~amd64"
18 RESTRICT="splitdebug mirror"
20 RDEPEND="
21 >=app-accessibility/at-spi2-core-2.46.0:2
22 app-crypt/libsecret
23 dev-libs/expat
24 dev-libs/glib
25 dev-libs/nspr
26 dev-libs/nss
27 media-libs/alsa-lib
28 media-libs/mesa
29 net-print/cups
30 sys-apps/dbus
31 sys-apps/util-linux
32 x11-libs/cairo
33 x11-libs/gdk-pixbuf:2
34 x11-libs/gtk+:3
35 x11-libs/libdrm
36 x11-libs/libX11
37 x11-libs/libxcb
38 x11-libs/libXcomposite
39 x11-libs/libXcursor
40 x11-libs/libXdamage
41 x11-libs/libXext
42 x11-libs/libXfixes
43 x11-libs/libXi
44 x11-libs/libxkbcommon
45 x11-libs/libXrandr
46 x11-libs/libXrender
47 x11-libs/libXScrnSaver
48 x11-libs/libxshmfence
49 x11-libs/libXtst
50 x11-libs/pango
53 DEPEND="${RDEPEND}"
54 BDEPEND="app-arch/unzip"
56 QA_PREBUILT="opt/${MY_PN}/chrome-sandbox
57 opt/${MY_PN}/chrome_crashpad_handler
58 opt/${MY_PN}/${MY_PN}
59 opt/${MY_PN}/libEGL.so
60 opt/${MY_PN}/libGLESv2.so
61 opt/${MY_PN}/libffmpeg.so
62 opt/${MY_PN}/libvk_swiftshader.so
63 opt/${MY_PN}/libvulkan.so.1
66 src_install() {
67 insinto /opt
68 doins -r "${MY_PN}"
69 local f
70 for f in ${QA_PREBUILT}; do
71 fperms +x "/${f}"
72 done
73 fperms u+s /opt/"${MY_PN}"/chrome-sandbox
75 dosym ../../opt/"${MY_PN}"/"${MY_PN}" /usr/bin/"${MY_PN}"
76 newmenu "${S}"/jlc-assistant/jlc-assistant.dkt "${MY_PN}".desktop