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

MacPorts noreply at macports.org
Sun Apr 7 10:47:34 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 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.

 I can post the meson log of build gtsreamer1-gst-plugins-base . What was
 done with this port file.
 portfile
 [https://github.com/christophecvr/macports-
 ports/blob/cvrwork/gnome/gstreamer1-gst-plugins-base/Portfile]

 the last commit I did to it

 [https://github.com/christophecvr/macports-
 ports/commit/741012cfe013f2a1e9f8319e150c0ea636195ce9]

 p.s. by me I need to blacklist clang build take to much time with Xcode
 10-clang and some packages do not build well) The autodetect of compiler
 in _resources has been set to max 14 by me. 15,16,17 are all buggy for
 macos-10.13.6

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


More information about the macports-tickets mailing list