1 # Copyright 2020-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit desktop unpacker xdg
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}"
18 RESTRICT="splitdebug mirror"
21 >=app-accessibility/at-spi2-core-2.46.0:2
38 x11-libs/libXcomposite
47 x11-libs/libXScrnSaver
54 BDEPEND="app-arch/unzip"
56 QA_PREBUILT="opt/${MY_PN}/chrome-sandbox
57 opt/${MY_PN}/chrome_crashpad_handler
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
70 for f in ${QA_PREBUILT}; do
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