[145053] trunk/dports/gnome/gnome-online-accounts
devans at macports.org
devans at macports.org
Sun Jan 24 11:58:30 PST 2016
Revision: 145053
https://trac.macports.org/changeset/145053
Author: devans at macports.org
Date: 2016-01-24 11:58:29 -0800 (Sun, 24 Jan 2016)
Log Message:
-----------
gnome-online-accounts: update to version 3.18.3, enable support for account inspector, additional providers foursquare, lastfm, reorganize/simplify Portfile logic, fix autogen.sh issues with legacy version 3.8.5.
Modified Paths:
--------------
trunk/dports/gnome/gnome-online-accounts/Portfile
Added Paths:
-----------
trunk/dports/gnome/gnome-online-accounts/files/autogen.sh-3.8.5
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-136044
/users/devans/GNOME-3/unstable/dports/gnome/gnome-online-accounts:114069-118152,119584-125723,128305-134400
+ /users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts:113175-145052
/users/devans/GNOME-3/unstable/dports/gnome/gnome-online-accounts:114069-118152,119584-125723,128305-134400
Modified: trunk/dports/gnome/gnome-online-accounts/Portfile
===================================================================
--- trunk/dports/gnome/gnome-online-accounts/Portfile 2016-01-24 19:53:58 UTC (rev 145052)
+++ trunk/dports/gnome/gnome-online-accounts/Portfile 2016-01-24 19:58:29 UTC (rev 145053)
@@ -6,20 +6,9 @@
name gnome-online-accounts
-if {${os.platform} eq "darwin" && ${os.major} >= 13} {
-
- set mavericks_or_better yes
# version 3.16.0+ requires webkit2gtk-4.0
- version 3.15.90
+version 3.18.3
-} else {
-
- set mavericks_or_better no
- version 3.8.5
- revision 2
-
-}
-
license LGPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
description Single sign-on framework for GNOME
@@ -32,12 +21,10 @@
use_xz yes
-if {$mavericks_or_better} {
+checksums rmd160 74978a9140daef1ea85f8fce5fbba4a69d707393 \
+ sha256 bfb983831af8b1fbd81b70befda7683a38f86ca4cc911f763ae31207306e3827
-checksums rmd160 c927580fb050ec011b729f69ca364a2d59493236 \
- sha256 3aac92ce0aee089f7167a32bc1b25e86219dfde4dda0e21aa4caf5337b12f537
-
- depends_build port:pkgconfig \
+depends_build port:pkgconfig \
port:intltool \
port:gnome-common \
port:autoconf \
@@ -45,8 +32,7 @@
port:libtool \
port:gtk-doc
- depends_lib port:gtk3 \
- path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \
+depends_lib port:gtk3 \
port:libsoup \
port:json-glib \
port:rest \
@@ -57,17 +43,12 @@
gobject_introspection yes
-# 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-ubuntu-online-accounts=no \
+configure.args --enable-ubuntu-online-accounts=no \
--disable-exchange \
+ --disable-media-server \
+ --enable-inspector \
--enable-flickr \
+ --enable-foursquare \
--enable-google \
--enable-imap-smtp \
--enable-owncloud \
@@ -76,68 +57,47 @@
--enable-windows-live \
--enable-telepathy \
--enable-pocket \
+ --enable-lastfm \
--disable-kerberos \
--disable-maintainer-mode \
--disable-silent-rules
-} else {
-
- checksums rmd160 21889d886fa262e536929ecb6905cfcd3f50a462 \
- sha256 34d6fbc33bda4c7bba8aa52343ebe1eb8afe1033097c10a2d9979c0a99593e5d
-
- depends_build port:pkgconfig \
- port:intltool \
- port:gtk-doc \
- port:gnome-common
-
- 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:gcr
-
- patchfiles patch-alarm.diff
-
-gobject_introspection yes
-
-# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
-
-post-patch {
- xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
-}
-
-configure.cmd ./autogen.sh
-
- configure.cflags-append -Wno-format-nonliteral
- configure.args --disable-exchange \
- --enable-flickr \
- --enable-google \
- --enable-imap-smtp \
- --enable-owncloud \
- --enable-facebook \
- --enable-windows-live \
- --disable-kerberos \
- --disable-silent-rules
-
-}
-
platform darwin {
if {${configure.cxx_stdlib} 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
+ version 3.8.5
+ revision 2
+ checksums rmd160 21889d886fa262e536929ecb6905cfcd3f50a462 \
+ sha256 34d6fbc33bda4c7bba8aa52343ebe1eb8afe1033097c10a2d9979c0a99593e5d
+ depends_lib-delete \
+ port:telepathy-glib
+ depends_lib-append \
+ path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0
+ patchfiles-append \
+ patch-alarm.diff
+ post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh-${version} ${worksrcpath}/autogen.sh
+ }
+ configure.cmd ./autogen.sh
+ configure.cflags-append \
+ -Wno-format-nonliteral
+ configure.args-delete \
+ --disable-media-server \
+ --enable-inspector \
+ --enable-foursquare \
+ --enable-ubuntu-online-accounts=no \
+ --enable-yahoo \
+ --enable-telepathy \
+ --enable-pocket \
+ --enable-lastfm
+ # Version 3.8.5 is the last version that will build on platforms supporting libstdc++
+ livecheck.type none
+ } else {
+ # reconfigure using upstream autogen.sh for intltool 0.51 compatibility
+ post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+ }
+ configure.cmd ./autogen.sh
+ depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk
+ livecheck.type gnome
}
}
-
-if {$mavericks_or_better} {
-
- livecheck.type gnome-with-unstable
-
-} 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-3.8.5 (from rev 145052, users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh-3.8.5)
===================================================================
--- trunk/dports/gnome/gnome-online-accounts/files/autogen.sh-3.8.5 (rev 0)
+++ trunk/dports/gnome/gnome-online-accounts/files/autogen.sh-3.8.5 2016-01-24 19:58:29 UTC (rev 145053)
@@ -0,0 +1,20 @@
+#!/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
+}
+
+. gnome-autogen.sh "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160124/aafb1add/attachment.html>
More information about the macports-changes
mailing list