[buildout]
parts = libsecret
extends =
  ../gnutls/buildout.cfg
  ../libxslt/buildout.cfg
  ../pkgconfig/buildout.cfg
  ../glib/buildout.cfg
  ../gettext/buildout.cfg
  ../libuuid/buildout.cfg
  ../xz-utils/buildout.cfg


[libsecret]
recipe = slapos.recipe.cmmi
url = https://download.gnome.org/sources/libsecret/0.20/libsecret-0.20.4.tar.xz
md5sum = bf92f48afab2891f644f311e0f37683f
shared = true
configure-options = 
  --with-libgcrypt-prefix=${libgcrypt:location}
  --with-libintl-prefix=${gettext:location}
  --disable-gtk-doc-html
  --disable-manpages
  --disable-vala

environment = 
  PATH=${xz-utils:location}/bin/:${pkgconfig:location}/bin:${libxslt:location}/bin:${glib:location}/bin:${libgcrypt:location}/bin/:%(PATH)s
  PKG_CONFIG_PATH=${:pkg-config-path-depends}
  LDFLAGS=-Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${libgcrypt:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${libuuid:location}/lib
pkg-config-path-depends = ${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${libgcrypt:location}/lib/pkgconfig:${libuuid:location}/lib/pkgconfig
pkg-config-path = @@LOCATION@@/lib/pkgconfig:${:pkg-config-path-depends}
