source: trunk/dports/www/webkit-gtk/Portfile @ 73413

Last change on this file since 73413 was 73413, checked in by rmstonecipher@…, 9 years ago

www/webkit-gtk now builds universal, fixes #27209 (maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
RevLine 
[33380]1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 73413 2010-11-12 23:01:48Z rmstonecipher@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
[68181]7epoch           1
[72215]8version         1.2.5
[34673]9description     Apple's WebKit HTML rendering library for GTK+
10long_description ${description}
[51453]11maintainers     gmail.com:myschizobuddy devans
[33380]12categories      www gnome
13platforms       darwin freebsd
[51453]14homepage        http://webkitgtk.org/
15master_sites    ${homepage}
[33380]16
[51453]17distname        webkit-${version}
18
[72215]19checksums       md5     09f04985665b9abf6f0d9956f86a6a31 \
20                sha1    2cd50e62a0c94bba8cc8a8466ea16fac1f9fc1ce \
21                rmd160  7510af4c5d15c06adf984a090a9e9550f5ea7147
[51453]22
[56168]23patchfiles      patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff \
[72215]24                patch-TextBreakIterator.diff\
[68180]25                patch-WebCore-config-h.diff
[52407]26
[33380]27depends_lib     \
28        port:gtk2 \
[51453]29        port:libsoup \
30        port:icu \
[33380]31        port:libxslt \
[51453]32        port:sqlite3 \
33        port:enchant \
[72323]34        port:gst-plugins-base \
35        port:xorg-libXt
[51453]36       
[33380]37depends_build   \
[52407]38        port:pkgconfig \
39        port:gtk-doc
[33380]40
[63157]41# TODO: Use muniversal, so this is detected per arch
42configure.args  \
[71475]43        --enable-jit=no \
[72215]44        --enable-introspection=no
[63157]45
[51558]46post-patch {
47    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
[63225]48
49    # For some reason, this isn't getting created for some people... ? /shrug
50    file mkdir ${worksrcpath}/DerivedSources
[51558]51}
[51453]52
[68421]53# keep it for debug
54post-destroot {
55    file copy ${worksrcpath}/Programs/.libs/GtkLauncher ${destroot}${prefix}/bin
56}
57
[68180]58# see bug #24622
59variant quartz {
60    configure.args-append    --with-font-backend=pango --with-target=quartz
[72323]61    depends_lib-delete port:xorg-libXt
[68180]62    patchfiles-append  patch-quartz-WebCore-plugins-gtk-gtkxtbin.c.diff \
63                       patch-quartz-WebCore-plugins-gtk-PluginViewGtk.cpp.diff
64}
65
[51453]66#
67# video is now enabled by default so make the variant no_video
68#
69
70variant no_video description {Disable HTML5 video support using gstreamer} {
71        depends_lib-delete      port:gst-plugins-base
72        configure.args-append   --disable-video
[33380]73}
74
[51453]75#
76# add new variant to support gnome_keyring
77#
[40621]78
[51453]79variant gnome_keyring description {Enable support for gnomekeyring} {
[70527]80        depends_lib-append      port:libgnome-keyring
[51453]81        configure.args-append   --enable-gnomekeyring
[40621]82}
[51453]83
84#
[52407]85# variant to enable filter support which is disabled by default
[51453]86#
87
[52407]88variant filters description {Enable support for SVG filters (experimental)} {
89        configure.args-append   --enable-filters
[40621]90}
[51453]91
92#
93# all svg support (except filters) is enabled by default
94#
95
96variant no_svg description {Disable all SVG support} {
[40621]97        configure.args-append   --disable-svg
98}
[51453]99
[68180]100# compile bug when building 1.2.1 on Tiger,
101# see https://bugs.webkit.org/show_bug.cgi?id=39847
102platform darwin 8 {
103        patchfiles-append patch-JavascriptCore-wtf-FastMalloc.cpp.diff
104}
105
[57375]106livecheck.type  regex
[51453]107livecheck.url   http://webkitgtk.org/?page=download
[71475]108livecheck.regex webkit-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.