mozilla-pipewire-0-3.patch
branchfirefox81
changeset 1144 8a43aff7e982
parent 1140 a9aa543a508a
child 1151 8df86bf11fc1
equal deleted inserted replaced
1143:ff28137410eb 1144:8a43aff7e982
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent  f530b1587cd1c0a79c34f91a9690c4cc4c33ac31
     2 # Parent  5bd7b491505076dc38ba1efc7c406b9c53ba8389
     3 
     3 
     4 diff --git a/config/system-headers.mozbuild b/config/system-headers.mozbuild
     4 diff --git a/config/system-headers.mozbuild b/config/system-headers.mozbuild
     5 --- a/config/system-headers.mozbuild
     5 --- a/config/system-headers.mozbuild
     6 +++ b/config/system-headers.mozbuild
     6 +++ b/config/system-headers.mozbuild
     7 @@ -309,16 +309,17 @@ system_headers = [
     7 @@ -309,16 +309,17 @@ system_headers = [
    63          "gio-2.0",
    63          "gio-2.0",
    64          "gio-unix-2.0",
    64          "gio-unix-2.0",
    65 diff --git a/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build b/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
    65 diff --git a/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build b/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
    66 --- a/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
    66 --- a/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
    67 +++ b/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
    67 +++ b/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build
    68 @@ -289,16 +289,40 @@ if CONFIG["OS_TARGET"] == "WINNT":
    68 @@ -112,16 +112,39 @@ if CONFIG["OS_TARGET"] == "DragonFly":
    69          "/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc",
    69          "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_atom_cache.cc",
    70          "/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc",
    70          "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_error_trap.cc",
    71          "/media/webrtc/trunk/webrtc/modules/desktop_capture/win/win_shared.cc",
    71          "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_server_pixel_buffer.cc",
    72          "/media/webrtc/trunk/webrtc/modules/desktop_capture/win/window_capture_utils.cc",
    72          "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc",
    73          "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_win.cc",
    73          "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_linux.cc",
    74          "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_finder_win.cc"
    74          "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_linux.cc"
    75      ]
    75      ]
    76  
    76  
    77 +# PipeWire specific files
    77 +# PipeWire specific files
    78 +if CONFIG["OS_TARGET"] == "Linux":
    78 +if CONFIG["OS_TARGET"] == "Linux":
    79 +
    79 +
    95 +        "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc",
    95 +        "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc",
    96 +        "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
    96 +        "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
    97 +        "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
    97 +        "/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
    98 +    ]
    98 +    ]
    99 +
    99 +
   100 +
   100  if CONFIG["OS_TARGET"] == "FreeBSD":
   101  if CONFIG["OS_TARGET"] == "NetBSD":
       
   102  
   101  
   103      DEFINES["USE_X11"] = "1"
   102      DEFINES["USE_X11"] = "1"
   104      DEFINES["WEBRTC_BSD"] = True
   103      DEFINES["WEBRTC_BSD"] = True
   105      DEFINES["WEBRTC_POSIX"] = True
   104      DEFINES["WEBRTC_POSIX"] = True
   106      DEFINES["_FILE_OFFSET_BITS"] = "64"
   105      DEFINES["_FILE_OFFSET_BITS"] = "64"