# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" inherit gnome2 DESCRIPTION="D-Bus interfaces for querying and manipulating user account information" HOMEPAGE="http://www.fedoraproject.org/wiki/Features/UserAccountDialog" SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+introspection" RDEPEND=" dev-libs/glib:2 dev-libs/dbus-glib sys-auth/polkit introspection? ( >=dev-libs/gobject-introspection-0.9.12 )" DEPEND="${RDEPEND} dev-libs/libxslt dev-util/pkgconfig gnome-base/gnome-common sys-devel/gettext >=dev-util/intltool-0.40 >=dev-util/gtk-doc-am-1.13" # Documentaton doesn't validate RESTRICT="test" src_prepare() { # Can configure systemdsystemunitdir # docbook docs don't validate, disable doc rebuild G2CONF="${G2CONF} --disable-docbook-docs --disable-maintainer-mode --disable-more-warnings --without-systemdsystemunitdir $(use_enable introspection)" DOCS="AUTHORS NEWS README TODO" # Taken from upstream trunk, remove for next release epatch "${FILESDIR}/${PN}-fix-useradd.patch" gnome2_src_prepare } src_install() { gnome2_src_install dodir /var/lib/AccountsService/users dodir /var/lib/AccountsService/icons }