| Port details |
- electron40 Build cross-platform desktop apps with JavaScript, HTML, and CSS
- 40.10.0 devel
=0 40.8.3_1Version of this port present on the latest quarterly branch. - Maintainer: tagattie@FreeBSD.org
 - Port Added: 2026-02-08 07:27:05
- Last Update: 2026-05-11 12:42:54
- Commit Hash: 9d4405b
- License: BSD3CLAUSE LGPL21 MPL11 MIT
- WWW:
- https://electronjs.org/
- Description:
- Build cross platform desktop apps with JavaScript, HTML, and CSS.
It's easier than you think.
If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- electron40>0:devel/electron40
- To install the port:
- cd /usr/ports/devel/electron40/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/electron40
- pkg install electron40
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: electron40
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386
- distinfo:
- TIMESTAMP = 1778490992
SHA256 (electron/chromium-144.0.7559.236.tar.xz.0) = 21556e44d5f5e464a7603afc1e912127c4546d3c55d777055614b769247d2714
SIZE (electron/chromium-144.0.7559.236.tar.xz.0) = 2000000000
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- esbuild : devel/esbuild
- gperf : devel/gperf
- bindgen : devel/rust-bindgen-cli
- yasm : devel/yasm
- dri.pc : graphics/mesa-dri
- rustc : lang/rust
- videodev2.h : multimedia/v4l_compat
- node24>0 : www/node24
- npm-node24>0 : www/npm-node24
- bison : devel/bison
- node : www/node24
- node24>0 : www/node24
- zip : archivers/zip
- yq : textproc/yq
- gettext-tools>=0.26 : devel/gettext-tools
- gmake>=4.4.1 : devel/gmake
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- clang21 : devel/llvm21
- nasm : devel/nasm
- xorgproto>=0 : x11/xorgproto
- x11.pc : x11/libX11
- xcb.pc : x11/libxcb
- xcomposite.pc : x11/libXcomposite
- xcursor.pc : x11/libXcursor
- xdamage.pc : x11/libXdamage
- xext.pc : x11/libXext
- xfixes.pc : x11/libXfixes
- xi.pc : x11/libXi
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xscrnsaver.pc : x11/libXScrnSaver
- xtst.pc : x11/libXtst
- qt5-buildtools>=5.15 : devel/qt5-buildtools
- libQt5Core.so : devel/qt5-core
- libQt5Widgets.so : x11-toolkits/qt5-widgets
- Test dependencies:
-
- git : devel/git
- py311-python-dbusmock>0 : devel/py-python-dbusmock@py311
- Xvfb : x11-servers/xorg-server@xvfb
- 8x13O.pcf.gz : x11-fonts/xorg-fonts-miscbitmaps
- fonts.alias : x11-fonts/font-alias
- base : x11/xkeyboard-config
- xkbcomp : x11/xkbcomp
- python3.11 : lang/python311
- Runtime dependencies:
-
- xdg-open : devel/xdg-utils
- libasound_module_pcm_oss.so : audio/alsa-plugins
- alsa-lib>=1.1.1_1 : audio/alsa-lib
- x11.pc : x11/libX11
- xcb.pc : x11/libxcb
- xcomposite.pc : x11/libXcomposite
- xcursor.pc : x11/libXcursor
- xdamage.pc : x11/libXdamage
- xext.pc : x11/libXext
- xfixes.pc : x11/libXfixes
- xi.pc : x11/libXi
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xscrnsaver.pc : x11/libXScrnSaver
- xtst.pc : x11/libXtst
- Library dependencies:
-
- libatk-bridge-2.0.so : accessibility/at-spi2-core
- libatspi.so : accessibility/at-spi2-core
- libFLAC.so : audio/flac
- libopus.so : audio/opus
- libdbus-1.so : devel/dbus
- libepoll-shim.so : devel/libepoll-shim
- libevent.so : devel/libevent
- libffi.so : devel/libffi
- libnotify.so : devel/libnotify
- libpci.so : devel/libpci
- libnspr4.so : devel/nspr
- libre2.so : devel/re2
- libdrm.so : graphics/libdrm
- libpng.so : graphics/png
- libwayland-client.so : graphics/wayland
- libwebp.so : graphics/webp
- libdav1d.so : multimedia/dav1d
- libva.so : multimedia/libva
- libopenh264.so : multimedia/openh264
- libfreetype.so : print/freetype2
- libharfbuzz.so : print/harfbuzz
- libsecret-1.so : security/libsecret
- libnss3.so : security/nss
- libexpat.so : textproc/expat2
- libxkbcommon.so : x11/libxkbcommon
- libxshmfence.so : x11/libxshmfence
- libfontconfig.so : x11-fonts/fontconfig
- libasound.so : audio/alsa-lib
- libcups.so : print/cups
- libpipewire-0.3.so : multimedia/pipewire
- libsndio.so : audio/sndio
- libgbm.so : graphics/mesa-libs
- libGL.so : graphics/libglvnd
- libGLESv2.so : graphics/libglvnd
- libatk-1.0.so : accessibility/at-spi2-core
- libcairo.so : graphics/cairo
- libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- libgtk-3.so : x11-toolkits/gtk30
- libxml2.so : textproc/libxml2
- libxslt.so : textproc/libxslt
- libharfbuzz.so : print/harfbuzz
- libpango-1.0.so : x11-toolkits/pango
- libiconv.so : converters/libiconv
- libjpeg.so : graphics/jpeg-turbo
- Fetch dependencies:
-
- git : devel/git
- npm-node24>0 : www/npm-node24
- node24>0 : www/node24
- Patch dependencies:
-
- node24>0 : www/node24
-
- This port is required by:
- for Build
-
- deskutils/podman-desktop
- graphics/drawio
- for Run
-
- deskutils/podman-desktop
- graphics/drawio
Configuration Options:
- ===> The following configuration options are available for electron40-40.10.0:
CODECS=on: Compile and enable patented codecs like H.264
CUPS=on: CUPS printing system support
DEBUG=off: Build with debugging support
DIST=off: Build distribution zip files
DRIVER=on: Install chromedriver
KERBEROS=on: Kerberos support
LTO=off: Use Link-Time Optimization
PIPEWIRE=on: Screen capture via PipeWire
====> Options available for the group AUDIO
ALSA=on: ALSA audio architecture support
PULSEAUDIO=on: PulseAudio sound server support
SNDIO=on: Sndio audio support
====> Kerberos support: you can only select none or one of them
HEIMDAL=off: Heimdal Kerberos (security/heimdal)
HEIMDAL_BASE=off: Heimdal Kerberos (base)
MIT=off: MIT Kerberos (security/krb5)
===> Use 'make config' to modify these settings
- Options name:
- devel_electron40
- USES:
- bison compiler:c++17-lang cpe display:test electron:env gettext-tools gl gmake gnome iconv:wchar_t jpeg localbase:ldflags ninja nodejs:24,build pkgconfig python:build,test qt:5 shebangfix tar:xz xorg
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
40.10.0 11 May 2026 12:42:54
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.10.0
Changelog: https://github.com/electron/electron/releases/tag/v40.10.0
Reported by: GitHub (watch releases) |
40.9.3 07 May 2026 08:30:11
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Chase update of devel/esbuild to 0.28.0 |
40.9.3 05 May 2026 11:59:13
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.9.3
Changelog: https://github.com/electron/electron/releases/tag/v40.9.3
Reported by: GitHub (watch releases) |
40.9.2_1 27 Apr 2026 12:26:47
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.95.0
PR: 294615 |
40.9.2 26 Apr 2026 02:05:21
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.9.2
Changelog: https://github.com/electron/electron/releases/tag/v40.9.2
Reported by: GitHub (watch releases) |
40.9.1 24 Apr 2026 12:48:23
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Fix build with rust 1.94
The previous patch fixed builds with rust 1.95. However, it broke
builds with rust 1.94, which is the current version in the ports
tree. This commit makes it build with both rust 1.94 and 1.95.
Fixes: 5c791a04ff9e (devel/electron40: Fix build with rust 1.95) |
40.9.1 23 Apr 2026 11:43:25
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Fix build with rust 1.95
Obtained from:
https://chromium.googlesource.com/chromium/src/+/63a53b823f06b9638e93ff8ae26112ca1a9f09e2,
https://chromium.googlesource.com/chromium/src/+/986245c8b6d972710f729f09ed50e0b7d0d6cdfd
PR: 294615
Reported by: mikael
Obtained
from: https://chromium.googlesource.com/chromium/src/+/63a53b823f06b9638e93ff8ae26112ca1a9f09e2,
https://chromium.googlesource.com/chromium/src/+/986245c8b6d972710f729f09ed50e0b7d0d6cdfd |
40.9.1 20 Apr 2026 07:28:15
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.9.1
Changelog:
- https://github.com/electron/electron/releases/tag/v40.9.0
- https://github.com/electron/electron/releases/tag/v40.9.1
Reported by: GitHub (watch releases) |
40.8.5 04 Apr 2026 00:43:02
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.8.5
Changelog:
- https://github.com/electron/electron/releases/tag/v40.8.4
- https://github.com/electron/electron/releases/tag/v40.8.5
Reported by: GitHub (watch releases) |
40.8.3_1 23 Mar 2026 07:33:11
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.94.0
PR: 293615 |
40.8.3 20 Mar 2026 00:14:08
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.8.3
Changelog:
- https://github.com/electron/electron/releases/tag/v40.8.1
- https://github.com/electron/electron/releases/tag/v40.8.2
- https://github.com/electron/electron/releases/tag/v40.8.3
Reported by: GitHub (watch releases) |
40.8.0 10 Mar 2026 08:04:10
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.8.0
Changelog:
- https://github.com/electron/electron/releases/tag/v40.7.0
- https://github.com/electron/electron/releases/tag/v40.8.0
Reported by: GitHub (watch releases) |
40.6.1 26 Feb 2026 05:32:03
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.6.1
Changelog: https://github.com/electron/electron/releases/tag/v40.6.1
Reported by: GitHub (watch releases) |
40.6.0 21 Feb 2026 05:57:08
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.6.0
Changelog:
- https://github.com/electron/electron/releases/tag/v40.5.0
- https://github.com/electron/electron/releases/tag/v40.6.0
Reported by: GitHub (watch releases) |
40.4.1 16 Feb 2026 03:47:53
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Update to 40.4.1
Changelog:
- https://github.com/electron/electron/releases/tag/v40.2.1
- https://github.com/electron/electron/releases/tag/v40.3.0
- https://github.com/electron/electron/releases/tag/v40.4.0
- https://github.com/electron/electron/releases/tag/v40.4.1
Reported by: GitHub (watch releases) |
40.2.0 08 Feb 2026 07:25:06
    |
Hiroki Tagato (tagattie)  |
devel/electron40: Add port: Build cross-platform desktop apps with JavaScript,
HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.
It's easier than you think.
If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.
WWW: https://electronjs.org/ |