From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB6A21382C5 for ; Thu, 21 May 2020 16:27:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C57EE095F; Thu, 21 May 2020 16:27:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ECD41E095F for ; Thu, 21 May 2020 16:27:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0BD6034F2C5 for ; Thu, 21 May 2020 16:27:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C777E256 for ; Thu, 21 May 2020 16:27:33 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1590078452.d4c7a24aa8dba24b821e00dff79738f3e5c70ce7.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libnfc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libnfc/Manifest dev-libs/libnfc/libnfc-1.7.2.ebuild X-VCS-Directories: dev-libs/libnfc/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: d4c7a24aa8dba24b821e00dff79738f3e5c70ce7 X-VCS-Branch: master Date: Thu, 21 May 2020 16:27:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 96e24d27-1cf6-4df4-a46b-b9bfe262e611 X-Archives-Hash: a80c6418b33f4b594d36acdf2850d016 commit: d4c7a24aa8dba24b821e00dff79738f3e5c70ce7 Author: Rick Farina gentoo org> AuthorDate: Thu May 21 16:27:09 2020 +0000 Commit: Rick Farina gentoo org> CommitDate: Thu May 21 16:27:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c7a24a dev-libs/libnfc: bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Rick Farina gentoo.org> dev-libs/libnfc/Manifest | 1 + dev-libs/libnfc/libnfc-1.7.2.ebuild | 43 +++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-libs/libnfc/Manifest b/dev-libs/libnfc/Manifest index d9ffddf1518..f145b7da324 100644 --- a/dev-libs/libnfc/Manifest +++ b/dev-libs/libnfc/Manifest @@ -1 +1,2 @@ DIST libnfc-1.7.1.tar.bz2 484309 BLAKE2B 7a86394e8902421410d54de2b2710cee7ea34a6f950f6d76ec59d24d6e46798cd10a9725f405c729df44da84b810b5853a5eef0ec5f2a10ccbcf7585d33f34ef SHA512 6a03d197c450c0ab8f2d16ae8c1f80e206fa909ece84a32dbb962acd0f7ef693a419608cdaa4c2207a1d2593599e44479520d7413eace7fca19d3230442e506c +DIST libnfc-1.7.2.tar.bz2 534821 BLAKE2B 015634a696aeda77abdb53ab658504d0183b8d8d5899f368b122660d6527cf4d3ec988147082620d87d007ea33320acfde6cc013c9257b9c62fa4fb99528eeeb SHA512 c93ab10667998b6c6bf948082253715762ae91699d3e035f1149cebf6d3881cbc2ab570976c70cd12f886f76a18a82ac048fad0664512d1cd553c0fd1fdf7674 diff --git a/dev-libs/libnfc/libnfc-1.7.2.ebuild b/dev-libs/libnfc/libnfc-1.7.2.ebuild new file mode 100644 index 00000000000..cb49692161f --- /dev/null +++ b/dev-libs/libnfc/libnfc-1.7.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Near Field Communications (NFC) library" +HOMEPAGE="http://www.libnfc.org/" +SRC_URI="https://github.com/nfc-tools/${PN}/releases/download/${P}/${P}.tar.bz2" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc pcsc-lite readline static-libs usb" + +RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite ) + readline? ( sys-libs/readline:0 ) + usb? ( virtual/libusb:0 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_configure() { + local drivers="arygon,pn532_uart,pn532_spi,pn532_i2c,acr122s" + use pcsc-lite && drivers+=",acr122_pcsc" + use usb && drivers+=",pn53x_usb,acr122_usb" + econf \ + --with-drivers="${drivers}" \ + $(use_enable doc) \ + $(use_with readline) \ + $(use_enable static-libs static) +} + +src_compile() { + default + use doc && doxygen +} + +src_install() { + default + use static-libs || find "${ED}" -name 'lib*.la' -delete + use doc && dohtml "${S}"/doc/html/* +}