1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools eutils udev vcs-snapshot
10 DESCRIPTION="library to add support for consumer fingerprint readers"
11 HOMEPAGE="http://cgit.freedesktop.org/libfprint/libfprint/"
12 SRC_URI="http://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2
13 https://dev.gentoo.org/~patrick/libfprint-0.5.1-add-vfs5011-driver.patch"
17 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
18 IUSE="debug static-libs"
20 RDEPEND="virtual/libusb:1
23 || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] x11-libs/gdk-pixbuf )"
28 epatch "${DISTDIR}/${P}-add-vfs5011-driver.patch" || die
35 $(use_enable debug debug-log) \
36 $(use_enable static-libs static) \
38 --with-udev-rules-dir=$(get_udevdir)/rules.d
39 # --disable-udev-rules fails https://bugs.freedesktop.org/show_bug.cgi?id=59076
40 # $(use_enable udev udev-rules) \
44 emake DESTDIR="${D}" install
48 dodoc AUTHORS HACKING NEWS README THANKS TODO