Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-embedded/libftdi: metadata.xml libftdi-9999.ebuild libftdi-1.0.ebuild ChangeLog libftdi-9999.1.0.ebuild
Date: Fri, 01 Mar 2013 08:16:59
Message-Id: 20130301081655.B186C2171E@flycatcher.gentoo.org
1 vapier 13/03/01 08:16:55
2
3 Modified: metadata.xml libftdi-9999.ebuild ChangeLog
4 Added: libftdi-1.0.ebuild
5 Removed: libftdi-9999.1.0.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
10
11 Revision Changes Path
12 1.3 dev-embedded/libftdi/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/metadata.xml?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/metadata.xml?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/metadata.xml?r1=1.2&r2=1.3
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/metadata.xml,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- metadata.xml 22 Feb 2008 19:53:13 -0000 1.2
25 +++ metadata.xml 1 Mar 2013 08:16:55 -0000 1.3
26 @@ -2,4 +2,7 @@
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 <herd>dev-embedded</herd>
30 +<use>
31 + <flag name='tools'>build ftdi_eeprom helper tool</flag>
32 +</use>
33 </pkgmetadata>
34
35
36
37 1.7 dev-embedded/libftdi/libftdi-9999.ebuild
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/libftdi-9999.ebuild?rev=1.7&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/libftdi-9999.ebuild?rev=1.7&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/libftdi-9999.ebuild?r1=1.6&r2=1.7
42
43 Index: libftdi-9999.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-9999.ebuild,v
46 retrieving revision 1.6
47 retrieving revision 1.7
48 diff -u -r1.6 -r1.7
49 --- libftdi-9999.ebuild 30 Mar 2012 03:45:50 -0000 1.6
50 +++ libftdi-9999.ebuild 1 Mar 2013 08:16:55 -0000 1.7
51 @@ -1,16 +1,17 @@
52 -# Copyright 1999-2012 Gentoo Foundation
53 +# Copyright 1999-2013 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-9999.ebuild,v 1.6 2012/03/30 03:45:50 vapier Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-9999.ebuild,v 1.7 2013/03/01 08:16:55 vapier Exp $
57
58 EAPI="2"
59
60 -inherit cmake-utils
61 +inherit cmake-utils eutils
62
63 +MY_P="${PN}1-${PV}"
64 if [[ ${PV} == 9999* ]] ; then
65 EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
66 - inherit git-2 autotools
67 + inherit git-2
68 else
69 - SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${P}.tar.gz"
70 + SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2"
71 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
72 fi
73
74 @@ -19,20 +20,29 @@
75
76 LICENSE="LGPL-2"
77 SLOT="0"
78 -IUSE="cxx doc examples python"
79 +IUSE="cxx doc examples python static-libs tools"
80
81 -RDEPEND="virtual/libusb:0
82 +RDEPEND="virtual/libusb:1
83 cxx? ( dev-libs/boost )
84 - python? ( dev-lang/python )"
85 + python? ( dev-lang/python )
86 + tools? ( dev-libs/confuse )"
87 DEPEND="${RDEPEND}
88 doc? ( app-doc/doxygen )"
89
90 +S=${WORKDIR}/${MY_P}
91 +
92 +src_prepare() {
93 + epatch "${FILESDIR}"/${PN}-1.0-staticlibs.patch
94 +}
95 +
96 src_configure() {
97 mycmakeargs=(
98 $(cmake-utils_use cxx FTDIPP)
99 $(cmake-utils_use doc DOCUMENTATION)
100 $(cmake-utils_use examples EXAMPLES)
101 $(cmake-utils_use python PYTHON_BINDINGS)
102 + $(cmake-utils_use static-libs STATICLIBS)
103 + $(cmake-utils_use tools FTDI_EEPROM)
104 -DCMAKE_SKIP_BUILD_RPATH=ON
105 )
106 cmake-utils_src_configure
107 @@ -40,7 +50,7 @@
108
109 src_install() {
110 cmake-utils_src_install
111 - dodoc ChangeLog README
112 + : dodoc ChangeLog README
113
114 if use doc ; then
115 doman doc/man/man3/*
116
117
118
119 1.63 dev-embedded/libftdi/ChangeLog
120
121 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/ChangeLog?rev=1.63&view=markup
122 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/ChangeLog?rev=1.63&content-type=text/plain
123 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/ChangeLog?r1=1.62&r2=1.63
124
125 Index: ChangeLog
126 ===================================================================
127 RCS file: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/ChangeLog,v
128 retrieving revision 1.62
129 retrieving revision 1.63
130 diff -u -r1.62 -r1.63
131 --- ChangeLog 11 Sep 2012 06:36:29 -0000 1.62
132 +++ ChangeLog 1 Mar 2013 08:16:55 -0000 1.63
133 @@ -1,6 +1,13 @@
134 # ChangeLog for dev-embedded/libftdi
135 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
136 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/ChangeLog,v 1.62 2012/09/11 06:36:29 vapier Exp $
137 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
138 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/ChangeLog,v 1.63 2013/03/01 08:16:55 vapier Exp $
139 +
140 +*libftdi-1.0 (01 Mar 2013)
141 +
142 + 01 Mar 2013; Mike Frysinger <vapier@g.o>
143 + +files/libftdi-1.0-staticlibs.patch, +libftdi-1.0.ebuild,
144 + -libftdi-9999.1.0.ebuild, libftdi-9999.ebuild, metadata.xml:
145 + Version bump.
146
147 11 Sep 2012; Mike Frysinger <vapier@g.o> libftdi-0.20.ebuild:
148 Do not clobber LIB_SUFFIX setting common code setup.
149
150
151
152 1.1 dev-embedded/libftdi/libftdi-1.0.ebuild
153
154 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/libftdi-1.0.ebuild?rev=1.1&view=markup
155 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftdi/libftdi-1.0.ebuild?rev=1.1&content-type=text/plain
156
157 Index: libftdi-1.0.ebuild
158 ===================================================================
159 # Copyright 1999-2013 Gentoo Foundation
160 # Distributed under the terms of the GNU General Public License v2
161 # $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-1.0.ebuild,v 1.1 2013/03/01 08:16:55 vapier Exp $
162
163 EAPI="2"
164
165 inherit cmake-utils eutils
166
167 MY_P="${PN}1-${PV}"
168 if [[ ${PV} == 9999* ]] ; then
169 EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
170 inherit git-2
171 else
172 SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2"
173 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
174 fi
175
176 DESCRIPTION="Userspace access to FTDI USB interface chips"
177 HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
178
179 LICENSE="LGPL-2"
180 SLOT="0"
181 IUSE="cxx doc examples python static-libs tools"
182
183 RDEPEND="virtual/libusb:1
184 cxx? ( dev-libs/boost )
185 python? ( dev-lang/python )
186 tools? ( dev-libs/confuse )"
187 DEPEND="${RDEPEND}
188 doc? ( app-doc/doxygen )"
189
190 S=${WORKDIR}/${MY_P}
191
192 src_prepare() {
193 epatch "${FILESDIR}"/${PN}-1.0-staticlibs.patch
194 }
195
196 src_configure() {
197 mycmakeargs=(
198 $(cmake-utils_use cxx FTDIPP)
199 $(cmake-utils_use doc DOCUMENTATION)
200 $(cmake-utils_use examples EXAMPLES)
201 $(cmake-utils_use python PYTHON_BINDINGS)
202 $(cmake-utils_use static-libs STATICLIBS)
203 $(cmake-utils_use tools FTDI_EEPROM)
204 -DCMAKE_SKIP_BUILD_RPATH=ON
205 )
206 cmake-utils_src_configure
207 }
208
209 src_install() {
210 cmake-utils_src_install
211 : dodoc ChangeLog README
212
213 if use doc ; then
214 doman doc/man/man3/*
215 dohtml doc/html/*
216 fi
217 if use examples ; then
218 docinto examples
219 dodoc examples/*.c
220 fi
221 }