Ticket #19754: patch-webkit-gtk.diff
File patch-webkit-gtk.diff, 2.9 KB (added by dbevans (David B. Evans), 15 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name webkit-gtk 7 version r307078 revision17 version 1.1.7 8 epoch 1 9 9 description Apple's WebKit HTML rendering library for GTK+ 10 10 long_description ${description} 11 11 maintainers gmail.com:myschizobuddy 12 12 categories www gnome 13 13 platforms darwin freebsd 14 homepage http://webkit.org 15 master_sites http://nightly.webkit.org/files/trunk/src/ 16 distname WebKit-${version} 17 use_bzip2 yes 18 checksums \ 19 md5 57f29473a82b70bf72993eae14c5a818 \ 20 sha 1i0c777040c7ef2a0ee7097dfbc8dc89b3e4c9a002 \ 21 rmd160 4ab419002ce7824797c38699c35f0e85152bd309 14 homepage http://webkitgtk.org/ 15 master_sites ${homepage} 22 16 17 distname webkit-${version} 18 19 checksums md5 f681773e29898509741cd3bc293816f4 \ 20 sha1 77d27ab8f0d74ddda349ea9e4416d27d9adb8b61 \ 21 rmd160 63dea479e23b62ae6d0abb0e5559c35eed34466d 22 23 23 depends_lib \ 24 port:curl \25 24 port:gtk2 \ 26 port:icu \ 25 port:libsoup \ 26 port:icu \ 27 27 port:libxslt \ 28 port:sqlite3 28 port:sqlite3 \ 29 port:enchant \ 30 port:gst-plugins-base 31 32 29 33 depends_build \ 30 port:libtool \31 34 port:pkgconfig 32 35 33 post-patch { 34 reinplace "s|aclocal |aclocal -I ${prefix}/share/aclocal |" ${worksrcpath}/autogen.sh 36 patchfiles \ 37 patch-autotools-webkit.m4.diff 38 39 use_autoconf yes 40 41 # 42 # video is now enabled by default so make the variant no_video 43 # 44 45 variant no_video description {Disable HTML5 video support using gstreamer} { 46 depends_lib-delete port:gst-plugins-base 47 configure.args-append --disable-video 35 48 } 36 49 37 configure.cmd ./autogen.sh 38 configure.args --enable-svg --enable-icon-database 50 # 51 # add new variant to support gnome_keyring 52 # 39 53 40 variant video description {Add gstreamer video support} { 41 depends_lib-append port:gstreamer \ 42 port:gst-plugins-base \ 43 port:gnome-vfs 44 configure.args-append --enable-video 54 variant gnome_keyring description {Enable support for gnomekeyring} { 55 depends_lib-append port:gnome-keyring 56 configure.args-append --enable-gnomekeyring 45 57 } 46 variant svg_experimental description {Enable SVG experimental features} { 47 configure.args-append --enable-svg-experimental 58 59 # 60 # add new variant to enable svg filter support which is disabled by default 61 # old --enable-experimental configure arg is no longer available 62 # 63 64 variant svg_filters description {Enable support for SVG filters (experimental)} { 65 configure.args-append --enable-svg-filters 48 66 } 49 variant no_svg description {Disable SVG support} { 50 configure.args-delete --enable-svg 67 68 # 69 # all svg support (except filters) is enabled by default 70 # 71 72 variant no_svg description {Disable all SVG support} { 51 73 configure.args-append --disable-svg 52 74 } 75 76 livecheck.check regex 77 livecheck.url http://webkitgtk.org/?page=download 78 livecheck.regex "webkit-(\\d+(?:\\.\\d+)*)${extract.suffix}"