Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libnfc/
Date: Thu, 14 Nov 2019 00:47:39
Message-Id: 1573691590.54a709444abb8cf35565e6f040da61ce8f2c8a34.bman@gentoo
1 commit: 54a709444abb8cf35565e6f040da61ce8f2c8a34
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 14 00:33:10 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 14 00:33:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a70944
7
8 dev-libs/libnfc: drop old EAPI
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 dev-libs/libnfc/Manifest | 2 --
13 dev-libs/libnfc/libnfc-1.4.2.ebuild | 30 --------------------
14 dev-libs/libnfc/libnfc-1.5.1-r1.ebuild | 51 ----------------------------------
15 3 files changed, 83 deletions(-)
16
17 diff --git a/dev-libs/libnfc/Manifest b/dev-libs/libnfc/Manifest
18 index b0e2f0ee428..d9ffddf1518 100644
19 --- a/dev-libs/libnfc/Manifest
20 +++ b/dev-libs/libnfc/Manifest
21 @@ -1,3 +1 @@
22 -DIST libnfc-1.4.2.tar.gz 487310 BLAKE2B 9a92bebcdf5e28245b8087799d65ee67b3133d737aba781af19732bf839d16c40509ef5d87bca67a2946925a5265ad2b949bbbc93dd180c9b146615fae6e2483 SHA512 96710f1a808ab1cf90d86f687ec82339a3efab78253f840fba0188c01beadb326f1b521b67a8b7d47b217eae63ff6c5ec3906b4cbd743afa970aecf801b448ef
23 -DIST libnfc-1.5.1.tar.gz 534349 BLAKE2B b7d1654f596040dff81d8f6c42c9a587827051adb6883c70f51d6ed3a7839d981be921d0fac96697e18f66cdea93f1ca476bb48aae6e01d3ac9c8e59032e1820 SHA512 1b496b9368f0a19f5286c63c17ddf9c8afa3bae5106c8a85d89bbb8bb700948782722c30d9703d4348b45f362b47f5d63cbc0d7b4a4fe7d31dbbaedfa3354533
24 DIST libnfc-1.7.1.tar.bz2 484309 BLAKE2B 7a86394e8902421410d54de2b2710cee7ea34a6f950f6d76ec59d24d6e46798cd10a9725f405c729df44da84b810b5853a5eef0ec5f2a10ccbcf7585d33f34ef SHA512 6a03d197c450c0ab8f2d16ae8c1f80e206fa909ece84a32dbb962acd0f7ef693a419608cdaa4c2207a1d2593599e44479520d7413eace7fca19d3230442e506c
25
26 diff --git a/dev-libs/libnfc/libnfc-1.4.2.ebuild b/dev-libs/libnfc/libnfc-1.4.2.ebuild
27 deleted file mode 100644
28 index 513d1ac1683..00000000000
29 --- a/dev-libs/libnfc/libnfc-1.4.2.ebuild
30 +++ /dev/null
31 @@ -1,30 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="4"
36 -
37 -inherit eutils
38 -
39 -DESCRIPTION="Near Field Communications (NFC) library"
40 -HOMEPAGE="http://www.libnfc.org/"
41 -SRC_URI="https://github.com/nfc-tools/${PN}/releases/download/${P}/${P}.tar.gz"
42 -
43 -LICENSE="LGPL-3"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE="doc"
47 -
48 -RDEPEND="sys-apps/pcsc-lite
49 - virtual/libusb:0"
50 -DEPEND="${RDEPEND}
51 - doc? ( app-doc/doxygen )"
52 -
53 -src_compile() {
54 - emake || die "Failed to compile."
55 - use doc && doxygen
56 -}
57 -
58 -src_install() {
59 - emake install DESTDIR="${D}" || die "Failed to install properly."
60 - use doc && dohtml "${S}"/doc/html/*
61 -}
62
63 diff --git a/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild b/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild
64 deleted file mode 100644
65 index 8621ed61ec1..00000000000
66 --- a/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild
67 +++ /dev/null
68 @@ -1,51 +0,0 @@
69 -# Copyright 1999-2016 Gentoo Foundation
70 -# Distributed under the terms of the GNU General Public License v2
71 -
72 -EAPI="4"
73 -
74 -inherit eutils toolchain-funcs
75 -
76 -DESCRIPTION="Near Field Communications (NFC) library"
77 -HOMEPAGE="http://www.libnfc.org/"
78 -SRC_URI="https://github.com/nfc-tools/${PN}/releases/download/${P}/${P}.tar.gz"
79 -
80 -LICENSE="LGPL-3"
81 -SLOT="0"
82 -KEYWORDS="~amd64 ~arm ~x86"
83 -IUSE="doc pcsc-lite readline static-libs usb"
84 -
85 -RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite )
86 - readline? ( sys-libs/readline )
87 - usb? ( virtual/libusb:0 )"
88 -DEPEND="${RDEPEND}
89 - doc? ( app-doc/doxygen )"
90 -
91 -src_prepare() {
92 - epatch "${FILESDIR}/${PN}-1.5.1-glibc-2.17.patch"
93 -}
94 -
95 -src_configure() {
96 - # Upstream doesn't use the right macro, so we need to force this.
97 - # https://code.google.com/p/libnfc/issues/detail?id=249
98 - export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
99 -
100 - local drivers="arygon,pn532_uart"
101 - use pcsc-lite && drivers+=",acr122"
102 - use usb && drivers+=",pn53x_usb"
103 - econf \
104 - --with-drivers="${drivers}" \
105 - $(use_enable doc) \
106 - $(use_with readline) \
107 - $(use_enable static-libs static)
108 -}
109 -
110 -src_compile() {
111 - default
112 - use doc && doxygen
113 -}
114 -
115 -src_install() {
116 - default
117 - use static-libs || find "${ED}" -name 'lib*.la' -delete
118 - use doc && dohtml "${S}"/doc/html/*
119 -}