[145052] users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts
devans at macports.org
devans at macports.org
Sun Jan 24 11:53:58 PST 2016
Revision: 145052
https://trac.macports.org/changeset/145052
Author: devans at macports.org
Date: 2016-01-24 11:53:58 -0800 (Sun, 24 Jan 2016)
Log Message:
-----------
GNOME-3/stable: gnome-online-accounts, 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:
--------------
users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh-3.8.5
Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile 2016-01-24 19:29:30 UTC (rev 145051)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile 2016-01-24 19:53:58 UTC (rev 145052)
@@ -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.18.3
+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 \
+checksums rmd160 74978a9140daef1ea85f8fce5fbba4a69d707393 \
sha256 bfb983831af8b1fbd81b70befda7683a38f86ca4cc911f763ae31207306e3827
- depends_build port:pkgconfig \
+depends_build port:pkgconfig \
port:intltool \
port:gnome-common \
port:autoconf \
@@ -45,7 +32,7 @@
port:libtool \
port:gtk-doc
- depends_lib port:gtk3 \
+depends_lib port:gtk3 \
port:libsoup \
port:json-glib \
port:rest \
@@ -56,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 \
@@ -75,59 +57,46 @@
--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 \
- 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-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0
- # Version 3.8.5 is the last version that will build on darwin < 13
+ 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
}
Added: users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh-3.8.5
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh-3.8.5 (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh-3.8.5 2016-01-24 19:53:58 UTC (rev 145052)
@@ -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/1c52e95b/attachment-0001.html>
More information about the macports-changes
mailing list