# -*- 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 folks version 0.11.3 epoch 1 license LGPL-2.1 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome comms platforms darwin maintainers devans openmaintainer description A library that aggregates people from multiple sources to create metacontacts. long_description Folks provides a library (libfolks) that aggregates people from multiple \ sources (eg, Telepathy connection managers for IM contacts, Evolution Data Server \ for local contacts, libsocialweb for web service contacts, etc.) to create metacontacts. \ It's written in Vala, which generates C code when compiled. homepage https://wiki.gnome.org/Projects/Folks master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 927dd2c95e77ce7adae7f398574580f80dcb3db3 \ sha256 2a2828a7c87fd39e5786f8f2cf0ebe47576a74974f1355c478a6dc747d7bcb64 depends_build port:pkgconfig \ port:intltool \ port:autoconf \ port:automake \ port:libtool depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:dbus-glib \ port:libgee \ port:libsocialweb \ port:libxml2 \ port:ncurses \ port:readline \ port:telepathy-glib \ port:vala \ port:zeitgeist # telepathy backend requires telepathy-mission-control at run time depends_run port:telepathy-mission-control # the dummy backend is broken as are tests based on it patchfiles patch-disable-dummy-backend.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.args --disable-eds-backend \ --disable-bluez-backend \ --enable-libsocialweb-backend=yes \ --disable-ofono-backend \ --enable-telepathy-backend \ --enable-zeitgeist \ --disable-tracker-backend \ --disable-modular-tests \ --enable-import-tool \ --enable-inspect-tool \ --disable-silent-rules \ --disable-fatal-warnings \ --disable-schemas-compile build.env-append PKG_CONFIG_PATH=${worksrcpath}/folks variant eds description {Enable evolution data server backend} { depends_lib-append port:evolution-data-server configure.args-delete --disable-eds-backend configure.args-append --enable-eds-backend # port evolution-data-server -> nss is not universal universal_variant no } post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome-with-unstable