Ticket #52281: webkit2-gtk-Portfile.diff

File webkit2-gtk-Portfile.diff, 1.8 KB (added by gwhitney, 8 years ago)

patch to webkit2-gtk port to allow it to be compiled completely free of xorg ports; requires four patches to the WebCore source to follow

  • www/webkit2-gtk/Portfile

    old new  
    1414name                webkit2-gtk
    1515conflicts           webkit2-gtk-devel
    1616version             2.14.0
     17revision            1
    1718description         Apple's WebKit2 HTML rendering library for GTK+3 (with optional support for GTK+2 plugins)
    1819long_description    ${description}
    1920maintainers         jeremyhu devans
     
    4041                    port:py27-simplejson
    4142
    4243depends_lib         port:atk \
    43                     port:at-spi2-atk \
    4444                    port:bison \
    4545                    path:lib/pkgconfig/cairo.pc:cairo \
    4646                    port:flex \
     
    5151                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
    5252                    port:gobject-introspection \
    5353                    port:gstreamer1 \
    54                     port:gstreamer1-gst-plugins-bad \
    5554                    port:gstreamer1-gst-plugins-base \
    5655                    port:gstreamer1-gst-plugins-good \
    5756                    port:gtk3 \
     
    156155variant quartz conflicts x11 gtk2 {
    157156    require_active_variants port:gtk3 quartz
    158157
     158    patchfiles-append       patch-Source-WebCore-platform-graphics-OpenGLShims.h.diff \
     159                            patch-Source-WebCore-platform-graphics-GraphicsContext3D.h.diff \
     160                            patch-Source-WebCore-platform-graphics-GLContext.h.diff \
     161                            patch-Source-WebCore-platform-graphics-PlatformDisplay.cpp.diff
     162   
    159163    configure.args-append \
    160164        -DENABLE_QUARTZ_TARGET=ON \
    161165        -DENABLE_X11_TARGET=OFF \
     
    171175        -DENABLE_OPENGL=ON
    172176
    173177    depends_lib-append \
     178        port:at-spi2-atk \
     179        port:gstreamer1-gst-plugins-bad \
    174180        port:mesa \
    175181        port:xorg-libXt
    176182}