From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C27DE139694 for ; Sun, 4 Jun 2017 19:22:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3787D21C273; Sun, 4 Jun 2017 19:22:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1935C21C273 for ; Sun, 4 Jun 2017 19:22:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C19B83418BA for ; Sun, 4 Jun 2017 19:22:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B0A67467 for ; Sun, 4 Jun 2017 19:22:16 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1496604127.7574a657220c77ad6095b229d2f5bed6422e9940.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/libgnome-keyring/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild X-VCS-Directories: gnome-base/libgnome-keyring/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7574a657220c77ad6095b229d2f5bed6422e9940 X-VCS-Branch: master Date: Sun, 4 Jun 2017 19:22:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a8dd9e0c-51d8-4b71-b803-6834f001fcda X-Archives-Hash: 603a30dc29d1cef3c6f7185bfbaf82d1 commit: 7574a657220c77ad6095b229d2f5bed6422e9940 Author: Karol Grudziński gmail com> AuthorDate: Sun May 21 18:26:43 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 4 19:22:07 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7574a657 gnome-base/libgnome-keyring: Add multilib support Package-Manager: Portage-2.3.6, Repoman-2.3.2 .../libgnome-keyring-3.12.0-r1.ebuild | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild b/gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild new file mode 100644 index 00000000000..4ed645886e6 --- /dev/null +++ b/gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" +VALA_MIN_API_VERSION="0.16" +VALA_USE_DEPEND="vapigen" +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2 python-any-r1 vala multilib-minimal + +DESCRIPTION="Compatibility library for accessing secrets" +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeKeyring" + +LICENSE="LGPL-2+ GPL-2+" # tests are GPL-2 +SLOT="0" +IUSE="debug +introspection test vala" +REQUIRED_USE="vala? ( introspection )" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~mips ~sh ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris" + +RDEPEND=" + >=dev-libs/glib-2.16.0:2[${MULTILIB_USEDEP}] + >=dev-libs/libgcrypt-1.2.2:0=[${MULTILIB_USEDEP}] + >=sys-apps/dbus-1[${MULTILIB_USEDEP}] + >=gnome-base/gnome-keyring-3.1.92 + introspection? ( >=dev-libs/gobject-introspection-1.30.0 ) +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + >=dev-util/intltool-0.35 + sys-devel/gettext + virtual/pkgconfig + test? ( ${PYTHON_DEPS} ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare + + # FIXME: Remove silly CFLAGS, report upstream + sed -e 's:CFLAGS="$CFLAGS -g:CFLAGS="$CFLAGS:' \ + -e 's:CFLAGS="$CFLAGS -O0:CFLAGS="$CFLAGS:' \ + -i configure.ac configure || die "sed failed" +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" gnome2_src_configure \ + $(multilib_native_use_enable vala) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/reference/gnome-keyring/html docs/reference/gnome-keyring/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} + +multilib_src_test() { + unset DBUS_SESSION_BUS_ADDRESS + dbus-launch emake check || die "tests failed" +}