summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-11-14 00:45:15 +0000
committerMichael Weber <xmw@gentoo.org>2011-11-14 00:45:15 +0000
commit94d1ebfb22546cefd99f6fe66431d6c578fac1cf (patch)
treed19504367793bf9ddf755d3b9ea221552d05f6fc /sys-auth/fprintd
parentadding ~x86 keyword (diff)
downloadgentoo-2-94d1ebfb22546cefd99f6fe66431d6c578fac1cf.tar.gz
gentoo-2-94d1ebfb22546cefd99f6fe66431d6c578fac1cf.tar.bz2
gentoo-2-94d1ebfb22546cefd99f6fe66431d6c578fac1cf.zip
fix issues (bug 343347)
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/fprintd')
-rw-r--r--sys-auth/fprintd/ChangeLog7
-rw-r--r--sys-auth/fprintd/fprintd-0.2.0-r1.ebuild67
2 files changed, 73 insertions, 1 deletions
diff --git a/sys-auth/fprintd/ChangeLog b/sys-auth/fprintd/ChangeLog
index 176764a94ef7..13da5a6c8bff 100644
--- a/sys-auth/fprintd/ChangeLog
+++ b/sys-auth/fprintd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-auth/fprintd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/fprintd/ChangeLog,v 1.2 2011/05/02 14:50:14 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/fprintd/ChangeLog,v 1.3 2011/11/14 00:45:15 xmw Exp $
+
+*fprintd-0.2.0-r1 (14 Nov 2011)
+
+ 14 Nov 2011; Michael Weber <xmw@gentoo.org> +fprintd-0.2.0-r1.ebuild:
+ fix issues (bug 343347)
02 May 2011; Mark Loeser <halcy0n@gentoo.org> fprintd-0.2.0.ebuild:
EPREFIX is already appended when using insinto
diff --git a/sys-auth/fprintd/fprintd-0.2.0-r1.ebuild b/sys-auth/fprintd/fprintd-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..28d330b5eb73
--- /dev/null
+++ b/sys-auth/fprintd/fprintd-0.2.0-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/fprintd/fprintd-0.2.0-r1.ebuild,v 1.1 2011/11/14 00:45:15 xmw Exp $
+
+EAPI=4
+
+inherit autotools toolchain-funcs versionator
+
+DESCRIPTION="D-Bus to offer libfprint functionality"
+HOMEPAGE="http://cgit.freedesktop.org/libfprint/fprintd/"
+MY_PV="V_$(replace_all_version_separators _)"
+SRC_URI="http://cgit.freedesktop.org/libfprint/${PN}/snapshot/${MY_PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc pam static-libs"
+
+RDEPEND="dev-libs/dbus-glib
+ dev-libs/glib:2
+ sys-auth/libfprint
+ sys-auth/polkit
+ pam? ( sys-libs/pam )"
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc
+ dev-util/intltool
+ doc? ( dev-libs/libxml2 dev-libs/libxslt )"
+
+S=${WORKDIR}/${MY_PV}
+
+src_prepare() {
+ cp /usr/share/gtk-doc/data/gtk-doc.make . || die
+ sed -e '/SUBDIRS/s: po::' -i Makefile.am || die
+ eautoreconf
+ intltoolize || die
+}
+
+src_configure() {
+ econf $(use_enable pam) \
+ $(use_enable static-libs static) \
+ $(use_enable doc gtk-doc-html)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install \
+ pammoddir=/$(get_libdir)/security
+
+ keepdir /var/lib/fprint
+
+ find "${D}" -name "*.la" -delete || die
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/html
+ doins doc/{fprintd-docs,version}.xml
+ insinto /usr/share/doc/${PF}/html/dbus
+ doins doc/dbus/net.reactivated.Fprint.{Device,Manager}.ref.xml
+ fi
+}
+
+pkg_postinst() {
+ elog "Please take a look at the upstream documentation for integration"
+ elog "Example: add following line to your /etc/pam.d/system-local-login"
+ einfo
+ elog " auth sufficient pam_fprintd.so"
+ einfo
+}