# -*- 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 name gnome-online-accounts version 3.8.3 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/GnomeOnlineAccounts master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 6cd6b4d20eb1d1983baf3cad2b5edecb554a1b46 \ sha256 9e5e55c5097b8d7c32c0dfb7d94448795c627723b133e8edd0b846adde63a44b depends_build port:pkgconfig \ port:intltool 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:gobject-introspection \ port:gcr configure.cflags-append -Wno-format-nonliteral configure.args --enable-introspection=yes platform darwin { set cxx_stdlib {} if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} { set cxx_stdlib ${configure.cxx_stdlib} } elseif {[string match *clang* ${configure.cxx}] && ${os.major} >= 13} { set cxx_stdlib libc++ } else { set cxx_stdlib libstdc++ } if {${cxx_stdlib} == "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 } } livecheck.type gnome