You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.2 KiB
49 lines
1.2 KiB
8 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
11 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=5
|
||
|
|
||
|
inherit autotools eutils udev vcs-snapshot
|
||
|
|
||
|
MY_PV="v_${PV//./_}"
|
||
|
DESCRIPTION="library to add support for consumer fingerprint readers"
|
||
9 years ago
|
HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/"
|
||
|
SRC_URI="https://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2
|
||
9 years ago
|
https://dev.gentoo.org/~patrick/libfprint-0.5.1-add-vfs5011-driver.patch"
|
||
11 years ago
|
|
||
|
LICENSE="LGPL-2.1"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
|
||
|
IUSE="debug static-libs"
|
||
|
|
||
|
RDEPEND="virtual/libusb:1
|
||
9 years ago
|
dev-libs/glib:2
|
||
11 years ago
|
dev-libs/nss
|
||
8 years ago
|
|| ( virtual/imagemagick-tools x11-libs/gdk-pixbuf )"
|
||
11 years ago
|
DEPEND="${RDEPEND}
|
||
|
virtual/pkgconfig"
|
||
|
|
||
|
src_prepare() {
|
||
11 years ago
|
epatch "${DISTDIR}/${P}-add-vfs5011-driver.patch" || die
|
||
11 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
--with-drivers=all \
|
||
|
$(use_enable debug debug-log) \
|
||
|
$(use_enable static-libs static) \
|
||
|
-enable-udev-rules \
|
||
10 years ago
|
--with-udev-rules-dir=$(get_udevdir)/rules.d
|
||
11 years ago
|
# --disable-udev-rules fails https://bugs.freedesktop.org/show_bug.cgi?id=59076
|
||
|
# $(use_enable udev udev-rules) \
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake DESTDIR="${D}" install
|
||
|
|
||
|
prune_libtool_files
|
||
|
|
||
|
dodoc AUTHORS HACKING NEWS README THANKS TODO
|
||
|
}
|