diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-07-01 15:16:47 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-07-01 15:24:55 -0400 |
commit | 116a55a8c8997289deba097e1d3954e3dbb8898a (patch) | |
tree | 9498a614567c81cbfba3626da34dfd66f86051af /dev-libs/libnfc | |
parent | media-gfx/exiv2: 0.27.3 version bump (diff) | |
download | gentoo-116a55a8c8997289deba097e1d3954e3dbb8898a.tar.gz gentoo-116a55a8c8997289deba097e1d3954e3dbb8898a.tar.bz2 gentoo-116a55a8c8997289deba097e1d3954e3dbb8898a.zip |
dev-libs/libnfc: bumpity bump
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'dev-libs/libnfc')
-rw-r--r-- | dev-libs/libnfc/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libnfc/libnfc-1.8.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libnfc/Manifest b/dev-libs/libnfc/Manifest index f145b7da3246..793952839280 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 000000000000..cb49692161fb --- /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/* +} |