# -*- 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
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {jeremyhu @jeremyhu} openmaintainer
description libsecret is a library for storing and retrieving passwords and other secrets
libsecrets is a client for the Secret Service DBus API. The Secret \
Service allows storage of passwords in a common way on the desktop. \
Supported by gnome-keyring and ksecretservice.
homepage https://wiki.gnome.org/Projects/Libsecret
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 95ba50baf3d4e54cfdc86d7531e5a5761d32f4cc \
sha256 5efbc890ba41a323ffe0599cd260fd12bd8eb62a04aa1bd1b2762575d253d66f \
depends_build port:intltool \
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
gobject_introspection yes
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
configure.cmd ./autogen.sh
configure.args --disable-silent-rules
# TODO: Remove this in the next version as it will probably be fixed upstream
reinplace "s|sed|${prefix}/bin/gsed|" ${worksrcpath}/libsecret/Makefile.am