commit: 648a26fdb6f6bd9fdfbec62ae20ad6537f828f27 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> AuthorDate: Tue Feb 18 22:25:34 2020 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Tue Feb 18 22:25:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648a26fd
dev-libs/libfido2-1.3.0-r1: revbump, udev rules, config check (bug #710120) Closes: https://bugs.gentoo.org/710120 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> .../{libfido2-1.3.0.ebuild => libfido2-1.3.0-r1.ebuild} | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dev-libs/libfido2/libfido2-1.3.0.ebuild b/dev-libs/libfido2/libfido2-1.3.0-r1.ebuild similarity index 82% rename from dev-libs/libfido2/libfido2-1.3.0.ebuild rename to dev-libs/libfido2/libfido2-1.3.0-r1.ebuild index 80fc8d24e08..351d1eeaa54 100644 --- a/dev-libs/libfido2/libfido2-1.3.0.ebuild +++ b/dev-libs/libfido2/libfido2-1.3.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake-utils +inherit cmake-utils udev linux-info DESCRIPTION="Provides library functionality for FIDO 2.0" HOMEPAGE="https://github.com/Yubico/libfido2" @@ -29,10 +29,22 @@ PATCHES=( "${FILESDIR}/libfido2-1.3.0-remove-openssh-middleware.patch" ) +pkg_pretend() { + CONFIG_CHECK=" + ~USB_HID + ~HIDRAW + " + + check_extra_config +} + src_install() { cmake-utils_src_install if ! use static-libs; then rm -f "${D}/$(get_libdir)"/*.a || die fi + + udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules } +