dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / sci-electronics / circuitjs1-bin / circuitjs1-bin-2.9.1.ebuild
blobc66379430b574861edb5449c2b5063548dbeefe0
1 # Copyright 2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 MY_PN=circuitjs1
7 DESCRIPTION="Electronic Circuit Simulator in the Browser"
8 HOMEPAGE="https://www.falstad.com/circuit https://github.com/sharpie7/circuitjs1"
9 SRC_URI="https://www.falstad.com/circuit/offline/${MY_PN}-linux64.tgz -> ${P}.tar.gz"
11 S="${WORKDIR}/${MY_PN}"
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="~amd64"
17 # file * | grep ELF | cut -d: -f 1 | xargs -i ldd {} | grep '/usr' | cut -d' ' -f 3 | sort | uniq | xargs -i qfile {}
18 DEPEND="
19 app-accessibility/at-spi2-core
20 app-arch/brotli
21 app-crypt/p11-kit
22 dev-libs/glib
23 dev-libs/nettle
24 dev-libs/nspr
25 dev-libs/nss
26 media-gfx/graphite2
27 media-libs/alsa-lib
28 media-libs/mesa
29 net-dns/libidn2
30 net-libs/gnutls
31 net-print/cups
32 sys-libs/libcap
33 x11-libs/gdk-pixbuf:2
34 x11-libs/gtk+:3
35 x11-libs/libX11
36 x11-libs/libXau
37 x11-libs/libxcb
38 x11-libs/libXcomposite
39 x11-libs/libXcursor
40 x11-libs/libXdamage
41 x11-libs/libXdmcp
42 x11-libs/libXext
43 x11-libs/libXfixes
44 x11-libs/libXi
45 x11-libs/libxkbcommon
46 x11-libs/libXrandr
47 x11-libs/libXrender
48 x11-libs/libXScrnSaver
49 x11-libs/libXtst
50 x11-libs/pango
52 RDEPEND="${DEPEND}"
54 QA_PREBUILT="
55 /opt/circuitjs1/libGLESv2.so
56 /opt/circuitjs1/circuitjs1
57 /opt/circuitjs1/libffmpeg.so
58 /opt/circuitjs1/libEGL.so
59 /opt/circuitjs1/libvk_swiftshader.so
60 /opt/circuitjs1/swiftshader/libGLESv2.so
61 /opt/circuitjs1/swiftshader/libEGL.so
64 QA_FLAGS_IGNORED="
65 /opt/circuitjs1/chrome-sandbox
66 /opt/circuitjs1/libvulkan.so
69 src_install(){
70 insinto "/opt/${PN}"
71 doins -r .
72 fperms 0755 "/opt/${PN}/${MY_PN}"
73 dosym "../../opt/${PN}/${MY_PN}" "/usr/bin/${MY_PN}"