[MacPorts] #69640: webkit2-gtk: +x11 error: GStreamerGL is needed for USE_GSTREAMER_GL

MacPorts noreply at macports.org
Mon Apr 8 03:59:51 UTC 2024


#69640: webkit2-gtk: +x11 error: GStreamerGL is needed for USE_GSTREAMER_GL
-------------------------------------------------+-------------------------
  Reporter:  JonnyTech                           |      Owner:  dbevans
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.9.1
Resolution:                                      |   Keywords:  sonoma
      Port:  webkit2-gtk, gstreamer1-gst-        |
  plugins-base                                   |
-------------------------------------------------+-------------------------

Comment (by barracuda156):

 Replying to [comment:24 christophecvr]:
 > Well just to say the problem is solved for 100 % . And it was already
 with (by coincidence I admit) with my port file of wich I posted a link
 before.
 >
 > When building the gstreamer1-gst-plugins-base with gl support on macos
 os you always need the cocoa. So when you build with x11 support on macos
 you need gl-winsys='x11, cocoa'. So you can set as option -Dgl-
 winsys='x11, cocoa', -Dgl-winsys='auto' or just omit the setting since
 auto is default value. When auto is set it uses x11 and cocoa for gl-
 winsys. If it is detected. If meson does not find x11 during configure
 phase check but wel cocoa it will just set cocoa. Actually meson (at start
 I did not liked it just cause i did not know it) The longer the more I
 like it. Here for instance meson did a very good job. What went wrong is
 the user interference by disabling the auto features who are just
 required.

 Automatic linking to whatever a build system happens to find is not a
 great behavior, IMO.
 (This is not exclusive to meson though, of course.)

-- 
Ticket URL: <https://trac.macports.org/ticket/69640#comment:31>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list