From 3f71901f8c228f4de570abed1831ce3ee425343e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Sep 2018 10:50:14 +0100 Subject: gentoo resync 08.09.2018 --- sys-auth/libfprint/Manifest | 14 +- .../files/libfprint-0.5.0-automake-1.13.patch | 24 --- .../files/libfprint-0.5.0-support-147e_2020.patch | 48 ----- .../libfprint-0.8.2-fix-implicit-declaration.patch | 194 +++++++++++++++++++++ sys-auth/libfprint/libfprint-0.4.0-r1.ebuild | 51 ------ sys-auth/libfprint/libfprint-0.5.0-r2.ebuild | 47 ----- sys-auth/libfprint/libfprint-0.5.1-r2.ebuild | 48 ----- sys-auth/libfprint/libfprint-0.8.2.ebuild | 42 +++++ sys-auth/libfprint/metadata.xml | 10 +- 9 files changed, 247 insertions(+), 231 deletions(-) delete mode 100644 sys-auth/libfprint/files/libfprint-0.5.0-automake-1.13.patch delete mode 100644 sys-auth/libfprint/files/libfprint-0.5.0-support-147e_2020.patch create mode 100644 sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch delete mode 100644 sys-auth/libfprint/libfprint-0.4.0-r1.ebuild delete mode 100644 sys-auth/libfprint/libfprint-0.5.0-r2.ebuild delete mode 100644 sys-auth/libfprint/libfprint-0.5.1-r2.ebuild create mode 100644 sys-auth/libfprint/libfprint-0.8.2.ebuild (limited to 'sys-auth/libfprint') diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest index 6ca56a2463be..e35dee7405aa 100644 --- a/sys-auth/libfprint/Manifest +++ b/sys-auth/libfprint/Manifest @@ -1,14 +1,8 @@ -AUX libfprint-0.5.0-automake-1.13.patch 797 BLAKE2B f84501e22e85efd9e9992bfbbe89191d86dd8353efe821f457f13090ff9e19ae2899dc8ab934d26b532270ed1054daa9e6e42519dee52ea16b5ba66aea486b0e SHA512 76e059f076348beb720e4f7bf8802b101aaf1d281429cdeb8f54ca67c23a1bf198b0220e4ff67421005cc8797c310f624265d5c91e9160fd78a2a3cf9ef4a39e -AUX libfprint-0.5.0-support-147e_2020.patch 1443 BLAKE2B 77e57f424d5727d00baa82b1d50f145dbf7e464af7739d2ed8fbdf4dab367e575f8d10d9623f960f0d00689ab5619f56ed124e1a2f3f479f23faae3da7e671a3 SHA512 e8e47563fc09f5ac018a52577db4998c259884a9251b6c7c2709d4e214a1ebe5820b92739da0b1cac88114545d450409454e882591a59fd27ca981172682af9e AUX libfprint-0.6.0-fix-udev-rules.patch 1436 BLAKE2B 0e1d31c33ba0a1462e4c5482545802a253fad032a2148debe1be9a99452257e15c3a84df7ff74c5834718aeaa404a154a23f0f8cce634bc568a6f60b6327f4b7 SHA512 b3b191814e0decccaa6e6b1edad70db23e756c319e512f0f236a62845de41ba1982b510f3b0edd699202ba8de9f56afa68a9fef000ac88a61c1ae9d8d5d8a55d -DIST libfprint-0.4.0.tar.bz2 228518 BLAKE2B 6a40eed5c4aa1e6f4365862fbe4abca3c0d220cfd7ed0395020957602d592529a61d0e8aea21a02c50b65897411a9ce69599261a23f5478e41954dfc1ea3368e SHA512 26361101f5b73f722c14109d7e9cb78738968d2cfc6fcb824dc56f0044c8cd866fcb57e7f432e3ec3eeba956d92b2a091b5daed77c992f61d75cb3ed323adc09 -DIST libfprint-0.5.0.tar.bz2 277118 BLAKE2B a90db33daa3be287c2e68edd12547c9a42ce8a557a8cbbb53779b88b7e732b02cd484445d6e48cc2a4bc2c8b8013deafbb4e9c67e4a3955b1ab1c00f6f33679d SHA512 2a5a4d45bd11060964e34c70b2a41e45d220e3b97d07a962c939ec84988a85a4d97898c86b1e7f7c571d85bb7f4333231cf327f62907b40e6a1262cc5b365981 -DIST libfprint-0.5.1-add-vfs5011-driver.patch 338763 BLAKE2B e86e22f76f0a261e6f4bc80e23ef9af8305eb8b9f382016786cdd3ed0e4d0db5f9c1f102d696153f3d2f9730da24f52aabee09133ce2ce54be390454fcf13ae7 SHA512 446de6dea67c4b4d257f5427b5981f28ba6ab422dcd022862541e6216c1733f146f86ee5a8ad855c142ce1bc7795c72820112d68d68bb74bd68751a02dd42fb5 -DIST libfprint-0.5.1.tar.bz2 277342 BLAKE2B ebf653f147d3c75ab9885ffc4a30fb07235ba80cf2fc1dfaa2db6e9b9afa52b20a9c4ec8d73fb15089731d20a6945b1e9920096ffbc7f9dadba88068efa7958e SHA512 e1596e28f2730501b5957d2b4365f8eead7c0941434d064ceb6e5321d0e8495e71ab576b214881441bf1abc6ecba2b3ffafe5027f738f80c8c38b4e95866c8c7 +AUX libfprint-0.8.2-fix-implicit-declaration.patch 4831 BLAKE2B ec61d1ee189549f4456634b5b0157f32c61b2255330681b96bc50c73d9a5d51c1058f4f82b979ca4695d9d1065b0623e86be943f98c1582725bcddda0630156b SHA512 afd4e7c5ee65a91b17aa8bec4c6a0ba5b972e9f2586a0cfa7adc823d2a1f8d2378ed28928c5108870d2347f3edb2f343a24b2eaef6c015b7650834b4d76ceb73 DIST libfprint-0.6.0.tar.bz2 323590 BLAKE2B 8a592241ded8826337db075dd26960a9712e1a01855c6fd2c461b73ea6e2fac5248bce16165144b48271b368d0b2a82963eab00a64a88c27539e19aee54b9ba4 SHA512 2ab9ceec0c357779c94d3b8e94c11a733825bd735bec0e5c762d215d69bf295da0c5db7fd365e2a7efdcf25747777371f793b5e99d5c98e1bf9dcb1170e10ef9 DIST libfprint-0.6.0_vfs0050.patch.gz 9944 BLAKE2B b53a74f64c9691cee7c4e7f2f54afcffe2b00b63914900ed107426a9e42721548caa1ec80e1e39251ee6a0daec6ecf7f80d6704d37bc984dd1ac76320d0b4256 SHA512 658f936c462cf50d4325d33da6c8298768dfbe4bf442933fc197c8f4bebd741ef6878bcfe123606790c3ddcc3e217fd5f97b3755d36b181c5837dc28e146d674 -EBUILD libfprint-0.4.0-r1.ebuild 1068 BLAKE2B e80c359e0bd4afed41063b0bad4aa7144a342520fdffda10f2ebbea630fabcbba8422474005c82de28d065fe2f349f863d20cc664af1ff9550c8a1445f781f32 SHA512 8c94812ca690945c455dd71f34b50c323e966e2f7997326c003c33ff5403ffde3953efa9fbd8b8c75a50fd9cad805a6e9aa92d0fb6c0ab20da987ff3789a11f9 -EBUILD libfprint-0.5.0-r2.ebuild 1200 BLAKE2B 3f26892b852549d6ce13c5808518afb791239cfa8242bb10ab0d8a3a05058f0fc458a421c6b6a6f5e6cd247092ddf4e07585ab9aada9e52983978a553daa6ca6 SHA512 ff419c47707d1a26835bcf25d412d92b1dab2ac15927d86107f09200f85a849f9f647799b472b3697f908cdc7d9fd2cd01b9d5b8da579158a274bb74ee2fbf6f -EBUILD libfprint-0.5.1-r2.ebuild 1257 BLAKE2B d9cf70ff5315eb87402db4e63c268f3b835a2dfb34751c03cf6bfdbabf96d16e7599db754349ff802f9a4e2bba63b3005f6826b4f71ee39107ab23f35abe92d9 SHA512 e51fd3caabcd5e3a1db0ce22ac74cf7221428584fd3160232c4a430c4bb2fc378847b8ad8e1548a1f2ca535d892146f2eaa49d13d7fc48d0a095b252f15b7800 +DIST libfprint-0.8.2.tar.gz 418437 BLAKE2B 396fee3b84958f273462fe92553a6a2dbefcadfc54c56531855fcef94613cd03ba68705585802992f86aa8175cb7dda0e80e96931de4a11da973b1f9ce2c4777 SHA512 56f7927adcb40866bfef67624221b921ba3d68e770e707c432f47c0bb1f5e233fd2427bacb448544167257b6ad9edf9008a188f408142288f4dbfee2115e9a8f EBUILD libfprint-0.6.0-r2.ebuild 1273 BLAKE2B 4e5371e38e79e1dfe0c25e36cfa79d03c2b823c145110fd9c8e13a241534cce708e7a67090bdacd203aab33693c46f494780ec46b6dea6a486b88b4a9a01487b SHA512 4e6d1285e871c53be91dc4ae834cd040dd5932d61c38cccb628c86d8b7cad5652faf498943ab8941041a32b5138a033b934a9d6ebaa5662dbfff285f458ba759 -MISC metadata.xml 348 BLAKE2B e32864052d6e6ce6c7f9acb93908a337c47811334e279d20d23bfc6939c993593caed200b9e403e0fb9b37fc0339224d14342c631949af8ce3ed5fcb6387d266 SHA512 2f678a8d401f6823cbcd351316428e571a0cc1026656dd249abda031f690feef55f2628b79bea4c0b44c6f70af099717d04bdb854f17a20ee41d46860fd28eff +EBUILD libfprint-0.8.2.ebuild 1062 BLAKE2B 3bba972cd7430dee34580eb55edeff675f37e3a4fa84d34c36cd10fb6ec2100816b1c04dd9aa80d2f661fc2ae795e0f138eccda479e561214a030a3532d5943a SHA512 841e8e8782def4748405ab0014460c5db155332979a74166299c5c5ea70419a51d3b23db002986896164061b64c718260080f5d3c7d6625c6bbbb4cdbb765732 +MISC metadata.xml 447 BLAKE2B e0f443394ed8326d9077c7d8cedec0430d7faa1c4df14d10714ad82b53f5cf35f3c5867648ef8ce8ae6bdaea19975792d061bd9ca1ebe9308e105f3a46eb9a9d SHA512 d0a3100d7eb26bc5164172a541e9d0541a75f0a1caeb5631900820a2c020becf96e237e45e1dd60a1d1b1f08015f56f2110cc94631816d73befca0d0fcbdfa2d 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 deleted file mode 100644 index e82082ab6d6a..000000000000 --- a/sys-auth/libfprint/files/libfprint-0.5.0-automake-1.13.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 43eca622cd49b58c87157e1ff1a2fcfdfba0934e Mon Sep 17 00:00:00 2001 -From: Vasily Khoruzhick -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 deleted file mode 100644 index 98f72aed5a0d..000000000000 --- a/sys-auth/libfprint/files/libfprint-0.5.0-support-147e_2020.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 3b3679c900f6739f7067f8d720e15d548bb39be9 Mon Sep 17 00:00:00 2001 -From: Vasily Khoruzhick -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.8.2-fix-implicit-declaration.patch b/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch new file mode 100644 index 000000000000..15b49597238c --- /dev/null +++ b/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch @@ -0,0 +1,194 @@ +From 17cbe376872d8a0f579a0497942a5d2f19facaf5 Mon Sep 17 00:00:00 2001 +From: Mikle Kolyada +Date: Sun, 2 Sep 2018 17:20:03 +0300 +Subject: [PATCH] Fix implicit declaration warnings + +--- + libfprint/drivers/aes1610.c | 2 ++ + libfprint/drivers/aes2501.c | 2 ++ + libfprint/drivers/aes2550.c | 2 ++ + libfprint/drivers/aesx660.c | 2 ++ + libfprint/drivers/etes603.c | 2 ++ + libfprint/drivers/upeksonly.c | 2 ++ + libfprint/drivers/upektc.c | 2 ++ + libfprint/drivers/upektc_img.c | 2 ++ + libfprint/drivers/upekts.c | 2 ++ + libfprint/drivers/vfs0050.c | 2 ++ + libfprint/drivers/vfs101.c | 3 +++ + libfprint/drivers/vfs301.c | 3 +++ + libfprint/drivers/vfs5011.c | 2 ++ + 13 files changed, 28 insertions(+) + +diff --git a/libfprint/drivers/aes1610.c b/libfprint/drivers/aes1610.c +index f307a3b..9dc3383 100644 +--- a/libfprint/drivers/aes1610.c ++++ b/libfprint/drivers/aes1610.c +@@ -25,6 +25,8 @@ + + #define FP_COMPONENT "aes1610" + ++#include ++ + #include "drivers_api.h" + #include "aeslib.h" + +diff --git a/libfprint/drivers/aes2501.c b/libfprint/drivers/aes2501.c +index 87879a4..caaf3ea 100644 +--- a/libfprint/drivers/aes2501.c ++++ b/libfprint/drivers/aes2501.c +@@ -23,6 +23,8 @@ + + #define FP_COMPONENT "aes2501" + ++#include ++ + #include "drivers_api.h" + #include "aeslib.h" + #include "aes2501.h" +diff --git a/libfprint/drivers/aes2550.c b/libfprint/drivers/aes2550.c +index ab4acaa..c838e54 100644 +--- a/libfprint/drivers/aes2550.c ++++ b/libfprint/drivers/aes2550.c +@@ -23,6 +23,8 @@ + + #define FP_COMPONENT "aes2550" + ++#include ++ + #include "drivers_api.h" + #include "aes2550.h" + #include "aeslib.h" +diff --git a/libfprint/drivers/aesx660.c b/libfprint/drivers/aesx660.c +index e443e21..17c0245 100644 +--- a/libfprint/drivers/aesx660.c ++++ b/libfprint/drivers/aesx660.c +@@ -23,6 +23,8 @@ + + #define FP_COMPONENT "aesX660" + ++#include ++ + #include "drivers_api.h" + #include "aeslib.h" + #include "aesx660.h" +diff --git a/libfprint/drivers/etes603.c b/libfprint/drivers/etes603.c +index fdaf7f2..0782f9e 100644 +--- a/libfprint/drivers/etes603.c ++++ b/libfprint/drivers/etes603.c +@@ -35,6 +35,8 @@ + + #define FP_COMPONENT "etes603" + ++#include ++ + #include "drivers_api.h" + #include "driver_ids.h" + +diff --git a/libfprint/drivers/upeksonly.c b/libfprint/drivers/upeksonly.c +index 9cccb86..e035408 100644 +--- a/libfprint/drivers/upeksonly.c ++++ b/libfprint/drivers/upeksonly.c +@@ -25,6 +25,8 @@ + + #define FP_COMPONENT "upeksonly" + ++#include ++ + #include "drivers_api.h" + #include "upeksonly.h" + +diff --git a/libfprint/drivers/upektc.c b/libfprint/drivers/upektc.c +index ffa31f3..e4d7de5 100644 +--- a/libfprint/drivers/upektc.c ++++ b/libfprint/drivers/upektc.c +@@ -20,6 +20,8 @@ + + #define FP_COMPONENT "upektc" + ++#include ++ + #include "drivers_api.h" + #include "upektc.h" + +diff --git a/libfprint/drivers/upektc_img.c b/libfprint/drivers/upektc_img.c +index f0f2f18..a500623 100644 +--- a/libfprint/drivers/upektc_img.c ++++ b/libfprint/drivers/upektc_img.c +@@ -19,6 +19,8 @@ + + #define FP_COMPONENT "upektc_img" + ++#include ++ + #include "drivers_api.h" + #include "aeslib.h" + #include "upektc_img.h" +diff --git a/libfprint/drivers/upekts.c b/libfprint/drivers/upekts.c +index b448e36..1094e66 100644 +--- a/libfprint/drivers/upekts.c ++++ b/libfprint/drivers/upekts.c +@@ -27,6 +27,8 @@ + + #define FP_COMPONENT "upekts" + ++#include ++ + #include "drivers_api.h" + + #define EP_IN (1 | LIBUSB_ENDPOINT_IN) +diff --git a/libfprint/drivers/vfs0050.c b/libfprint/drivers/vfs0050.c +index dcf5d69..60a720e 100644 +--- a/libfprint/drivers/vfs0050.c ++++ b/libfprint/drivers/vfs0050.c +@@ -19,6 +19,8 @@ + + #define FP_COMPONENT "vfs0050" + ++#include ++ + #include "drivers_api.h" + #include "vfs0050.h" + +diff --git a/libfprint/drivers/vfs101.c b/libfprint/drivers/vfs101.c +index 3304b1f..473adf2 100644 +--- a/libfprint/drivers/vfs101.c ++++ b/libfprint/drivers/vfs101.c +@@ -19,6 +19,9 @@ + + #define FP_COMPONENT "vfs101" + ++#include ++#include ++ + #include "drivers_api.h" + + /* Input-Output usb endpoint */ +diff --git a/libfprint/drivers/vfs301.c b/libfprint/drivers/vfs301.c +index a34ee31..6f52316 100644 +--- a/libfprint/drivers/vfs301.c ++++ b/libfprint/drivers/vfs301.c +@@ -21,6 +21,9 @@ + + #define FP_COMPONENT "vfs301" + ++#include ++#include ++ + #include "drivers_api.h" + #include "vfs301_proto.h" + +diff --git a/libfprint/drivers/vfs5011.c b/libfprint/drivers/vfs5011.c +index 8b460ac..1355394 100644 +--- a/libfprint/drivers/vfs5011.c ++++ b/libfprint/drivers/vfs5011.c +@@ -18,6 +18,8 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include ++ + #include "drivers_api.h" + #include "vfs5011_proto.h" + +-- +2.16.4 diff --git a/sys-auth/libfprint/libfprint-0.4.0-r1.ebuild b/sys-auth/libfprint/libfprint-0.4.0-r1.ebuild deleted file mode 100644 index d6f8ebcf26e0..000000000000 --- a/sys-auth/libfprint/libfprint-0.4.0-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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 deleted file mode 100644 index 9e1a994e4533..000000000000 --- a/sys-auth/libfprint/libfprint-0.5.0-r2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2018 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 ~arm 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 deleted file mode 100644 index 4aacb0111500..000000000000 --- a/sys-auth/libfprint/libfprint-0.5.1-r2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 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 ~arm ~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.8.2.ebuild b/sys-auth/libfprint/libfprint-0.8.2.ebuild new file mode 100644 index 000000000000..da49365cca3f --- /dev/null +++ b/sys-auth/libfprint/libfprint-0.8.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eapi7-ver meson udev + +DESCRIPTION="library to add support for consumer fingerprint readers" +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/ https://github.com/freedesktop/libfprint" +SRC_URI="https://github.com/freedesktop/libfprint/archive/V_$(ver_rs 0-3 '_').tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/glib:2 + dev-libs/nss + virtual/libusb:1= + x11-libs/pixman + x11-libs/libX11 + x11-libs/libXv" + +DEPEND="${RDEPEND} + dev-util/gtk-doc + virtual/pkgconfig" + +PATCHES=( ${FILESDIR}/${P}-fix-implicit-declaration.patch ) + +S="${WORKDIR}/${PN}-V_$(ver_rs 0-3 '_')" + +src_configure() { + local emesonargs=( + -Ddoc=$(usex doc true false) + -Dx11-examples=$(usex examples true false) + -Ddrivers=all + -Dudev_rules=true + -Dudev_rules_dir=$(get_udevdir)/rules.d + --libdir=/usr/$(get_libdir) + ) + meson_src_configure +} diff --git a/sys-auth/libfprint/metadata.xml b/sys-auth/libfprint/metadata.xml index 8fe32539538d..94aee5a2fc69 100644 --- a/sys-auth/libfprint/metadata.xml +++ b/sys-auth/libfprint/metadata.xml @@ -2,10 +2,14 @@ -xmw@gentoo.org -Michael Weber + xmw@gentoo.org + Michael Weber + + + zlogene@gentoo.org + Mikle Kolyada - https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint + https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint -- cgit v1.2.3