|
|
e8f573 |
diff -up firefox-68.0/config/system-headers.mozbuild.firefox-pipewire firefox-68.0/config/system-headers.mozbuild
|
|
|
e8f573 |
--- firefox-68.0/config/system-headers.mozbuild.firefox-pipewire 2019-07-01 22:30:26.000000000 +0200
|
|
|
e8f573 |
+++ firefox-68.0/config/system-headers.mozbuild 2019-07-08 15:26:15.397161627 +0200
|
|
|
4c0036 |
@@ -314,6 +314,7 @@ system_headers = [
|
|
|
4c0036 |
'Gestalt.h',
|
|
|
4c0036 |
'getopt.h',
|
|
|
4c0036 |
'gio/gio.h',
|
|
|
4c0036 |
+ 'gio/gunixfdlist.h',
|
|
|
4c0036 |
'glibconfig.h',
|
|
|
4c0036 |
'glib.h',
|
|
|
4c0036 |
'glib-object.h',
|
|
|
4c0036 |
@@ -607,6 +608,7 @@ system_headers = [
|
|
|
4c0036 |
'Pgenerr.h',
|
|
|
4c0036 |
'PGenErr.h',
|
|
|
4c0036 |
'Ph.h',
|
|
|
4c0036 |
+ 'pipewire/pipewire.h',
|
|
|
4c0036 |
'pixman.h',
|
|
|
4c0036 |
'pk11func.h',
|
|
|
4c0036 |
'pk11pqg.h',
|
|
|
e8f573 |
diff -up firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build.firefox-pipewire firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
|
|
|
e8f573 |
--- firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build.firefox-pipewire 2019-07-01 22:30:33.000000000 +0200
|
|
|
e8f573 |
+++ firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build 2019-07-08 15:26:15.397161627 +0200
|
|
|
e8f573 |
@@ -194,6 +194,28 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|
|
e8f573 |
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_linux.cc"
|
|
|
4c0036 |
]
|
|
|
4c0036 |
|
|
|
4c0036 |
+# PipeWire specific files
|
|
|
4c0036 |
+if CONFIG["OS_TARGET"] == "Linux":
|
|
|
4c0036 |
+
|
|
|
4c0036 |
+ DEFINES["WEBRTC_USE_PIPEWIRE"] = "1"
|
|
|
4c0036 |
+
|
|
|
4c0036 |
+ OS_LIBS += [
|
|
|
4c0036 |
+ "rt",
|
|
|
4c0036 |
+ "pipewire-0.2",
|
|
|
4c0036 |
+ "glib-2.0",
|
|
|
4c0036 |
+ "gio-2.0",
|
|
|
4c0036 |
+ "gobject-2.0"
|
|
|
4c0036 |
+ ]
|
|
|
4c0036 |
+
|
|
|
4c0036 |
+ CXXFLAGS += CONFIG['TK_CFLAGS']
|
|
|
4c0036 |
+
|
|
|
4c0036 |
+ UNIFIED_SOURCES += [
|
|
|
e8f573 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc",
|
|
|
e8f573 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
|
|
|
e8f573 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
|
|
|
4c0036 |
+ ]
|
|
|
4c0036 |
+
|
|
|
4c0036 |
+
|
|
|
4c0036 |
if CONFIG["OS_TARGET"] == "NetBSD":
|
|
|
4c0036 |
|
|
|
4c0036 |
DEFINES["USE_X11"] = "1"
|
|
|
e8f573 |
diff -up firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.h.firefox-pipewire firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.h
|
|
|
e8f573 |
--- firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.h.firefox-pipewire 2019-07-08 16:42:13.936254926 +0200
|
|
|
e8f573 |
+++ firefox-68.0/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.h 2019-07-08 16:42:17.509264974 +0200
|
|
|
e8f573 |
@@ -141,7 +141,7 @@ class DesktopCaptureOptions {
|
|
|
4c0036 |
bool disable_effects_ = true;
|
|
|
4c0036 |
bool detect_updated_region_ = false;
|
|
|
e8f573 |
#if defined(WEBRTC_USE_PIPEWIRE)
|
|
|
e8f573 |
- bool allow_pipewire_ = false;
|
|
|
4c0036 |
+ bool allow_pipewire_ = true;
|
|
|
e8f573 |
#endif
|
|
|
4c0036 |
};
|
|
|
4c0036 |
|