| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 30.5.0 | 8 | amd64 ~arm64 ~ppc64 ~x86 | $(ver_cut 1)/$(ver_cut 2-) |
<pkgmetadata> <maintainer type="person"> <email>PF4Public@users.noreply.github.com</email> </maintainer> <longdescription> Electron is a cross platform application development framework based on web technologies based on Chromium </longdescription> <use> <flag name="bluetooth">Enable Bluetooth. Disabling bluetooth does break WebAuthn. Could also break something else. Improved patch is welcome.</flag> <flag name="clang">Use Clang compiler instead of GCC</flag> <flag name="debug">Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use.</flag> <flag name="dev-dependencies">Keep Electron's devDependencies. This makes them available in node_modules. For example "asar" utility is one of them.</flag> <flag name="gtk4">Build with GTK4 headers</flag> <flag name="hangouts">Enable support for Google Hangouts features such as screen sharing</flag> <flag name="hevc">Enable HEVC decoding support. Should work with system-ffmpeg, but might require additional patching for the built-in one.</flag> <flag name="js-type-check">Enable JavaScript type-checking for Chrome's web technology-based UI. Requires Java.</flag> <flag name="libcxx">Use bundled C++ Standard Library (libc++)</flag> <flag name="nvidia">Use libXNVCtrl library from <pkg>x11-drivers/nvidia-drivers</pkg> instead of the bundled one</flag> <flag name="optimize-thinlto">Whether to enable ThinLTO optimizations. Turning ThinLTO optimizations on can substantially increase link time and binary size, but they generally also make binaries a fair bit faster.</flag> <flag name="optimize-webui">Optimize parts of Chromium's UI written with web technologies (HTML/CSS/JS) for runtime performance purposes. This does more work at compile time for speed benefits at runtime.</flag> <flag name="pax-kernel">Allow building on a PaX-enabled kernel</flag> <flag name="pgo">Enable PGO. Requires bundled binary profile data in sources tree. Often requires masked/testing llvm.</flag> <flag name="pic">Disable optimized assembly code that is not PIC friendly</flag> <flag name="proprietary-codecs">Enable proprietary codecs like H.264, MP3</flag> <flag name="screencast">Enable support for remote desktop and screen cast using <pkg>media-video/pipewire</pkg></flag> <flag name="suid">Build the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels</flag> <flag name="system-abseil-cpp">Use the system <pkg>dev-cpp/abseil-cpp</pkg> instead of the bundled one</flag> <flag name="system-av1">Use the system <pkg>media-libs/libaom</pkg> and <pkg>media-libs/dav1d</pkg> instead of the bundled ones</flag> <flag name="system-brotli">Use the system <pkg>app-arch/brotli</pkg> instead of the bundled one</flag> <flag name="system-crc32c">Use the system <pkg>dev-libs/crc32c</pkg> instead of the bundled one</flag> <flag name="system-double-conversion">Use the system <pkg>dev-libs/double-conversion</pkg> instead of the bundled one</flag> <flag name="system-ffmpeg">Use the system <pkg>media-video/ffmpeg</pkg> instead of the bundled one</flag> <flag name="system-harfbuzz">Use the system <pkg>media-libs/harfbuzz</pkg> instead of the bundled one</flag> <flag name="system-icu">Use the system <pkg>dev-libs/icu</pkg> instead of the bundled one</flag> <flag name="system-jsoncpp">Use the system <pkg>dev-libs/jsoncpp</pkg> instead of the bundled one</flag> <flag name="system-libevent">Use the system <pkg>dev-libs/libevent</pkg> instead of the bundled one</flag> <flag name="system-libusb">Use the system <pkg>dev-libs/libusb</pkg> instead of the bundled one</flag> <flag name="system-libvpx">Use the system <pkg>media-libs/libvpx</pkg> instead of the bundled one</flag> <flag name="system-openh264">Use the system <pkg>media-libs/openh264</pkg> instead of the bundled one. If disabled, it will restrict USE=bindist.</flag> <flag name="system-openjpeg">Use the system-wide <pkg>media-libs/openjpeg</pkg> instead of the bundled one. OpenJPEG use are exclusively for Chromium's PDF viewer.</flag> <flag name="system-png">Use system libpng instead of the bundled one</flag> <flag name="system-re2">Use the system-wide <pkg>dev-libs/re2</pkg> instead of the bundled one</flag> <flag name="system-snappy">Use the system-wide <pkg>app-arch/snappy</pkg> instead of the bundled one</flag> <flag name="system-woff2">Use the system <pkg>media-libs/woff2</pkg> instead of the bundled one</flag> <flag name="system-zstd">Use the system <pkg>app-arch/zstd</pkg> instead of the bundled one</flag> <flag name="thinlto">Build with ThinLTO support. LTO (Link Time Optimization) achieves better runtime performance through whole-program analysis and cross-module optimization (highly recommended).</flag> <flag name="ungoogled">Apply ungoogled-chromium modifications to chromium sources (electron sources are untouched be it better or worse). Not yet thoroughly tested! Might break electron apps or electron itself!</flag> </use> <upstream> <doc>https://www.electronjs.org/docs</doc> <bugs-to>https://github.com/electron/electron/issues</bugs-to> <remote-id type="github">electron/electron</remote-id> </upstream> </pkgmetadata>
| Flag | Description | 30.5.0 |
|---|---|---|
| ${BASH_REMATCH[1]}system-${BASH_REMATCH[2]} | ⚠️ | ✓ |
| X | ⚠️ | ⊕ |
| bluetooth | Enable Bluetooth. Disabling bluetooth does break WebAuthn. Could also break something else. Improved patch is welcome. | ✓ |
| clang | Use Clang compiler instead of GCC | ⊕ |
| cpu_flags_arm_neon | ⚠️ | ✓ |
| cups | ⚠️ | ✓ |
| custom-cflags | ⚠️ | ⊕ |
| debug | Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. | ✓ |
| dev-dependencies | Keep Electron's devDependencies. This makes them available in node_modules. For example "asar" utility is one of them. | ✓ |
| gtk4 | Build with GTK4 headers | ✓ |
| hangouts | Enable support for Google Hangouts features such as screen sharing | ✓ |
| hevc | Enable HEVC decoding support. Should work with system-ffmpeg, but might require additional patching for the built-in one. | ✓ |
| kerberos | ⚠️ | ✓ |
| libcxx | Use bundled C++ Standard Library (libc++) | ✓ |
| nvidia | Use libXNVCtrl library from <pkg>x11-drivers/nvidia-drivers</pkg> instead of the bundled one | ✓ |
| optimize-thinlto | Whether to enable ThinLTO optimizations. Turning ThinLTO optimizations on can substantially increase link time and binary size, but they generally also make binaries a fair bit faster. | ✓ |
| optimize-webui | Optimize parts of Chromium's UI written with web technologies (HTML/CSS/JS) for runtime performance purposes. This does more work at compile time for speed benefits at runtime. | ✓ |
| pax-kernel | Allow building on a PaX-enabled kernel | ✓ |
| pgo | Enable PGO. Requires bundled binary profile data in sources tree. Often requires masked/testing llvm. | ✓ |
| proprietary-codecs | Enable proprietary codecs like H.264, MP3 | ⊕ |
| pulseaudio | ⚠️ | ✓ |
| screencast | Enable support for remote desktop and screen cast using <pkg>media-video/pipewire</pkg> | ✓ |
| selinux | ⚠️ | ✓ |
| thinlto | Build with ThinLTO support. LTO (Link Time Optimization) achieves better runtime performance through whole-program analysis and cross-module optimization (highly recommended). | ✓ |
| ungoogled | Apply ungoogled-chromium modifications to chromium sources (electron sources are untouched be it better or worse). Not yet thoroughly tested! Might break electron apps or electron itself! | ⊕ |
| vaapi | ⚠️ | ✓ |
| wayland | ⚠️ | ✓ |
| Type | File | Size |
|---|---|---|
| AUX | 0003-Fix-build-in-Python-3.11-invalid-mode-rU.patch | 1876 bytes |
| AUX | bad-font-gc0.patch | 10661 bytes |
| AUX | bad-font-gc00.patch | 6590 bytes |
| AUX | bad-font-gc000.patch | 3855 bytes |
| AUX | bad-font-gc0000.patch | 18334 bytes |
| AUX | bad-font-gc1.patch | 10743 bytes |
| AUX | bad-font-gc11.patch | 16402 bytes |
| AUX | bad-font-gc2.patch | 160717 bytes |
| AUX | bad-font-gc3.patch | 1792 bytes |
| AUX | base_to_address.patch | 28251 bytes |
| AUX | callee_saved_registers.diff | 96896 bytes |
| AUX | cherry-pick-2b30a50d0e62.patch | 1066 bytes |
| AUX | cherry-pick-f58218891f8c.patch | 750 bytes |
| AUX | chromium-101-libxml-unbundle.patch | 309 bytes |
| AUX | chromium-104-swiftshader-no-wayland.patch | 1432 bytes |
| AUX | chromium-104-tflite-system-zlib.patch | 3296 bytes |
| AUX | chromium-105-swiftshader-no-wayland.patch | 401 bytes |
| AUX | chromium-106-python3_11.patch | 274 bytes |
| AUX | chromium-106-revert-GlobalMediaControlsCastStartStop.patch | 1472 bytes |
| AUX | chromium-107-system-zlib.patch | 423 bytes |
| AUX | chromium-108-EnumTable-crash.patch | 2974 bytes |
| AUX | chromium-108-revert-GlobalMediaControlsCastStartStop.patch | 1389 bytes |
| AUX | chromium-109-system-icu.patch | 2096 bytes |
| AUX | chromium-109-system-openh264.patch | 577 bytes |
| AUX | chromium-109-system-zlib.patch | 440 bytes |
| AUX | chromium-111-InkDropHost-crash.patch | 1066 bytes |
| AUX | chromium-112-libstdc++-1.patch | 3045 bytes |
| AUX | chromium-112-libstdc++.patch | 2874 bytes |
| AUX | chromium-112-sql-relax.patch | 2064 bytes |
| AUX | chromium-113-gcc-13-0001-vulkanmemoryallocator.patch | 390 bytes |
| AUX | chromium-113-swiftshader-cstdint.patch | 1715 bytes |
| AUX | chromium-114-compiler-custom-cflags.patch | 8672 bytes |
| AUX | chromium-114-compiler.patch | 6141 bytes |
| AUX | chromium-114-remove-evdev-dep.patch | 1476 bytes |
| AUX | chromium-115-binutils-2.41.patch | 2182 bytes |
| AUX | chromium-117-system-zstd.patch | 998 bytes |
| AUX | chromium-118-ffmpeg.patch | 1684 bytes |
| AUX | chromium-119.0.6045.159-icu-74.patch | 827 bytes |
| AUX | chromium-120-autofill-clang.patch | 1437 bytes |
| AUX | chromium-120-libstdc++.patch | 25048 bytes |
| AUX | chromium-120-libxml.patch | 1534 bytes |
| AUX | chromium-121-qrcode-r1.patch | 2580 bytes |
| AUX | chromium-122-cfi-no-split-lto-unit.patch | 432 bytes |
| AUX | chromium-123-cloud_authenticator.patch | 464 bytes |
| AUX | chromium-123-libstdc++.patch | 25706 bytes |
| AUX | chromium-123-qrcode.patch | 2100 bytes |
| AUX | chromium-123-stats-collector.patch | 1045 bytes |
| AUX | chromium-124-libstdc++.patch | 24881 bytes |
| AUX | chromium-124-libwebp-shim-sharpyuv.patch | 870 bytes |
| AUX | chromium-125-cloud_authenticator.patch | 627 bytes |
| AUX | chromium-125-ninja-1-12.patch | 695 bytes |
| AUX | chromium-125-oauth2-client-switches.patch | 2091 bytes |
| AUX | chromium-125-system-zstd.patch | 1244 bytes |
| AUX | chromium-126-oauth2-client-switches.patch | 2214 bytes |
| AUX | chromium-126-observers-fix.patch | 671 bytes |
| AUX | chromium-127-cargo_crate.patch | 299 bytes |
| AUX | chromium-127-crabby.patch | 1894 bytes |
| AUX | chromium-127-separate-qt56.patch | 3065 bytes |
| AUX | chromium-127-ui_lens.patch | 374 bytes |
| AUX | chromium-128-cloud_management.patch | 475 bytes |
| AUX | chromium-128-fontations.patch | 3040 bytes |
| AUX | chromium-128-gtk-fix-prefers-color-scheme-query.patch | 1986 bytes |
| AUX | chromium-128-libstdc++.patch | 4643 bytes |
| AUX | chromium-128-profile_invalidation.patch | 333 bytes |
| AUX | chromium-93-InkDropHost-crash.patch | 1134 bytes |
| AUX | chromium-93-ffmpeg-4.4.patch | 2277 bytes |
| AUX | chromium-97-arm-tflite-cast.patch | 1218 bytes |
| AUX | chromium-98-EnumTable-crash.patch | 2854 bytes |
| AUX | chromium-98-gtk4-build.patch | 3044 bytes |
| AUX | chromium-98-system-libdrm.patch | 1018 bytes |
| AUX | chromium-99-opus.patch | 556 bytes |
| AUX | chromium-cross-compile.patch | 323 bytes |
| AUX | chromium-shim_headers.patch | 1510 bytes |
| AUX | chromium-system-abseil.patch | 4525 bytes |
| AUX | chromium-system-brotli.patch | 207 bytes |
| AUX | chromium-system-openjpeg-r3.patch | 1078 bytes |
| AUX | chromium-system-openjpeg-r4.patch | 1035 bytes |
| AUX | chromium-use-oauth2-client-switches-as-default.patch | 1085 bytes |
| AUX | clang-15-fixes.patch | 2906 bytes |
| AUX | clang-15.patch | 1082 bytes |
| AUX | clang-19-fix.patch | 4710 bytes |
| AUX | compiler.patch | 11577 bytes |
| AUX | disable-bluez-electron-r2.patch | 2359 bytes |
| AUX | disable-bluez-electron-r3.patch | 2297 bytes |
| AUX | disable-bluez-electron.patch | 1693 bytes |
| AUX | disable-bluez-r1.patch | 3265 bytes |
| AUX | disable-bluez.patch | 3329 bytes |
| AUX | electron-launcher.sh | 405 bytes |
| AUX | feat_add_uv_loop_interrupt_on_io_change_option_to_uv_loop_configure.patch | 6386 bytes |
| AUX | ffmpeg-nb_coded_side_data-dolby.diff | 896 bytes |
| AUX | ffmpeg-nb_coded_side_data-r1.patch | 9732 bytes |
| AUX | ffmpeg-nb_coded_side_data.patch | 9954 bytes |
| AUX | fix-official.patch | 224 bytes |
| AUX | font-gc-r1.patch | 2623 bytes |
| AUX | gcc-13/gcc-13-angle-ShaderVars.patch | 291 bytes |
| AUX | gcc-13/gcc-13-base.patch | 969 bytes |
| AUX | gcc-13/gcc-13-cc-targetproperty.patch | 814 bytes |
| AUX | gcc-13/gcc-13-components.patch | 3151 bytes |
| AUX | gcc-13/gcc-13-dawn.patch | 1273 bytes |
| AUX | gcc-13/gcc-13-documentattachmentinfo.patch | 930 bytes |
| AUX | gcc-13/gcc-13-encounteredsurfacetracker.patch | 1080 bytes |
| AUX | gcc-13/gcc-13-gcc-incomplete-type-v8-subtype.patch | 1589 bytes |
| AUX | gcc-13/gcc-13-gpu_feature_info.patch | 934 bytes |
| AUX | gcc-13/gcc-13-maldoca.patch | 585 bytes |
| AUX | gcc-13/gcc-13-misc.patch | 7975 bytes |
| AUX | gcc-13/gcc-13-net.patch | 1112 bytes |
| AUX | gcc-13/gcc-13-openscreen.patch | 1105 bytes |
| AUX | gcc-13/gcc-13-pdfium.patch | 914 bytes |
| AUX | gcc-13/gcc-13-perfetto-uuid.patch | 314 bytes |
| AUX | gcc-13/gcc-13-quiche.patch | 778 bytes |
| AUX | gcc-13/gcc-13-ruy.patch | 517 bytes |
| AUX | gcc-13/gcc-13-s2cellid.patch | 860 bytes |
| AUX | gcc-13/gcc-13-swiftshader.patch | 915 bytes |
| AUX | gcc-13/gcc-13-tensorflow-tflite.patch | 594 bytes |
| AUX | gcc-13/gcc-13-vulkanmemoryallocator.patch | 401 bytes |
| AUX | gcc-13/gcc-13-webrtc.patch | 356 bytes |
| AUX | gtk-fix-prefers-color-scheme-query.diff | 1972 bytes |
| AUX | is_standard_layout_trait.diff | 7555 bytes |
| AUX | jsoncpp.gn | 764 bytes |
| AUX | libusb.gn | 502 bytes |
| AUX | musl/allocator_shim_musl_quickfix.patch | 1008 bytes |
| AUX | musl/chromium-revert-drop-of-system-java.patch | 827 bytes |
| AUX | musl/crashpad-no-cdef.patch | 1093 bytes |
| AUX | musl/dawn-includes-fix.patch | 571 bytes |
| AUX | musl/disable-dns_config_service.patch | 421 bytes |
| AUX | musl/disable-failing-tests.patch | 11041 bytes |
| AUX | musl/fc-cache-version.patch | 536 bytes |
| AUX | musl/fix-missing-cstdint-include-musl.patch | 537 bytes |
| AUX | musl/fix-opus.patch | 616 bytes |
| AUX | musl/fstatat-32bit.patch | 695 bytes |
| AUX | musl/gdbinit.patch | 616 bytes |
| AUX | musl/generic-sensor-include.patch | 372 bytes |
| AUX | musl/import-version.patch | 641 bytes |
| AUX | musl/libsync-remove-cdef.patch | 843 bytes |
| AUX | musl/mman.patch | 574 bytes |
| AUX | musl/musl-auxv.patch | 252 bytes |
| AUX | musl/musl-sandbox.patch | 5305 bytes |
| AUX | musl/musl-tid-caching.patch | 2147 bytes |
| AUX | musl/musl-v8-monotonic-pthread-cont_timedwait.patch | 913 bytes |
| AUX | musl/no-execinfo.patch | 2235 bytes |
| AUX | musl/no-mallinfo.patch | 4688 bytes |
| AUX | musl/no-res-ninit-nclose.patch | 1039 bytes |
| AUX | musl/no-sandbox-settls.patch | 631 bytes |
| AUX | musl/partalloc-no-tagging-arm64.patch | 550 bytes |
| AUX | musl/perfetto-libstdc++.patch | 809 bytes |
| AUX | musl/pvalloc.patch | 1396 bytes |
| AUX | musl/quiche-array.patch | 303 bytes |
| AUX | musl/random-fixes.patch | 5029 bytes |
| AUX | musl/remove-libatomic.patch | 1162 bytes |
| AUX | musl/temp-failure-retry.patch | 713 bytes |
| AUX | musl/yes-musl.patch | 450 bytes |
| AUX | node | 76 bytes |
| AUX | node-gyp | 169 bytes |
| AUX | openssl_fips-r2.patch | 323 bytes |
| AUX | perfetto-system-zlib.patch | 433 bytes |
| AUX | ppc64le/fix-breakpad-compile.patch | 1601 bytes |
| AUX | ppc64le/fix-swiftshader-compile.patch | 1112 bytes |
| AUX | ppc64le/libpng-pdfium-compile-98.patch | 412 bytes |
| AUX | python-3.11.patch | 240 bytes |
| AUX | restore-x86-r2.patch | 631 bytes |
| AUX | restore-x86.patch | 2743 bytes |
| AUX | reverse-roll-src-third_party-ffmpeg.patch | 12334 bytes |
| AUX | reverse-roll-src-third_party-ffmpeg_duration.patch | 902 bytes |
| AUX | sql-VirtualCursor-standard-layout.patch | 8289 bytes |
| AUX | unbundle-ffmpeg-av_stream_get_first_dts.patch | 393 bytes |
| AUX | ungoogled-chromium-121-ConvertTo-r1.patch | 4114 bytes |
| AUX | ungoogled-electron.patch | 847 bytes |
| AUX | vaapi-av1.diff | 2324 bytes |
| AUX | vdpau-support-r4.patch | 2356 bytes |
| AUX | without-tflite.patch | 1226 bytes |
| DIST | angle-2f934a47e9709cac9ce04d312b7aa496948bced6.patch | 2286 bytes |
| DIST | chromium-072b9f3bc340020325cf3dd7bff1991cd22de171.patch | 1391 bytes |
| DIST | chromium-15e24abc1646ad9984923234a041cd0c3b8b1607.patch | 1510 bytes |
| DIST | chromium-23646607e16c63231ae9f49ce5355c270145cf30.patch | 1747 bytes |
| DIST | chromium-37ef38092ab783d0126922e8d463024341c481b9.patch | 1397 bytes |
| DIST | chromium-59843523390481e52d3a397687a09a7582c44114.patch | 1269 bytes |
| DIST | chromium-8be4d17beb71c29118c3337268f3e7b3930a657f.patch | 1611 bytes |
| DIST | chromium-b3330cb62d7be253a5b99e40b88e2290c329ac08.patch | 1139 bytes |
| DIST | chromium-df291ec5472fa14e828633378b8c97a8c7a2e7de.patch | 1461 bytes |
| DIST | chromium-patches-124.tar.bz2 | 4706 bytes |
| DIST | quiche-c1af894e0f5c4f732a983e7c93227854e203570e.patch | 1459 bytes |
| EBUILD | electron-30.5.0.ebuild | 130452 bytes |
| MISC | metadata.xml | 5350 bytes |