libgnomeui: introduce gnome-keyring flag to fix fbd2b350ae

This commit is contained in:
blshkv 2016-07-13 10:37:23 +08:00
parent fbd2b350ae
commit a0ab90fbe1
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
3 changed files with 67 additions and 1 deletions

View file

@ -0,0 +1 @@
DIST libgnomeui-2.24.5.tar.bz2 1440172 SHA256 ae352f2495889e65524c979932c909f4629a58e64290fb0c95333373225d3c0f SHA512 e78fbe909179161acb6f7a1d31b8a247c9007af55c7f9c36422791be8d2681d42edfa582c19db88459d36309a18c03cb859997fe6b5918f602884607a8b6d5d5 WHIRLPOOL 0cfb10abdddd282f45b147fa3214bbaba005e75e5c73ffed962fbb6b828d2e632d3de49c876eb6127bf13b85a9985f3c9dec9571085196d0f23a762f93433f22

View file

@ -0,0 +1,63 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
GNOME_TARBALL_SUFFIX="bz2"
inherit gnome2
DESCRIPTION="User Interface routines for Gnome"
HOMEPAGE="https://library.gnome.org/devel/libgnomeui/stable/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE="test gnome-keyring"
# gtk+-2.14 dep instead of 2.12 ensures system doesn't loose VFS capabilities in GtkFilechooser
RDEPEND="
dev-libs/atk
>=dev-libs/glib-2.16:2
>=dev-libs/libxml2-2.4.20:2
>=dev-libs/popt-1.5
>=gnome-base/gconf-2:2
gnome-keyring? ( >=gnome-base/gnome-keyring-0.4
gnome-base/libgnome-keyring )
>=gnome-base/gnome-vfs-2.7.3:2
>=gnome-base/libgnome-2.13.7
>=gnome-base/libgnomecanvas-2
>=gnome-base/libbonoboui-2.13.1
>=gnome-base/libglade-2:2.0
media-libs/libart_lgpl
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-2.14:2
>=x11-libs/pango-1.1.2
x11-libs/libICE
x11-libs/libSM
"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
sys-devel/gettext
virtual/pkgconfig
>=dev-util/intltool-0.40
"
PDEPEND="x11-themes/gnome-icon-theme"
src_prepare() {
if ! use test; then
sed 's/ test-gnome//' -i Makefile.am Makefile.in || die "sed failed"
fi
#keyring can be optional, it is disabled in win32 for example
#https://bugzilla.gnome.org/show_bug.cgi?id=768754
if ! use gnome-keyring; then
sed -i 's|GNOME_KEYRING=\"gnome-keyring-1\"|GNOME_KEYRING=\"\"|g' configure || die "sed failed"
sed -i 's|gnome_keyring_requirement=\"gnome-keyring-1 >= 0.4\"|gnome_keyring_requirement=\"\"|g' configure || die "sed failed"
sed -i 's|@OS_WIN32_FALSE@am__objects_1 = gnome-authentication-manager.lo|@OS_WIN32_FALSE@am__objects_1 = |g' libgnomeui/Makefile.in || die "sed failed"
fi
gnome2_src_prepare
}

View file

@ -1,4 +1,6 @@
app-crypt/gnupg smartcard
app-crypt/johntheripper mmx mpi sse2 custom-cflags
app-crypt/ophcrack -tables
app-crypt/pinentry gnome-keyring
#We disable keyring in gnome-base/libgnomeui
#app-crypt/pinentry gnome-keyring