summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2015-06-09 16:20:06 +0000
committerMichael Weber <xmw@gentoo.org>2015-06-09 16:20:06 +0000
commit44c03823382015c5bfeb59ae832fb28a0891ad7c (patch)
treef1c94b662e8fc9ba63df17f2c19131abd2e3ee0b /sys-auth
parentUpdating remote-id in metadata.xml (diff)
downloadgentoo-2-44c03823382015c5bfeb59ae832fb28a0891ad7c.tar.gz
gentoo-2-44c03823382015c5bfeb59ae832fb28a0891ad7c.tar.bz2
gentoo-2-44c03823382015c5bfeb59ae832fb28a0891ad7c.zip
Version bump (thanks haarp, bug 541908).
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/fingerprint-gui/ChangeLog7
-rw-r--r--sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild85
2 files changed, 91 insertions, 1 deletions
diff --git a/sys-auth/fingerprint-gui/ChangeLog b/sys-auth/fingerprint-gui/ChangeLog
index 2d32cbc3418c..3be2c667e811 100644
--- a/sys-auth/fingerprint-gui/ChangeLog
+++ b/sys-auth/fingerprint-gui/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-auth/fingerprint-gui
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog,v 1.11 2015/03/31 12:23:31 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog,v 1.12 2015/06/09 16:20:06 xmw Exp $
+
+*fingerprint-gui-1.06 (09 Jun 2015)
+
+ 09 Jun 2015; Michael Weber <xmw@gentoo.org> +fingerprint-gui-1.06.ebuild:
+ Version bump (thanks haarp, bug 541908).
31 Mar 2015; Michael Palimaka <kensington@gentoo.org>
fingerprint-gui-1.05-r1.ebuild, fingerprint-gui-1.05.ebuild:
diff --git a/sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild b/sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild
new file mode 100644
index 000000000000..456a01e4628e
--- /dev/null
+++ b/sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild,v 1.1 2015/06/09 16:20:06 xmw Exp $
+
+EAPI=5
+
+inherit eutils multilib qt4-r2 readme.gentoo udev user
+
+DESCRIPTION="Use Fingerprint Devices with Linux"
+HOMEPAGE="http://www.n-view.net/Appliance/fingerprint/"
+HOMEPAGE="http://www.ullrich-online.cc/fingerprint/"
+SRC_URI="http://www.ullrich-online.cc/${PN%-gui}/download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+upekbsapi"
+
+DEPEND="app-crypt/qca:2[openssl,qt4(+)]
+ sys-auth/libfprint
+ sys-auth/polkit-qt[qt4(+)]
+ sys-libs/pam
+ x11-libs/libfakekey
+ dev-qt/qtcore:4
+ !sys-auth/thinkfinger"
+RDEPEND="${DEPEND}"
+
+QA_SONAME="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*"
+QA_PRESTRIPPED="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*"
+QA_FLAGS_IGNORED="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*"
+
+src_prepare() {
+ sed -e '/Icon=/s:=.*:=Fingerprint:' \
+ -i bin/${PN}/${PN}.desktop || die
+ sed -e "s:/etc/udev/rules.d:\"$(get_udevdir)\"/rules.d:g" \
+ -i bin/${PN%-gui}-helper/${PN%-gui}-helper.pro || die
+ sed -e 's:GROUP="plugdev":GROUP="fingerprint":' \
+ -i bin/fingerprint-helper/92-fingerprint-gui-uinput.rules \
+ -i upek/91-fingerprint-gui-upek.rules || die
+}
+
+src_configure() {
+ eqmake4 \
+ PREFIX="${EROOT}"usr \
+ LIB="$(get_libdir)" \
+ LIBEXEC=libexec \
+ LIBPOLKIT_QT=LIBPOLKIT_QT_1_1
+}
+
+src_install() {
+ export INSTALL_ROOT="${D}" #submakes need it as well, re-install fails otherwise.
+ emake install
+ rm -r "${ED}"/usr/share/doc/${PN} || die
+ if use upekbsapi ; then
+ use amd64 && dolib.so upek/lib64/libbsapi.so*
+ use x86 && dolib.so upek/lib/libbsapi.so*
+ udev_dorules upek/91-fingerprint-gui-upek.rules
+ insinto /etc
+ doins upek/upek.cfg
+ #dodir /var/upek_data
+ #fowners root:plugdev /var/upek_data
+ #fperms 0775 /var/upek_data
+ fi
+ doicon src/res/Fingerprint.png
+
+ dodoc CHANGELOG README
+ dohtml doc/*
+
+ readme.gentoo_src_install
+}
+
+pkg_preinst() {
+ enewgroup fingerprint
+}
+
+FORCE_PRINT_ELOG=1
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Please take a thorough look a the Install-step-by-step.html
+in /usr/share/doc/${PF} for integration with pam/polkit/...
+Hint: You may want
+ auth sufficient pam_fingerprint-gui.so
+in /etc/pam.d/system-auth
+
+There are udev rules to enforce group fingerprint on the reader device
+Please put yourself in that group and re-trigger the udev rules."