summaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-build_config_ozone.gni
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-07-15 22:57:24 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-07-15 23:02:24 +0900
commitd6775c3866b3a55fa254d8ad9c746953d80bad8e (patch)
treee486c7a0d074a5409e46c9ee82c72ca423ee7254 /devel/electron37/files/patch-build_config_ozone.gni
parentaudio/baresip: Update to 3.24.0 (diff)
devel/electron37: 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/
Diffstat (limited to 'devel/electron37/files/patch-build_config_ozone.gni')
-rw-r--r--devel/electron37/files/patch-build_config_ozone.gni19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-build_config_ozone.gni b/devel/electron37/files/patch-build_config_ozone.gni
new file mode 100644
index 000000000000..31922610c0ff
--- /dev/null
+++ b/devel/electron37/files/patch-build_config_ozone.gni
@@ -0,0 +1,19 @@
+--- build/config/ozone.gni.orig 2025-04-22 20:15:27 UTC
++++ build/config/ozone.gni
+@@ -80,7 +80,15 @@ declare_args() {
+ ozone_platform = "x11"
+ ozone_platform_drm = true
+ ozone_platform_x11 = true
+- } else if (is_linux) {
++ } else if (is_linux && !is_bsd) {
++ ozone_platform = "x11"
++ ozone_platform_wayland = true
++ ozone_platform_x11 = true
++ } else if (is_openbsd) {
++ ozone_platform = "x11"
++ ozone_platform_wayland = false
++ ozone_platform_x11 = true
++ } else if (is_freebsd) {
+ ozone_platform = "x11"
+ ozone_platform_wayland = true
+ ozone_platform_x11 = true