[91951] trunk/dports/www/webkit-gtk/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Apr 13 16:58:43 PDT 2012
Revision: 91951
https://trac.macports.org/changeset/91951
Author: jeremyhu at macports.org
Date: 2012-04-13 16:58:42 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
webkit-gtk: Use muniversal to work around a possible bug with static archives growing too large.
Modified Paths:
--------------
trunk/dports/www/webkit-gtk/Portfile
Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile 2012-04-13 23:21:04 UTC (rev 91950)
+++ trunk/dports/www/webkit-gtk/Portfile 2012-04-13 23:58:42 UTC (rev 91951)
@@ -2,10 +2,12 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
name webkit-gtk
epoch 1
version 1.6.3
+revision 1
description Apple's WebKit HTML rendering library for GTK+
long_description ${description}
maintainers devans
@@ -40,11 +42,11 @@
case-insensitive.patch \
glib-2.32.patch
-# TODO: Use muniversal, so jit is detected per arch
configure.args \
--with-gtk=2.0 \
- --enable-jit=no \
- --enable-introspection=no
+ --enable-introspection=no \
+ --disable-svg \
+ --disable-video
# BUILD FIX TODO: clang C++
# clang has trouble with webkit-1.2.7's C++ as of 2011.06.28
@@ -57,10 +59,11 @@
file mkdir ${worksrcpath}/DerivedSources
}
+# TODO: fix this for muniversal
# keep it for debug
-post-destroot {
- file copy ${worksrcpath}/Programs/.libs/GtkLauncher ${destroot}${prefix}/bin
-}
+#post-destroot {
+# file copy ${worksrcpath}/Programs/.libs/GtkLauncher ${destroot}${prefix}/bin
+#}
# see bug #24622
variant quartz {
@@ -72,9 +75,9 @@
# video is now enabled by default so make the variant no_video
#
-variant no_video description {Disable HTML5 video support using gstreamer} {
- depends_lib-delete port:gst-plugins-base
- configure.args-append --disable-video
+variant video description {Disable HTML5 video support using gstreamer} {
+ depends_lib-append port:gst-plugins-base
+ configure.args-delete --disable-video
}
#
@@ -98,10 +101,13 @@
# all svg support (except filters) is enabled by default
#
-variant no_svg description {Disable all SVG support} {
- configure.args-append --disable-svg
+variant svg description {Disable all SVG support} {
+ configure.args-delete --disable-svg
+ configure.args-append --enable-svg
}
+default_variants +video +svg
+
livecheck.type regex
livecheck.url http://webkitgtk.org/?page=download
livecheck.regex webkit-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120413/8f56c41f/attachment.html>
More information about the macports-changes
mailing list