# -*- 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 libgdata version 0.17.6 set branch [join [lrange [split ${version} .] 0 1] .] description libgdata is a GLib-based library for accessing online service APIs using the \ GData protocol --- most notably, Google's services. long_description ${description} \ It provides APIs to access the common Google services, and has full asynchronous support. maintainers devans openmaintainer categories gnome net license LGPL-2.1+ platforms darwin homepage https://wiki.gnome.org/Projects/${name} master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 9cfce8abae78e6c26669d9820369a4fc3217e3da \ sha256 8b6a3ff1db23bd9e5ebbcc958b29b769a898f892eed4798222d562ba69df30b0 depends_build port:pkgconfig \ port:intltool \ port:gtk-doc \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:gtk3 \ port:gdk-pixbuf2 \ port:json-glib \ port:libxml2 \ port:libsoup \ port:liboauth \ port:gnome-online-accounts \ port:gcr \ port:uhttpmock gobject_introspection yes patchfiles patch-m4-ax_compiler_flags_ldflags.m4.diff \ patch-Makefile.am.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --enable-gnome \ --enable-goa \ --enable-compile-warnings=no \ --disable-silent-rules test.run yes test.target check # disable goa support on older platforms # legacy versions of gnome-online-accounts are incompatible with libgdata platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { depends_lib-delete port:gnome-online-accounts configure.args-replace --enable-goa --disable-goa } } livecheck.type gnome-with-unstable