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