1 |
vapier 13/05/24 17:10:36 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: libnfc-1.5.1-r1.ebuild |
5 |
Log: |
6 |
Add USE flags to control all the optional deps. |
7 |
|
8 |
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 dev-libs/libnfc/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnfc/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnfc/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnfc/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libnfc/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- metadata.xml 31 Mar 2012 17:02:26 -0000 1.3 |
24 |
+++ metadata.xml 24 May 2013 17:10:36 -0000 1.4 |
25 |
@@ -5,6 +5,9 @@ |
26 |
<email>ikelos@g.o</email> |
27 |
<name>Mike Auty</name> |
28 |
</maintainer> |
29 |
+ <use> |
30 |
+ <flag name='pcsc-lite'>Enable NFC drivers that require pcsc-lite</flag> |
31 |
+ </use> |
32 |
<upstream> |
33 |
<remote-id type="google-code">libnfc</remote-id> |
34 |
</upstream> |
35 |
|
36 |
|
37 |
|
38 |
1.11 dev-libs/libnfc/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnfc/ChangeLog?rev=1.11&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnfc/ChangeLog?rev=1.11&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnfc/ChangeLog?r1=1.10&r2=1.11 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libnfc/ChangeLog,v |
47 |
retrieving revision 1.10 |
48 |
retrieving revision 1.11 |
49 |
diff -u -r1.10 -r1.11 |
50 |
--- ChangeLog 26 Mar 2013 23:58:46 -0000 1.10 |
51 |
+++ ChangeLog 24 May 2013 17:10:36 -0000 1.11 |
52 |
@@ -1,6 +1,12 @@ |
53 |
# ChangeLog for dev-libs/libnfc |
54 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnfc/ChangeLog,v 1.10 2013/03/26 23:58:46 ikelos Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnfc/ChangeLog,v 1.11 2013/05/24 17:10:36 vapier Exp $ |
57 |
+ |
58 |
+*libnfc-1.5.1-r1 (24 May 2013) |
59 |
+ |
60 |
+ 24 May 2013; Mike Frysinger <vapier@g.o> +libnfc-1.5.1-r1.ebuild, |
61 |
+ metadata.xml: |
62 |
+ Add USE flags to control all the optional deps. |
63 |
|
64 |
26 Mar 2013; Mike Auty <ikelos@g.o> libnfc-1.5.1.ebuild, |
65 |
+files/libnfc-1.5.1-glibc-2.17.patch: |
66 |
@@ -52,4 +58,3 @@ |
67 |
16 Aug 2009; Mike Auty <ikelos@g.o> +libnfc-1.2.1.ebuild, |
68 |
+metadata.xml: |
69 |
Initial commit of a library for manipulating PN53x NFC chips. |
70 |
- |
71 |
|
72 |
|
73 |
|
74 |
1.1 dev-libs/libnfc/libnfc-1.5.1-r1.ebuild |
75 |
|
76 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild?rev=1.1&view=markup |
77 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild?rev=1.1&content-type=text/plain |
78 |
|
79 |
Index: libnfc-1.5.1-r1.ebuild |
80 |
=================================================================== |
81 |
# Copyright 1999-2013 Gentoo Foundation |
82 |
# Distributed under the terms of the GNU General Public License v2 |
83 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild,v 1.1 2013/05/24 17:10:36 vapier Exp $ |
84 |
|
85 |
EAPI="4" |
86 |
|
87 |
inherit eutils toolchain-funcs |
88 |
|
89 |
DESCRIPTION="Near Field Communications (NFC) library" |
90 |
HOMEPAGE="http://www.libnfc.org/" |
91 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" |
92 |
|
93 |
LICENSE="LGPL-3" |
94 |
SLOT="0" |
95 |
KEYWORDS="~amd64 ~arm ~x86" |
96 |
IUSE="doc pcsc-lite readline static-libs usb" |
97 |
|
98 |
RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite ) |
99 |
readline? ( sys-libs/readline ) |
100 |
usb? ( virtual/libusb:0 )" |
101 |
DEPEND="${RDEPEND} |
102 |
doc? ( app-doc/doxygen )" |
103 |
|
104 |
src_prepare() { |
105 |
epatch "${FILESDIR}/${PN}-1.5.1-glibc-2.17.patch" |
106 |
} |
107 |
|
108 |
src_configure() { |
109 |
# Upstream doesn't use the right macro, so we need to force this. |
110 |
# https://code.google.com/p/libnfc/issues/detail?id=249 |
111 |
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG) |
112 |
|
113 |
local drivers="arygon,pn532_uart" |
114 |
use pcsc-lite && drivers+=",acr122" |
115 |
use usb && drivers+=",pn53x_usb" |
116 |
econf \ |
117 |
--with-drivers="${drivers}" \ |
118 |
$(use_enable doc) \ |
119 |
$(use_with readline) \ |
120 |
$(use_enable static-libs static) |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
default |
125 |
use doc && doxygen |
126 |
} |
127 |
|
128 |
src_install() { |
129 |
default |
130 |
use static-libs || find "${ED}" -name 'lib*.la' -delete |
131 |
use doc && dohtml "${S}"/doc/html/* |
132 |
} |