diff options
Diffstat (limited to 'app-crypt/libsecret')
-rw-r--r-- | app-crypt/libsecret/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/libsecret/libsecret-0.18.2.ebuild | 66 | ||||
-rw-r--r-- | app-crypt/libsecret/libsecret-0.18.ebuild | 71 | ||||
-rw-r--r-- | app-crypt/libsecret/metadata.xml | 8 |
4 files changed, 147 insertions, 0 deletions
diff --git a/app-crypt/libsecret/Manifest b/app-crypt/libsecret/Manifest new file mode 100644 index 000000000000..857d6784b06b --- /dev/null +++ b/app-crypt/libsecret/Manifest @@ -0,0 +1,2 @@ +DIST libsecret-0.18.2.tar.xz 483980 SHA256 12fd288b012e1b2b1b54d586cd4c6507885715534644b4534b7ef7d7079ba443 SHA512 414580e2f717ba0a3adacd79da093dc5e982f49455c1d6dd0cc60d87d7d3ff9ce3147685a3f5091488b9c98840002739b9e1aa2252f0fd71639b471b34ff5c54 WHIRLPOOL 2c113d81893562a54eef28c095968dca43ef5c6e940b20eb9266034d29231e3bbcb173855a6db3695a294f0028012fd45ccd8d5330e34a9c1a3abd9c041e01b6 +DIST libsecret-0.18.tar.xz 480520 SHA256 0c73aa762dbd1e38ba7b03de350e23ce818cb810b0784375e95ef61e004b02e3 SHA512 5b3b460fe45b780fd4018dbb3b5fcc2c2e775725a8c74f4cfa86c00c643ccc1b29961b7e464c7b01846c5cc16a4bb9819c74016dd6758301ae2f67ab947c35bd WHIRLPOOL 2c3cb1a6a902665b3898a211317316d988791648d1d1f7144160f12376b2110ac99e8c3d3423ceb58a8ea0a3fb50efb42fc458aaa44f3aea52d2a1fab2d959a8 diff --git a/app-crypt/libsecret/libsecret-0.18.2.ebuild b/app-crypt/libsecret/libsecret-0.18.2.ebuild new file mode 100644 index 000000000000..e2d87f704e63 --- /dev/null +++ b/app-crypt/libsecret/libsecret-0.18.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) +VALA_MIN_API_VERSION=0.18 +VALA_USE_DEPEND=vapigen + +inherit gnome2 python-any-r1 vala virtualx + +DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API" +HOMEPAGE="https://live.gnome.org/Libsecret" + +LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only +SLOT="0" +IUSE="+crypt debug +introspection test vala" +REQUIRED_USE="vala? ( introspection )" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd" + +RDEPEND=" + >=dev-libs/glib-2.38:2 + crypt? ( >=dev-libs/libgcrypt-1.2.2:0= ) + introspection? ( >=dev-libs/gobject-introspection-1.29 ) +" +PDEPEND=">=gnome-base/gnome-keyring-3 +" +# PDEPEND to avoid circular dep (bug #547456) +# Add ksecrets to PDEPEND when it's added to portage +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.9 + >=dev-util/intltool-0.35.0 + sys-devel/gettext + virtual/pkgconfig + test? ( + dev-python/mock + introspection? ( + ${PYTHON_DEPS} + >=dev-libs/gjs-1.32 + dev-python/pygobject:3 ) + ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS ChangeLog NEWS README" + gnome2_src_configure \ + --enable-manpages \ + --disable-strict \ + --disable-coverage \ + --disable-static \ + $(use_enable crypt gcrypt) \ + $(use_enable introspection) \ + $(use_enable vala) +} + +src_test() { + Xemake check +} diff --git a/app-crypt/libsecret/libsecret-0.18.ebuild b/app-crypt/libsecret/libsecret-0.18.ebuild new file mode 100644 index 000000000000..f5f79bdb53cc --- /dev/null +++ b/app-crypt/libsecret/libsecret-0.18.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) +VALA_MIN_API_VERSION=0.18 +VALA_USE_DEPEND=vapigen + +inherit gnome2 python-any-r1 vala virtualx + +DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API" +HOMEPAGE="https://live.gnome.org/Libsecret" + +LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only +SLOT="0" +IUSE="+crypt debug +introspection test vala" +REQUIRED_USE="vala? ( introspection )" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd" + +RDEPEND=" + >=dev-libs/glib-2.38:2 + crypt? ( >=dev-libs/libgcrypt-1.2.2:0= ) + introspection? ( >=dev-libs/gobject-introspection-1.29 ) +" +PDEPEND=">=gnome-base/gnome-keyring-3 +" +# PDEPEND to avoid circular dep (bug #547456) +# Add ksecrets to PDEPEND when it's added to portage +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.9 + >=dev-util/intltool-0.35.0 + sys-devel/gettext + virtual/pkgconfig + test? ( + dev-python/mock + introspection? ( + ${PYTHON_DEPS} + >=dev-libs/gjs-1.32 + dev-python/pygobject:3 ) + ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + # FIXME: disable failing test + sed -e '/test_get_sync);/d' \ + -e '/test_get_async);/d' \ + -i libsecret/test-service.c || die + + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS ChangeLog NEWS README" + gnome2_src_configure \ + --enable-manpages \ + --disable-strict \ + --disable-coverage \ + --disable-static \ + $(use_enable crypt gcrypt) \ + $(use_enable introspection) \ + $(use_enable vala) +} + +src_test() { + Xemake check +} diff --git a/app-crypt/libsecret/metadata.xml b/app-crypt/libsecret/metadata.xml new file mode 100644 index 000000000000..455620cf3c8e --- /dev/null +++ b/app-crypt/libsecret/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gnome</herd> + <use> + <flag name="vala">Enable bindings for <pkg>dev-lang/vala</pkg></flag> + </use> +</pkgmetadata> |