# -*- 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$ PortSystem 1.0 PortGroup gobject_introspection 1.0 name gnome-online-accounts # version 3.16.0+ requires webkit2gtk-4.0 version 3.22.1 license LGPL-2 set branch [join [lrange [split ${version} .] 0 1] .] description Single sign-on framework for GNOME long_description ${description} maintainers devans openmaintainer categories gnome platforms darwin homepage https://wiki.gnome.org/Projects/GnomeOnlineAccounts master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 1f95e7fce322ba86f63ec722e9507e7b1e7fd251 \ sha256 83c2b707c0a7908c6fe93db1c415fa45bffb2b1d9fb4648badc749ce69cda50e depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool \ port:gtk-doc depends_lib port:gtk3 \ port:libsoup \ port:json-glib \ port:rest \ port:libsecret \ port:libxml2 \ port:gcr \ port:telepathy-glib gobject_introspection yes configure.args --enable-ubuntu-online-accounts=no \ --enable-compile-warnings=no \ --disable-exchange \ --disable-media-server \ --enable-inspector \ --enable-flickr \ --enable-foursquare \ --enable-google \ --enable-imap-smtp \ --enable-owncloud \ --enable-yahoo \ --enable-facebook \ --enable-windows-live \ --enable-telepathy \ --enable-pocket \ --enable-lastfm \ --disable-kerberos \ --disable-maintainer-mode \ --disable-silent-rules platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { 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 # delete m4/glib-gettext.m4 to force replacement with current version post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} delete ${worksrcpath}/m4/glib-gettext.m4 } configure.cmd ./autogen.sh depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk livecheck.type gnome } }