mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
gnome-keyring: fork for testing
This commit is contained in:
parent
049fdd7ff2
commit
24ad1a2e61
2 changed files with 85 additions and 0 deletions
1
gnome-base/gnome-keyring/Manifest
Normal file
1
gnome-base/gnome-keyring/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST gnome-keyring-3.18.3.tar.xz 1205108 SHA256 3f670dd61789bdda75b9c9e31e289bf7b1d23ba012433474790081ba7dc0ed98 SHA512 123819218477cd9b617d9cc2c1d10483d9c790bb90edd5b20298a1ba38aeef10dcddf85fcb6b9b92969dd64e53caaaf825b5cbb741e57461050be4973e8c2f78 WHIRLPOOL 01fbda3232cfdb3f2f79f5718c5ad22a871b43ed75722a9ab69f2932f8afc01809b4dc5b5ea1aaf9f17ed8efe973dd12bd700831a9dd62300513d91655359ca6
|
||||
84
gnome-base/gnome-keyring/gnome-keyring-3.18.3-r2.ebuild
Normal file
84
gnome-base/gnome-keyring/gnome-keyring-3.18.3-r2.ebuild
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes" # Not gnome macro but similar
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit fcaps gnome2 pam python-any-r1 versionator virtualx
|
||||
|
||||
DESCRIPTION="Password and keyring managing daemon"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeKeyring"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="+caps pam selinux +ssh-agent test"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
|
||||
# Replace gkd gpg-agent with pinentry[gnome-keyring] one, bug #547456
|
||||
RDEPEND="
|
||||
>=app-crypt/gcr-3.5.3:=[gtk]
|
||||
>=dev-libs/glib-2.38:2
|
||||
app-misc/ca-certificates
|
||||
>=dev-libs/libgcrypt-1.2.2:0=
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
pam? ( virtual/pam )
|
||||
>=app-crypt/gnupg-2.0.28:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-eselect/eselect-pinentry-0.5
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
dev-libs/libxslt
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
#Let's test whether it is really required
|
||||
#PDEPEND="app-crypt/pinentry[gnome-keyring]" #570512
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Disable stupid CFLAGS with debug enabled
|
||||
sed -e 's/CFLAGS="$CFLAGS -g"//' \
|
||||
-e 's/CFLAGS="$CFLAGS -O0"//' \
|
||||
-i configure.ac configure || die
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(use_with caps libcap-ng) \
|
||||
$(use_enable pam) \
|
||||
$(use_with pam pam-dir $(getpam_mod_dir)) \
|
||||
$(use_enable selinux) \
|
||||
$(use_enable ssh-agent) \
|
||||
--enable-doc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: this should be handled at eclass level
|
||||
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/schema" || die
|
||||
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
GSETTINGS_SCHEMA_DIR="${S}/schema" Xemake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# cap_ipc_lock only needed if building --with-libcap-ng
|
||||
# Never install as suid root, this breaks dbus activation, see bug #513870
|
||||
use caps && fcaps -m 755 cap_ipc_lock usr/bin/gnome-keyring-daemon
|
||||
gnome2_pkg_postinst
|
||||
|
||||
if ! [[ $(eselect pinentry show | grep "pinentry-gnome3") ]] ; then
|
||||
ewarn "Please select pinentry-gnome3 as default pinentry provider:"
|
||||
ewarn " # eselect pinentry set pinentry-gnome3"
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in a new issue