[119515] trunk/dports/gnome/gnome-online-accounts
devans at macports.org
devans at macports.org
Mon Apr 28 10:58:04 PDT 2014
Revision: 119515
https://trac.macports.org/changeset/119515
Author: devans at macports.org
Date: 2014-04-28 10:58:04 -0700 (Mon, 28 Apr 2014)
Log Message:
-----------
gnome-online-accounts: update to version 3.12.1 for darwin >= 13, version 3.8.5 for darwin < 13 due to webkit-gtk3 version limitations.
Modified Paths:
--------------
trunk/dports/gnome/gnome-online-accounts/Portfile
Added Paths:
-----------
trunk/dports/gnome/gnome-online-accounts/files/autogen.sh
Property Changed:
----------------
trunk/dports/gnome/gnome-online-accounts/
Property changes on: trunk/dports/gnome/gnome-online-accounts
___________________________________________________________________
Modified: svn:mergeinfo
- /users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts:113175-118732
/users/devans/GNOME-3/unstable/dports/gnome/gnome-online-accounts:114069-118152
+ /users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts:113175-119508
/users/devans/GNOME-3/unstable/dports/gnome/gnome-online-accounts:114069-118152
Modified: trunk/dports/gnome/gnome-online-accounts/Portfile
===================================================================
--- trunk/dports/gnome/gnome-online-accounts/Portfile 2014-04-28 17:55:02 UTC (rev 119514)
+++ trunk/dports/gnome/gnome-online-accounts/Portfile 2014-04-28 17:58:04 UTC (rev 119515)
@@ -4,8 +4,20 @@
PortSystem 1.0
name gnome-online-accounts
+
+if {${os.platform} eq "darwin" && ${os.major} >= 13} {
+
+set mavericks_or_better yes
+version 3.12.1
+
+} else {
+
+set mavericks_or_better no
version 3.8.5
-revision 1
+revision 2
+
+}
+
license LGPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
description Single sign-on framework for GNOME
@@ -19,6 +31,55 @@
use_xz yes
+if {$mavericks_or_better} {
+
+checksums rmd160 3166f8140cc1892afd7ff07eb9c2db7bc60e7045 \
+ sha256 2b8930e463c84d609a00ed9337db16550de89e7a7b8184ab18f2a63f150e7cef
+
+depends_build port:pkgconfig \
+ port:intltool \
+ port:gnome-common \
+ port:autoconf \
+ port:automake \
+ port:libtool \
+ port:gtk-doc
+
+depends_lib port:gtk3 \
+ path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \
+ port:libsoup \
+ port:json-glib \
+ port:rest \
+ port:libsecret \
+ port:libxml2 \
+ port:gobject-introspection \
+ port:gcr \
+ port:telepathy-glib
+
+# use upstream autogen.sh to update m4/intltool.m4 and telepathy-account-widgets/m4/intltool.m4 and reconfigure
+
+post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
+
+configure.cmd ./autogen.sh
+
+configure.args --enable-introspection=yes \
+ --enable-ubuntu-online-accounts=no \
+ --disable-exchange \
+ --enable-flickr \
+ --enable-google \
+ --enable-imap-smtp \
+ --enable-owncloud \
+ --enable-yahoo \
+ --enable-facebook \
+ --enable-windows-live \
+ --enable-telepathy \
+ --enable-pocket \
+ --disable-kerberos \
+ --disable-silent-rules
+
+} else {
+
checksums rmd160 21889d886fa262e536929ecb6905cfcd3f50a462 \
sha256 34d6fbc33bda4c7bba8aa52343ebe1eb8afe1033097c10a2d9979c0a99593e5d
@@ -45,8 +106,19 @@
autoreconf.args -fvi
configure.cflags-append -Wno-format-nonliteral
-configure.args --enable-introspection=yes
+configure.args --enable-introspection=yes \
+ --disable-exchange \
+ --enable-flickr \
+ --enable-google \
+ --enable-imap-smtp \
+ --enable-owncloud \
+ --enable-facebook \
+ --enable-windows-live \
+ --disable-kerberos \
+ --disable-silent-rules
+}
+
# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
platform darwin {
set cxxstdlib {}
@@ -68,6 +140,13 @@
}
}
-# this is the last version that will build on darwin < 13
+if {$mavericks_or_better} {
+livecheck.type gnome
+
+} else {
+
+# Version 3.8.5 is the last version that will build on darwin < 13
livecheck.type none
+
+}
Copied: trunk/dports/gnome/gnome-online-accounts/files/autogen.sh (from rev 119508, users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh)
===================================================================
--- trunk/dports/gnome/gnome-online-accounts/files/autogen.sh (rev 0)
+++ trunk/dports/gnome/gnome-online-accounts/files/autogen.sh 2014-04-28 17:58:04 UTC (rev 119515)
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="goa"
+
+(test -f $srcdir/src/Makefile.am) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common"
+ exit 1
+}
+
+cd telepathy-account-widgets
+sh autogen.sh --no-configure
+cd ..
+
+. gnome-autogen.sh --enable-gtk-doc "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140428/d4739dbf/attachment-0001.html>
More information about the macports-changes
mailing list