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

Last change on this file since 68180 was 68180, checked in by elelay@…, 10 years ago

updating to 1.2.1 and enabling quartz build, see #24622

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
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 68180 2010-05-28 18:05:22Z elelay@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7version         1.2.1
8revision        0
9description     Apple's WebKit HTML rendering library for GTK+
10long_description ${description}
11maintainers     gmail.com:myschizobuddy devans
12categories      www gnome
13platforms       darwin freebsd
14homepage        http://webkitgtk.org/
15master_sites    ${homepage}
16
17distname        webkit-${version}
18
19checksums           md5     eb6f473d8d7be56ecd226e7dd55dcb9b \
20                    sha1    ced564514f0be0a88c696e7afd6902d967d532a2 \
21                    rmd160  f8c158b67fbcdfd9977edd530d5f8c15e402da6d
22
23patchfiles      patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff \
24                TextBreakIterator.diff\
25                patch-WebCore-config-h.diff
26
27depends_lib     \
28        port:gtk2 \
29        port:libsoup \
30        port:icu \
31        port:libxslt \
32        port:sqlite3 \
33        port:enchant \
34        port:gst-plugins-base
35       
36depends_build   \
37        port:pkgconfig \
38        port:gtk-doc
39
40# TODO: Use muniversal, so this is detected per arch
41configure.args  \
42        --enable-jit=no \
43
44post-patch {
45    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
46
47    # For some reason, this isn't getting created for some people... ? /shrug
48    file mkdir ${worksrcpath}/DerivedSources
49}
50
51# see bug #24622
52variant quartz {
53    configure.args-append    --with-font-backend=pango --with-target=quartz
54    patchfiles-append  patch-quartz-WebCore-plugins-gtk-gtkxtbin.c.diff \
55                       patch-quartz-WebCore-plugins-gtk-PluginViewGtk.cpp.diff
56}
57
58#
59# video is now enabled by default so make the variant no_video
60#
61
62variant no_video description {Disable HTML5 video support using gstreamer} {
63        depends_lib-delete      port:gst-plugins-base
64        configure.args-append   --disable-video
65}
66
67#
68# add new variant to support gnome_keyring
69#
70
71variant gnome_keyring description {Enable support for gnomekeyring} {
72        depends_lib-append      port:gnome-keyring
73        configure.args-append   --enable-gnomekeyring
74}
75
76#
77# variant to enable filter support which is disabled by default
78# was svg_filters previously but renamed to follow configure arg usage
79#
80
81variant filters description {Enable support for SVG filters (experimental)} {
82        configure.args-append   --enable-filters
83}
84
85#
86# include dummy variant to ease transition from svg_filters to filters
87#
88
89variant svg_filters requires filters description {Build with +filters if +svg_filters was previously installed} {
90}
91
92#
93# all svg support (except filters) is enabled by default
94#
95
96variant no_svg description {Disable all SVG support} {
97        configure.args-append   --disable-svg
98}
99
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
106livecheck.type  regex
107livecheck.url   http://webkitgtk.org/?page=download
108livecheck.regex "webkit-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.