[118114] users/devans/GNOME-3/unstable/dports/gnome/epiphany

devans at macports.org devans at macports.org
Sat Mar 22 18:42:45 PDT 2014


Revision: 118114
          https://trac.macports.org/changeset/118114
Author:   devans at macports.org
Date:     2014-03-22 18:42:45 -0700 (Sat, 22 Mar 2014)
Log Message:
-----------
GNOME-3/unstable: add epiphany 3.8.2, increment revision to rebuild with unstable gnome-desktop.

Added Paths:
-----------
    users/devans/GNOME-3/unstable/dports/gnome/epiphany/Portfile
    users/devans/GNOME-3/unstable/dports/gnome/epiphany/files/
    users/devans/GNOME-3/unstable/dports/gnome/epiphany/files/patch-configure.ac.diff

Added: users/devans/GNOME-3/unstable/dports/gnome/epiphany/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/epiphany/Portfile	                        (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/epiphany/Portfile	2014-03-23 01:42:45 UTC (rev 118114)
@@ -0,0 +1,106 @@
+# -*- 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
+# $Id: Portfile 117326 2014-02-22 04:50:33Z devans at macports.org $
+
+PortSystem      1.0
+
+name            epiphany
+version         3.8.2
+revision        3
+license         GPL-2+
+set branch      [join [lrange [split ${version} .] 0 1] .]
+description     A GNOME Web browser.
+long_description \
+                A web browser is more than an application, it is a \
+                way of thinking, it is a way of seeing the world. \
+                Epiphany's principles are simplicity and standards \
+                compliance.
+maintainers     devans openmaintainer
+categories      gnome www
+platforms       darwin
+homepage        https://wiki.gnome.org/Apps/Web
+master_sites    gnome:sources/${name}/${branch}/
+
+use_xz          yes
+
+checksums       rmd160  2aacd8b02f456e345b9f23ff6114d341bbf0013a \
+                sha256  ae89d6902ed243304d2cbf2fa361f6dd0cb3401fdaf726e6fdd4acc09197d50a
+
+depends_build   port:pkgconfig \
+                port:intltool \
+                port:gnome-common
+
+depends_lib     port:desktop-file-utils \
+                port:gnome-icon-theme \
+                port:gnome-icon-theme-symbolic \
+                port:gtk3 \
+                path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \
+                port:gnome-desktop \
+                port:libxslt\
+                port:libsoup \
+                port:libsecret \
+                port:port:libnotify \
+                port:libwnck3 \
+                port:gsettings-desktop-schemas \
+                port:nss \
+                port:sqlite3 \
+                port:gcr \
+                port:avahi \
+                port:xorg-libX11 \
+                port:iso-codes
+
+depends_run     port:gnome-settings-daemon
+
+# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
+platform darwin {
+    set cxxstdlib {}
+
+    if {[info exists configure.cxx_stdlib] &&
+        ${configure.cxx_stdlib} ne {} &&
+        [string match *clang* ${configure.cxx}]} {
+        set cxxstdlib ${configure.cxx_stdlib}
+    } elseif {[string match *clang* ${configure.cxx}] &&
+              ${os.major} >= 13} {
+        set cxxstdlib libc++
+    } else {
+        set cxxstdlib libstdc++
+    }
+
+    if {${cxxstdlib} eq "libstdc++"} {
+       depends_lib-delete path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
+       depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0
+    }
+}
+
+patchfiles      patch-configure.ac.diff
+
+# update m4/intltool.m4 and autoreconf
+
+pre-configure {
+    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+    reinplace "s|--rpath=|-rpath |g" ${worksrcpath}/configure.ac
+}
+
+use_autoreconf      yes
+autoreconf.args     -fvi
+
+configure.cflags-append -Wno-format-nonliteral
+
+configure.args  --with-distributor-name=MacPorts \
+                --disable-schemas-compile \
+                --disable-tests
+
+post-activate {
+    system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+#
+# nss is not universal
+#
+
+if {[variant_isset universal]} {
+    configure.args-append --disable-nss
+    depends_lib-delete port:nss
+}
+
+livecheck.type  gnome

Added: users/devans/GNOME-3/unstable/dports/gnome/epiphany/files/patch-configure.ac.diff
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/epiphany/files/patch-configure.ac.diff	                        (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/epiphany/files/patch-configure.ac.diff	2014-03-23 01:42:45 UTC (rev 118114)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2013-05-31 03:28:55.000000000 -0700
++++ configure.ac	2014-02-21 20:21:48.000000000 -0800
+@@ -90,7 +90,7 @@
+ AVAHI_REQUIRED=0.6.22
+ 
+ # Set to 'no' to build with the WebKit1 backend
+-with_webkit2=yes
++with_webkit2=no
+ 
+ if test "x$with_webkit2" != xno; then
+    WEBKIT_GTK_PC_NAME=webkit2gtk-3.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140322/ef764e65/attachment-0001.html>


More information about the macports-changes mailing list