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 953C51382C5 for ; Wed, 1 Jul 2020 19:25:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D500EE090A; Wed, 1 Jul 2020 19:25:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 BE1F5E090A for ; Wed, 1 Jul 2020 19:25:01 +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 D85CE34EF8C for ; Wed, 1 Jul 2020 19:25:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 11852274 for ; Wed, 1 Jul 2020 19:24:57 +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: <1593631495.116a55a8c8997289deba097e1d3954e3dbb8898a.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.8.0.ebuild X-VCS-Directories: dev-libs/libnfc/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 116a55a8c8997289deba097e1d3954e3dbb8898a X-VCS-Branch: master Date: Wed, 1 Jul 2020 19:24:57 +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: 58ea0cc4-605a-49e7-a1a7-5088294532d7 X-Archives-Hash: 36259847c76b159482355e51bdf3562b commit: 116a55a8c8997289deba097e1d3954e3dbb8898a Author: Rick Farina gentoo org> AuthorDate: Wed Jul 1 19:16:47 2020 +0000 Commit: Rick Farina gentoo org> CommitDate: Wed Jul 1 19:24:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116a55a8 dev-libs/libnfc: bumpity bump Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Rick Farina gentoo.org> dev-libs/libnfc/Manifest | 1 + dev-libs/libnfc/libnfc-1.8.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-libs/libnfc/Manifest b/dev-libs/libnfc/Manifest index f145b7da324..79395283928 100644 --- a/dev-libs/libnfc/Manifest +++ b/dev-libs/libnfc/Manifest @@ -1,2 +1,3 @@ DIST libnfc-1.7.1.tar.bz2 484309 BLAKE2B 7a86394e8902421410d54de2b2710cee7ea34a6f950f6d76ec59d24d6e46798cd10a9725f405c729df44da84b810b5853a5eef0ec5f2a10ccbcf7585d33f34ef SHA512 6a03d197c450c0ab8f2d16ae8c1f80e206fa909ece84a32dbb962acd0f7ef693a419608cdaa4c2207a1d2593599e44479520d7413eace7fca19d3230442e506c DIST libnfc-1.7.2.tar.bz2 534821 BLAKE2B 015634a696aeda77abdb53ab658504d0183b8d8d5899f368b122660d6527cf4d3ec988147082620d87d007ea33320acfde6cc013c9257b9c62fa4fb99528eeeb SHA512 c93ab10667998b6c6bf948082253715762ae91699d3e035f1149cebf6d3881cbc2ab570976c70cd12f886f76a18a82ac048fad0664512d1cd553c0fd1fdf7674 +DIST libnfc-1.8.0.tar.bz2 553511 BLAKE2B 060ef4f24b3387393faf43f37a3a245177cb9697d42df1a8e8e5155af8b6e7b818b4bd710ff73929bde39274eda0235d111627cfd3931bd3fe9addde10af0fad SHA512 aa8762ecb5b94167d20346f2c81491bb5b634bcedbf2aae3e2efdb301bca89ceb7c2e15148d0934fdc1cce6d77ee0225e28e84893232999fdc09d8a90ae2a7c5 diff --git a/dev-libs/libnfc/libnfc-1.8.0.ebuild b/dev-libs/libnfc/libnfc-1.8.0.ebuild new file mode 100644 index 00000000000..cb49692161f --- /dev/null +++ b/dev-libs/libnfc/libnfc-1.8.0.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/* +}