ports/devel/electron18/files/patch-third__party_wayland_features.gni
Hiroki Tagato 1780f894bd devel/electron18: 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/

Requested by:	mikael (via email)
2022-06-22 15:56:20 +09:00

18 lines
713 B
Plaintext

--- third_party/wayland/features.gni.orig 2022-05-19 03:47:18 UTC
+++ third_party/wayland/features.gni
@@ -13,8 +13,13 @@ declare_args() {
default_toolchain != "//build/toolchain/cros:target"
# Path to wayland-scanner. Has effect only when the system libwayland is used.
- assert(host_os == "linux")
+ assert(host_os == "linux" || host_os == "freebsd")
system_wayland_scanner_path = "/usr/bin/wayland-scanner"
+ if (is_bsd) {
+ system_wayland_scanner_path = "/usr/local/bin/wayland-scanner"
+ } else {
+ system_wayland_scanner_path = "/usr/bin/wayland-scanner"
+ }
# This may be set by Chromium packagers who do not wish to use the bundled
# wayland scanner.