gtk3: build with broadway backend

The GDK Broadway backend provides support for displaying GTK+
applications in a web browser, using HTML5 and web sockets.
https://developer.gnome.org/gtk3/stable/gtk-broadway.html
This commit is contained in:
Milan Pässler 2020-12-19 19:25:36 +01:00
parent cb312f3d03
commit e8f4028f85
No known key found for this signature in database
GPG Key ID: A6DC6A7CB0B97859

View File

@ -43,6 +43,7 @@
, cups ? null , cups ? null
, AppKit , AppKit
, Cocoa , Cocoa
, broadwaySupport ? true
}: }:
assert cupsSupport -> cups != null; assert cupsSupport -> cups != null;
@ -94,6 +95,7 @@ stdenv.mkDerivation rec {
"-Dgtk_doc=${boolToString withGtkDoc}" "-Dgtk_doc=${boolToString withGtkDoc}"
"-Dtests=false" "-Dtests=false"
"-Dtracker3=${boolToString trackerSupport}" "-Dtracker3=${boolToString trackerSupport}"
"-Dbroadway_backend=${boolToString broadwaySupport}"
]; ];
# These are the defines that'd you'd get with --enable-debug=minimum (default). # These are the defines that'd you'd get with --enable-debug=minimum (default).