diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/libfprint |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/libfprint')
-rw-r--r-- | sys-auth/libfprint/Manifest | 16 | ||||
-rw-r--r-- | sys-auth/libfprint/files/libfprint-0.5.0-automake-1.13.patch | 24 | ||||
-rw-r--r-- | sys-auth/libfprint/files/libfprint-0.5.0-support-147e_2020.patch | 48 | ||||
-rw-r--r-- | sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch | 23 | ||||
-rw-r--r-- | sys-auth/libfprint/libfprint-0.4.0-r1.ebuild | 51 | ||||
-rw-r--r-- | sys-auth/libfprint/libfprint-0.5.0-r2.ebuild | 47 | ||||
-rw-r--r-- | sys-auth/libfprint/libfprint-0.5.1-r2.ebuild | 48 | ||||
-rw-r--r-- | sys-auth/libfprint/libfprint-0.6.0-r2.ebuild | 59 | ||||
-rw-r--r-- | sys-auth/libfprint/metadata.xml | 11 |
9 files changed, 327 insertions, 0 deletions
diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest new file mode 100644 index 000000000000..b058e62d5cec --- /dev/null +++ b/sys-auth/libfprint/Manifest @@ -0,0 +1,16 @@ +AUX libfprint-0.5.0-automake-1.13.patch 797 SHA256 75d05585c6a9e1080bcee08fdf24c429a5601e1bc545a3c6df8377e90dcf12f4 SHA512 76e059f076348beb720e4f7bf8802b101aaf1d281429cdeb8f54ca67c23a1bf198b0220e4ff67421005cc8797c310f624265d5c91e9160fd78a2a3cf9ef4a39e WHIRLPOOL 2b42f4e7b33ec305feea6008b430bd98c0a1f845cf269c36440d657273043f5051434f4c900375d7e8689ff2ff077fbb6512adfc08d998a852ab56783aeee675 +AUX libfprint-0.5.0-support-147e_2020.patch 1443 SHA256 8e4c6baf2c84398c11221b963aab1a9fefcaee329405e1631808ccd453c01424 SHA512 e8e47563fc09f5ac018a52577db4998c259884a9251b6c7c2709d4e214a1ebe5820b92739da0b1cac88114545d450409454e882591a59fd27ca981172682af9e WHIRLPOOL c2bbfab3d09d312682431ae7f7f38fa21868457b8d567a25537ffbabd8c07362b83d763072b6f342ea2f071b096fedd8fa6f1c3ef486d288904f29132d3d8951 +AUX libfprint-0.6.0-fix-udev-rules.patch 1436 SHA256 854d6e5ca4299b9a4b33513fc91b84c42af133098201fe7a92eeab350237e4c3 SHA512 b3b191814e0decccaa6e6b1edad70db23e756c319e512f0f236a62845de41ba1982b510f3b0edd699202ba8de9f56afa68a9fef000ac88a61c1ae9d8d5d8a55d WHIRLPOOL df1541a2df2d3efee5b4c22e9f4ef5b18da4e7a9cee4978f72745bc2adabf528320b454cb4b081673194ff1f702a20aad7395e71db858faebb5d46a3607d9e79 +DIST libfprint-0.4.0.tar.bz2 228518 SHA256 58f4056f498b8ba564a8ba2ee4a59cf2c3edb53c03e5df390fcf77be75ea7117 SHA512 26361101f5b73f722c14109d7e9cb78738968d2cfc6fcb824dc56f0044c8cd866fcb57e7f432e3ec3eeba956d92b2a091b5daed77c992f61d75cb3ed323adc09 WHIRLPOOL 94502f1350c1d6a1f401671f739f0bd42a581aaff97f1f89517c3c76eeebbef7783ec673a0834e43335a5c8d3231eafcf1c23f6b1ad769e909872844b114b650 +DIST libfprint-0.5.0.tar.bz2 277118 SHA256 1d4d6832fe61e934a40cbe2b9fe9a92153ddccb5c874fce10f476f1113c1d76c SHA512 2a5a4d45bd11060964e34c70b2a41e45d220e3b97d07a962c939ec84988a85a4d97898c86b1e7f7c571d85bb7f4333231cf327f62907b40e6a1262cc5b365981 WHIRLPOOL a3c7763ab62d65e2bdf44e93a5230dcbde7065121427063c8b3bb19d597be1f1b5ae58e55e1e635b03eb004f1e08085585958b5ae0d85a5004dff939657190ad +DIST libfprint-0.5.1-add-vfs5011-driver.patch 338763 SHA256 329af64cc7273d46a56c603b8d242a51d3485655d475548ea47c66ef874946dd SHA512 446de6dea67c4b4d257f5427b5981f28ba6ab422dcd022862541e6216c1733f146f86ee5a8ad855c142ce1bc7795c72820112d68d68bb74bd68751a02dd42fb5 WHIRLPOOL d08b0011a0363497079c9a16b35e2eae64976c1a3b840e92560c55b399770e62ed4940278c729d24129e34503269876c8bd54d923b7656785ad1cda3ee6c0e1c +DIST libfprint-0.5.1.tar.bz2 277342 SHA256 0a2ea0e3bd4115bbe7261a0f43d5091ca32f9eaf8ca3364cca2b89c0f30c7962 SHA512 e1596e28f2730501b5957d2b4365f8eead7c0941434d064ceb6e5321d0e8495e71ab576b214881441bf1abc6ecba2b3ffafe5027f738f80c8c38b4e95866c8c7 WHIRLPOOL 444798713bf7603f7aa2bde104c9a62049566fa1e1e5bcf442d3f6212561dae41c69f579a6c5bc9a8df8efd09a60f12b8eb5b9909d1884413ea7e7caba637a37 +DIST libfprint-0.6.0.tar.bz2 323590 SHA256 4e1787da3367d18d931f189a7fd9c92f6dc01f799d0c03ed4595603c1eceaf5c SHA512 2ab9ceec0c357779c94d3b8e94c11a733825bd735bec0e5c762d215d69bf295da0c5db7fd365e2a7efdcf25747777371f793b5e99d5c98e1bf9dcb1170e10ef9 WHIRLPOOL ecd0d3402cd24245f790a34d796a964f6c211096e906299fdce49d5a2eed0f73717e079749c877680e3000d9b4dd11d534759efb313a133e40e950a1a0c62a03 +DIST libfprint-0.6.0_vfs0050.patch.gz 9944 SHA256 0ba035e5da7493da09fbbdc059e209227e6279093a6bd4541de5b47e7900ada8 SHA512 658f936c462cf50d4325d33da6c8298768dfbe4bf442933fc197c8f4bebd741ef6878bcfe123606790c3ddcc3e217fd5f97b3755d36b181c5837dc28e146d674 WHIRLPOOL eb285a54b05809fb594438d0b071d258a97129e45aff07428228fe7700f78328b87437dd8ac2203b1f87111051841726cbd1a41c13e0005a43aa6cf7b5d39953 +EBUILD libfprint-0.4.0-r1.ebuild 1068 SHA256 647e8cd343b2a3f3cf72ef153d00dd8ac51a14b721c18239bc7a90af65de0bc4 SHA512 8c94812ca690945c455dd71f34b50c323e966e2f7997326c003c33ff5403ffde3953efa9fbd8b8c75a50fd9cad805a6e9aa92d0fb6c0ab20da987ff3789a11f9 WHIRLPOOL 4bf14d33cc20dd419964a18ea51e050ad81355e5a55dd6de88a3ff6180d838cc3907f86940dc4dcc02e0a3ba424ef747178835bbc7bb6d47b9a2c8b876b93059 +EBUILD libfprint-0.5.0-r2.ebuild 1195 SHA256 9693fc6b2d61e1a8d7e64c886b813f4eea0beaf6570c4491db0c8060f8a452c8 SHA512 eb8e9519a21653bdef75a998a656ea82443952754c1a7c74d6d611e47b8ce3f1484d2c60f784f4312ce8e6946ff446ff4113a1631a85c28ebc836d1407b09665 WHIRLPOOL e43544e6a8a12cc7da05ca77eaf4ce5406b5a9f0bd6efe91cb74d0f7767d5507626338ddc182f08d30e6f897794afdf767ee775ba4e5b9ce0b62dabc0c533847 +EBUILD libfprint-0.5.1-r2.ebuild 1252 SHA256 c2ed05e229a16923ed60582a315fc805744f5f7412f7d9a5e2cd2d6d3259a871 SHA512 18962e934fc0f562a2fa855134b10cad4b14708d81c5e2974c26ad460211d1d52a3c76f4077fa2fdf46b48c8ab64c8b4061b3e3fdd9ed4ee61bf140a433d1dcb WHIRLPOOL a57e20a42052f32e30eb321894fd4c9ff9e71c443b297f60feb4bf9441c4cf7853abcc6a18d29b6648db881bb78f760739bb34b5fabb51e2b68e367181e6fe83 +EBUILD libfprint-0.6.0-r2.ebuild 1269 SHA256 1972c77d315ecc8ff9f6b59f27a7a8c5be3fbe1dbf63466b3dc68b2c701a0668 SHA512 6b833727a28d441d6c3170b9c09d5254130653eae0fb1ed339485d4e1bb4aeee11cbc5d01ad074b24cc9e6442d679f9efe8d1f05f9eaec8dc7b96c14d721c2d4 WHIRLPOOL cf4bd47e26333e2dfeec615e68e91e5fe68e03aefacbd75b3bef7be9bd4c38f9967c338030df5eb2549232791398faf4405233e667c10ea44c48e22f965e3ab1 +MISC ChangeLog 4939 SHA256 a2f405419b4c27971918e2d358c90533963ed956f4e6b9144dd34f5cc17913b9 SHA512 18f40892e0d7c73938fdc7e97d2cabe0dc2d8c2450806ff7cfc91c354e715973938d4781ac34c682611e1d5a2bbb6369e3abc22e35c70f0569fec1992c4a3733 WHIRLPOOL 42d67a777ebcbd711460fff3462f9dfe9c4f014215921e39d66b168ab71671469cf9186857182ca025b85e099226db4d08c7789f4db2b4a49823b95966fa7f15 +MISC ChangeLog-2015 6159 SHA256 a08b66735ad4248ce960575e636a679048c2edeabf9968ee55bef2c2496d1a11 SHA512 3b5c17a7b770ff525113159732df111a3efbfad3ba6833da2557c049154e6ee8cf17e0612058908c9ce70cc1ccbb2c79e3da6936c2ca03c81fbc27ee8554d14b WHIRLPOOL 50377c37aeb9a8e0361caca44fc2f078012ed3c9ce90bf4cfd2cb5c12f9c58b8d5795603c9c6d6ab5af0e39b59cb03fcc209590d62ef2e16c03d5d83e24787a8 +MISC metadata.xml 348 SHA256 fbc648a1e9c0a408881dff04a13b5cd87f4cd20ec811cf07b6690737f57e3191 SHA512 2f678a8d401f6823cbcd351316428e571a0cc1026656dd249abda031f690feef55f2628b79bea4c0b44c6f70af099717d04bdb854f17a20ee41d46860fd28eff WHIRLPOOL b58b8bdfc8d0d9a47b22d30c92f72cebe51443afca106d258a93f14d614ce076a4a0beb542c5add1033867ad5b3144b93e303adbf7e4733c53568d7038038919 diff --git a/sys-auth/libfprint/files/libfprint-0.5.0-automake-1.13.patch b/sys-auth/libfprint/files/libfprint-0.5.0-automake-1.13.patch new file mode 100644 index 000000000000..e82082ab6d6a --- /dev/null +++ b/sys-auth/libfprint/files/libfprint-0.5.0-automake-1.13.patch @@ -0,0 +1,24 @@ +From 43eca622cd49b58c87157e1ff1a2fcfdfba0934e Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick <anarsoul@gmail.com> +Date: Sun, 13 Jan 2013 13:42:13 +0000 +Subject: configure.ac: Use AC_CONFIG_HEADERS + +AM_CONFIG_HEADER is obsolete, use AC_CONFIG_HEADERS instead of it. + +https://bugs.freedesktop.org/show_bug.cgi?id=59320 +--- +diff --git a/configure.ac b/configure.ac +index 6737256..978ef0d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2,7 +2,7 @@ AC_INIT([libfprint], [0.5.0]) + AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz check-news]) + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_SRCDIR([libfprint/core.c]) +-AM_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + + # Enable silent build when available (Automake 1.11) + m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) +-- +cgit v0.9.0.2-2-gbebe diff --git a/sys-auth/libfprint/files/libfprint-0.5.0-support-147e_2020.patch b/sys-auth/libfprint/files/libfprint-0.5.0-support-147e_2020.patch new file mode 100644 index 000000000000..98f72aed5a0d --- /dev/null +++ b/sys-auth/libfprint/files/libfprint-0.5.0-support-147e_2020.patch @@ -0,0 +1,48 @@ +From 3b3679c900f6739f7067f8d720e15d548bb39be9 Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick <anarsoul@gmail.com> +Date: Sun, 13 Jan 2013 13:43:38 +0000 +Subject: upeke2: Add support for 147e:2020 ID + +https://bugs.freedesktop.org/show_bug.cgi?id=59320 +--- +diff --git a/libfprint/drivers/upeke2.c b/libfprint/drivers/upeke2.c +index ed8f43d..a7db54d 100644 +--- a/libfprint/drivers/upeke2.c ++++ b/libfprint/drivers/upeke2.c +@@ -46,6 +46,11 @@ + #define MSG_READ_BUF_SIZE 0x40 + #define MAX_DATA_IN_READ_BUF (MSG_READ_BUF_SIZE - 9) + ++enum { ++ UPEKE2_2016, ++ UPEKE2_2020, ++}; ++ + struct upeke2_dev { + gboolean enroll_passed; + gboolean first_verify_iteration; +@@ -848,8 +853,10 @@ static struct fpi_ssm *deinitsm_new(struct fp_dev *dev) + + static int discover(struct libusb_device_descriptor *dsc, uint32_t *devtype) + { +- /* Revision 2 is what we're interested in */ +- if (dsc->bcdDevice == 2) ++ if (dsc->idProduct == 0x2016 && dsc->bcdDevice == 2) ++ return 1; ++ ++ if (dsc->idProduct == 0x2020 && dsc->bcdDevice == 1) + return 1; + + return 0; +@@ -1453,7 +1460,8 @@ static int verify_stop(struct fp_dev *dev, gboolean iterating) + } + + static const struct usb_id id_table[] = { +- { .vendor = 0x147e, .product = 0x2016 }, ++ { .vendor = 0x147e, .product = 0x2016, .driver_data = UPEKE2_2016 }, ++ { .vendor = 0x147e, .product = 0x2020, .driver_data = UPEKE2_2020 }, + { 0, 0, 0, }, /* terminating entry */ + }; + +-- +cgit v0.9.0.2-2-gbebe diff --git a/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch b/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch new file mode 100644 index 000000000000..128ac8ce311b --- /dev/null +++ b/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch @@ -0,0 +1,23 @@ +Remove spurious \n to fix udev rule generation + +Steven Newbury <steve@snewbury.org.uk>: +libfprint generates 60-fprint-autosuspend.rules for all supported devices, +however there's a spurious \n before the ', MODE="0666"' which results in it +appearing on a new line after the match criteria. At least on current +systemd/udev this results in MODE="0666" being applied unconditionally to all +device nodes. This is an extremely serious security problem and effectively +gives root access to all users simply by having the ebuild emerged. + +https://bugs.gentoo.org/562218 + +--- a/libfprint/fprint-list-udev-rules.c ++++ b/libfprint/fprint-list-udev-rules.c +@@ -74,7 +74,7 @@ + if (num_printed == 0) + printf ("# %s\n", driver->full_name); + +- printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\"\n, MODE=\"0666\"\n", driver->id_table[i].vendor, driver->id_table[i].product); ++ printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\", MODE=\"0666\"\n", driver->id_table[i].vendor, driver->id_table[i].product); + printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ENV{LIBFPRINT_DRIVER}=\"%s\"\n", driver->id_table[i].vendor, driver->id_table[i].product, driver->full_name); + num_printed++; + } diff --git a/sys-auth/libfprint/libfprint-0.4.0-r1.ebuild b/sys-auth/libfprint/libfprint-0.4.0-r1.ebuild new file mode 100644 index 000000000000..d6f8ebcf26e0 --- /dev/null +++ b/sys-auth/libfprint/libfprint-0.4.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils udev + +MY_PV="v_${PV//./_}" +DESCRIPTION="library to add support for consumer fingerprint readers" +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/" +SRC_URI="https://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86" +IUSE="debug static-libs" + +RDEPEND="virtual/libusb:1 + dev-libs/nss + || ( virtual/imagemagick-tools x11-libs/gdk-pixbuf )" +DEPEND="${RDEPEND} + virtual/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 \ + $(use_enable debug debug-log) \ + $(use_enable static-libs static) +} + +src_install() { + emake \ + DESTDIR="${D}" \ + udev_rulesdir="$(get_udevdir)/rules.d" \ + install + + prune_libtool_files + dodoc AUTHORS HACKING NEWS README THANKS TODO +} diff --git a/sys-auth/libfprint/libfprint-0.5.0-r2.ebuild b/sys-auth/libfprint/libfprint-0.5.0-r2.ebuild new file mode 100644 index 000000000000..6a9a3d3d00a8 --- /dev/null +++ b/sys-auth/libfprint/libfprint-0.5.0-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils udev vcs-snapshot + +MY_PV="v_${PV//./_}" +DESCRIPTION="library to add support for consumer fingerprint readers" +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/" +SRC_URI="https://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 x86" +IUSE="debug static-libs" + +RDEPEND="virtual/libusb:1 + dev-libs/nss + || ( virtual/imagemagick-tools x11-libs/gdk-pixbuf )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${P}-automake-1.13.patch" + epatch "${FILESDIR}/${P}-support-147e_2020.patch" + eautoreconf +} + +src_configure() { + econf \ + --with-drivers=all \ + $(use_enable debug debug-log) \ + $(use_enable static-libs static) \ + -enable-udev-rules \ + --with-udev-rules-dir=$(get_udevdir)/rules.d + # --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 +} diff --git a/sys-auth/libfprint/libfprint-0.5.1-r2.ebuild b/sys-auth/libfprint/libfprint-0.5.1-r2.ebuild new file mode 100644 index 000000000000..88858c64dcfd --- /dev/null +++ b/sys-auth/libfprint/libfprint-0.5.1-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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" +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/" +SRC_URI="https://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2 + https://dev.gentoo.org/~patrick/libfprint-0.5.1-add-vfs5011-driver.patch" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="debug static-libs" + +RDEPEND="virtual/libusb:1 + dev-libs/glib:2 + dev-libs/nss + || ( virtual/imagemagick-tools x11-libs/gdk-pixbuf )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${DISTDIR}/${P}-add-vfs5011-driver.patch" || die + eautoreconf +} + +src_configure() { + econf \ + --with-drivers=all \ + $(use_enable debug debug-log) \ + $(use_enable static-libs static) \ + -enable-udev-rules \ + --with-udev-rules-dir=$(get_udevdir)/rules.d + # --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 +} diff --git a/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild b/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild new file mode 100644 index 000000000000..140d84083302 --- /dev/null +++ b/sys-auth/libfprint/libfprint-0.6.0-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils udev vcs-snapshot + +MY_PV="V_${PV//./_}" +DESCRIPTION="library to add support for consumer fingerprint readers" +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/" +SRC_URI="https://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2 + https://dev.gentoo.org/~xmw/${P}_vfs0050.patch.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="debug static-libs vanilla" + +RDEPEND="virtual/libusb:1 + dev-libs/glib:2 + dev-libs/nss + x11-libs/pixman" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-fix-udev-rules.patch" +) + +src_prepare() { + if ! use vanilla ; then + eapply "${WORKDIR}"/${P}_vfs0050.patch + fi + + default + + # upeke2 and fdu2000 were missing from all_drivers. + sed -e '/^all_drivers=/s:"$: upeke2 fdu2000":' \ + -i configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + --with-drivers=all \ + $(use_enable debug debug-log) \ + $(use_enable static-libs static) \ + -enable-udev-rules \ + --with-udev-rules-dir=$(get_udevdir)/rules.d +} + +src_install() { + default + + prune_libtool_files + + dodoc AUTHORS HACKING NEWS README THANKS TODO +} diff --git a/sys-auth/libfprint/metadata.xml b/sys-auth/libfprint/metadata.xml new file mode 100644 index 000000000000..8fe32539538d --- /dev/null +++ b/sys-auth/libfprint/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +<upstream> + <bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to> +</upstream> +</pkgmetadata> |