summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-06-16 23:28:59 +0000
committerMichael Weber <xmw@gentoo.org>2011-06-16 23:28:59 +0000
commit553b8826a4378356f6ad23020a59dd9c7de7c611 (patch)
treedb4eab740fc1067325b213c8644b9e35b56fc894 /sys-auth/libfprint
parentRemove old (diff)
downloadgentoo-2-553b8826a4378356f6ad23020a59dd9c7de7c611.tar.gz
gentoo-2-553b8826a4378356f6ad23020a59dd9c7de7c611.tar.bz2
gentoo-2-553b8826a4378356f6ad23020a59dd9c7de7c611.zip
Revision bump and version bump, remove USE=example
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/libfprint')
-rw-r--r--sys-auth/libfprint/ChangeLog9
-rw-r--r--sys-auth/libfprint/libfprint-0.3.0-r1.ebuild (renamed from sys-auth/libfprint/libfprint-0.3.0.ebuild)22
-rw-r--r--sys-auth/libfprint/libfprint-0.4.0.ebuild53
3 files changed, 66 insertions, 18 deletions
diff --git a/sys-auth/libfprint/ChangeLog b/sys-auth/libfprint/ChangeLog
index cbedd0eb2596..7c422b22a9d5 100644
--- a/sys-auth/libfprint/ChangeLog
+++ b/sys-auth/libfprint/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-auth/libfprint
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/libfprint/ChangeLog,v 1.4 2011/06/16 22:51:36 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/libfprint/ChangeLog,v 1.5 2011/06/16 23:28:59 xmw Exp $
+
+*libfprint-0.4.0 (16 Jun 2011)
+*libfprint-0.3.0-r1 (16 Jun 2011)
+
+ 16 Jun 2011; Michael Weber <xmw@gentoo.org> -libfprint-0.3.0.ebuild,
+ +libfprint-0.3.0-r1.ebuild, +libfprint-0.4.0.ebuild:
+ Revision bump and version bump (bug 365075), remove USE=example (bug 369219)
16 Jun 2011; Michael Weber <xmw@gentoo.org> -libfprint-0.0.6.ebuild,
-libfprint-0.1.0_pre2.ebuild, libfprint-0.3.0.ebuild:
diff --git a/sys-auth/libfprint/libfprint-0.3.0.ebuild b/sys-auth/libfprint/libfprint-0.3.0-r1.ebuild
index 5fe819dd8d53..95d810a753eb 100644
--- a/sys-auth/libfprint/libfprint-0.3.0.ebuild
+++ b/sys-auth/libfprint/libfprint-0.3.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/libfprint/libfprint-0.3.0.ebuild,v 1.2 2011/03/29 12:54:04 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/libfprint/libfprint-0.3.0-r1.ebuild,v 1.1 2011/06/16 23:28:59 xmw Exp $
EAPI=3
@@ -14,16 +14,13 @@ SRC_URI="http://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="X debug +examples static-libs"
+IUSE="debug static-libs"
RDEPEND="dev-libs/glib:2
dev-libs/libusb:1
dev-libs/nss
x11-libs/gtk+:2
- || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
- X? ( examples? (
- x11-libs/libXext
- x11-libs/libXv ) )"
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )"
DEPEND="${DEPEND}
dev-util/pkgconfig"
@@ -42,12 +39,6 @@ pkg_setup() {
}
src_configure() {
- local my_conf="$(use_enable examples examples-build)"
- if use X ; then
- my_conf="${my_conf} $(use_enable examples x11-examples-build)"
- else
- my_conf="${my_conf} --disable-x11-examples-build"
- fi
econf ${my_conf} \
$(use_enable debug debug-log) \
$(use_enable static-libs static) || die
@@ -55,11 +46,8 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install || die
- if use examples ; then
- dobin examples/{enroll,img_capture,verify{,_live}} || die
- if use X ; then
- dobin examples/img_capture_continuous || die
- fi
+ if ! use static-libs ; then
+ rm -v "${D}"/usr/lib64/libfprint.la || die
fi
dodoc AUTHORS HACKING NEWS README THANKS TODO || die
}
diff --git a/sys-auth/libfprint/libfprint-0.4.0.ebuild b/sys-auth/libfprint/libfprint-0.4.0.ebuild
new file mode 100644
index 000000000000..e465c1648638
--- /dev/null
+++ b/sys-auth/libfprint/libfprint-0.4.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/libfprint/libfprint-0.4.0.ebuild,v 1.1 2011/06/16 23:28:59 xmw Exp $
+
+EAPI=3
+
+inherit autotools
+
+MY_PV="v_${PV//./_}"
+DESCRIPTION="library to add support for consumer fingerprint readers"
+HOMEPAGE="http://cgit.freedesktop.org/libfprint/libfprint/"
+SRC_URI="http://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug static-libs"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/libusb:1
+ dev-libs/nss
+ x11-libs/gtk+:2
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )"
+
+DEPEND="${DEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_PV}
+
+src_prepare() {
+ mkdir m4 || die
+ eautoreconf
+}
+
+pkg_setup() {
+ einfo
+ elog "This version does not support fdu2000 and upektc (yet)."
+ einfo
+}
+
+src_configure() {
+ econf ${my_conf} \
+ $(use_enable debug debug-log) \
+ $(use_enable static-libs static) || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ if ! use static-libs ; then
+ rm -v "${D}"/usr/lib64/libfprint.la || die
+ fi
+ dodoc AUTHORS HACKING NEWS README THANKS TODO || die
+}