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

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

webkit-gtk:

  • update to version 1.2.4, closes #26467.
  • fix livecheck to track stable releases only.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 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 71475 2010-09-14 06:45:20Z devans@macports.org $
3
4PortSystem      1.0
5
6name            webkit-gtk
7epoch           1
8version         1.2.4
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     dc3a92dd0e8c2e70263fbfdf809b51a5 \
20                sha1    e4e31e6d5025d8c8d7ac81fe6d7c947918ce4790 \
21                rmd160  787997f6235911675726d903ff3b9549fb615fe5
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# gst-plugins-base is not universal
41universal_variant   no
42
43# TODO: Use muniversal, so this is detected per arch
44configure.args  \
45        --enable-jit=no \
46        --disable-introspection
47
48post-patch {
49    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
50
51    # For some reason, this isn't getting created for some people... ? /shrug
52    file mkdir ${worksrcpath}/DerivedSources
53}
54
55# keep it for debug
56post-destroot {
57    file copy ${worksrcpath}/Programs/.libs/GtkLauncher ${destroot}${prefix}/bin
58}
59
60# see bug #24622
61variant quartz {
62    configure.args-append    --with-font-backend=pango --with-target=quartz
63    patchfiles-append  patch-quartz-WebCore-plugins-gtk-gtkxtbin.c.diff \
64                       patch-quartz-WebCore-plugins-gtk-PluginViewGtk.cpp.diff
65}
66
67#
68# video is now enabled by default so make the variant no_video
69#
70
71variant no_video description {Disable HTML5 video support using gstreamer} {
72        depends_lib-delete      port:gst-plugins-base
73        configure.args-append   --disable-video
74}
75
76#
77# add new variant to support gnome_keyring
78#
79
80variant gnome_keyring description {Enable support for gnomekeyring} {
81        depends_lib-append      port:libgnome-keyring
82        configure.args-append   --enable-gnomekeyring
83}
84
85#
86# variant to enable filter support which is disabled by default
87#
88
89variant filters description {Enable support for SVG filters (experimental)} {
90        configure.args-append   --enable-filters
91}
92
93#
94# all svg support (except filters) is enabled by default
95#
96
97variant no_svg description {Disable all SVG support} {
98        configure.args-append   --disable-svg
99}
100
101# compile bug when building 1.2.1 on Tiger,
102# see https://bugs.webkit.org/show_bug.cgi?id=39847
103platform darwin 8 {
104        patchfiles-append patch-JavascriptCore-wtf-FastMalloc.cpp.diff
105}
106
107livecheck.type  regex
108livecheck.url   http://webkitgtk.org/?page=download
109livecheck.regex webkit-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.