Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hidapi/
Date: Sun, 27 Sep 2015 11:27:45
Message-Id: 1443353246.98751949f6e2efc220670af4d74b27c56d104635.mrueg@gentoo
1 commit: 98751949f6e2efc220670af4d74b27c56d104635
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 11:26:45 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 11:27:26 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98751949
7
8 dev-libs/hidapi: Remove old
9
10 Package-Manager: portage-2.2.22
11
12 dev-libs/hidapi/Manifest | 2 -
13 dev-libs/hidapi/hidapi-0.8.0_pre20130121-r1.ebuild | 69 -------------------
14 dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild | 59 ----------------
15 dev-libs/hidapi/hidapi-0.8.0_rc1_p20140201.ebuild | 79 ----------------------
16 4 files changed, 209 deletions(-)
17
18 diff --git a/dev-libs/hidapi/Manifest b/dev-libs/hidapi/Manifest
19 index e3d32dc..6e7eec4 100644
20 --- a/dev-libs/hidapi/Manifest
21 +++ b/dev-libs/hidapi/Manifest
22 @@ -1,3 +1 @@
23 -DIST hidapi-0.8.0_pre20130121.tar.xz 257900 SHA256 70440f658dbf1f840647d0756e230fdfe479fd4980d3ba7b299715b1947a8916 SHA512 6735112cae24c845bf5ec1fc04c1cafc12c31a1ec5f8d560fd8089f1abf9b1f4aca2c027b1103b7154f698334d7f9ee8f5e72eb5571ecce5abf3fe716ca68096 WHIRLPOOL 94a691cbeafedd93ac786202f8acb2e4d1a6433cc379c9f7de792c0e1f881b34339df43289804105511f634b26144720e22377a37f1ac1c202a81907a988c773
24 DIST hidapi-0.8.0_rc1_p20140719.tgz 103079 SHA256 33e206f5e145fc1bc6aeb55084d71b55d686533d23ad5bb762746ceba81e728b SHA512 204934a707da4e67b834823650b0cfd9be7b413972071129cc5aeeb93465834dde2f5ee23283c55d35b56e3aed8b7ad5fe947399839081f4d895fb65c8cd3e3d WHIRLPOOL 3c7d9cc4f39ebbe1f372a2e4f60990b1127e0c3025b85648d0f114ef652634e8e09d3ccd9e8f26ee6db191db1b2ccbb7afea3c3fa2018e8dfce034679c051f47
25 -DIST hidapi_0.8.0~rc1+git20140201.3a66d4e+dfsg.orig.tar.bz2 81765 SHA256 770e78bcfafccaaff25fbcf815aa2bee46b369e7f0ed12faa9f9260829b88e9c SHA512 55ab59086622bd4b76b630f6e3a0cb7edb335e736421ad0a9199ac7f2208c8880e1be3ef6ee18ca879f9d3dfdf872b0b0ed998087bc6d4716aada185bcebc1e5 WHIRLPOOL 8a18d8db2ea9b90802124936fe276060c6f890bf571cbc33811a0f026f73a689a426854348d195b2b8ad2aa31243fb2d209dca963f4daf535eb36ab0864035ea
26
27 diff --git a/dev-libs/hidapi/hidapi-0.8.0_pre20130121-r1.ebuild b/dev-libs/hidapi/hidapi-0.8.0_pre20130121-r1.ebuild
28 deleted file mode 100644
29 index 3066108..0000000
30 --- a/dev-libs/hidapi/hidapi-0.8.0_pre20130121-r1.ebuild
31 +++ /dev/null
32 @@ -1,69 +0,0 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -
39 -inherit autotools eutils #git-2
40 -
41 -# If github is desired, the following may be used.
42 -#EGIT_REPO_URI="git://github.com/signal11/hidapi.git"
43 -#EGIT_BRANCH="master"
44 -#EGIT_COMMIT="119135b8ce0e8db668ec171723d6e56d4394166a"
45 -
46 -DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
47 -HOMEPAGE="http://www.signal11.us/oss/hidapi/"
48 -SRC_URI="http://public.callutheran.edu/~abarker/${P}.tar.xz"
49 -# When 0.8.0 is officially available the following link should be used.
50 -#SRC_URI="mirror://github/signal11/${PN}/${P}.zip"
51 -
52 -LICENSE="|| ( BSD GPL-3 HIDAPI )"
53 -SLOT="0"
54 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
55 -IUSE="doc static-libs X"
56 -
57 -# S is only needed for the pre_package
58 -S=${WORKDIR}/${PN}
59 -RDEPEND="virtual/libusb:1
60 - virtual/udev:0"
61 -DEPEND="${RDEPEND}
62 - doc? ( app-doc/doxygen )
63 - virtual/pkgconfig
64 - X? ( x11-libs/fox )"
65 -
66 -src_prepare() {
67 - if use X && has_version x11-libs/fox:1.7 ; then
68 - sed -i -e 's:PKG_CHECK_MODULES(\[fox\], \[fox\]):PKG_CHECK_MODULES(\[fox\], \[fox17\]):' \
69 - configure.ac || die
70 - fi
71 -
72 - # Fix bashisms in the configure.ac file.
73 - sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \
74 - -e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die
75 -
76 - eautoreconf
77 -}
78 -
79 -src_configure() {
80 - econf \
81 - $(use_enable static-libs static) \
82 - $(use_enable X testgui)
83 -}
84 -
85 -src_compile() {
86 - emake
87 -
88 - if use doc; then
89 - doxygen doxygen/Doxyfile || die
90 - fi
91 -}
92 -
93 -src_install() {
94 - emake DESTDIR="${D}" install
95 -
96 - if use doc; then
97 - dohtml -r html/*
98 - fi
99 -
100 - prune_libtool_files
101 -}
102
103 diff --git a/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild b/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild
104 deleted file mode 100644
105 index d4407e0..0000000
106 --- a/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild
107 +++ /dev/null
108 @@ -1,59 +0,0 @@
109 -# Copyright 1999-2014 Gentoo Foundation
110 -# Distributed under the terms of the GNU General Public License v2
111 -# $Id$
112 -
113 -EAPI=4
114 -
115 -inherit autotools eutils #git-2
116 -
117 -# If github is desired, the following may be used.
118 -#EGIT_REPO_URI="git://github.com/signal11/hidapi.git"
119 -#EGIT_BRANCH="master"
120 -#EGIT_COMMIT="119135b8ce0e8db668ec171723d6e56d4394166a"
121 -
122 -DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
123 -HOMEPAGE="http://www.signal11.us/oss/hidapi/"
124 -SRC_URI="http://public.callutheran.edu/~abarker/${P}.tar.xz"
125 -# When 0.8.0 is officially available the following link should be used.
126 -#SRC_URI="mirror://github/signal11/${PN}/${P}.zip"
127 -
128 -LICENSE="|| ( BSD GPL-3 HIDAPI )"
129 -SLOT="0"
130 -KEYWORDS="amd64 ~ppc ~ppc64 x86"
131 -IUSE="doc static-libs X"
132 -
133 -# S is only needed for the pre_package
134 -S=${WORKDIR}/${PN}
135 -RDEPEND="virtual/libusb:0"
136 -DEPEND="${RDEPEND}
137 - doc? ( app-doc/doxygen )
138 - virtual/pkgconfig
139 - X? ( x11-libs/fox:1.6 )"
140 -
141 -src_prepare() {
142 - eautoreconf
143 -}
144 -
145 -src_configure() {
146 - econf \
147 - $(use_enable static-libs static) \
148 - $(use_enable X testgui)
149 -}
150 -
151 -src_compile() {
152 - emake
153 -
154 - if use doc; then
155 - doxygen doxygen/Doxyfile || die
156 - fi
157 -}
158 -
159 -src_install() {
160 - emake DESTDIR="${D}" install
161 -
162 - if use doc; then
163 - dohtml -r html/*
164 - fi
165 -
166 - prune_libtool_files
167 -}
168
169 diff --git a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140201.ebuild b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140201.ebuild
170 deleted file mode 100644
171 index b729944..0000000
172 --- a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140201.ebuild
173 +++ /dev/null
174 @@ -1,79 +0,0 @@
175 -# Copyright 1999-2014 Gentoo Foundation
176 -# Distributed under the terms of the GNU General Public License v2
177 -# $Id$
178 -
179 -EAPI=5
180 -
181 -AUTOTOOLS_AUTORECONF=yes
182 -
183 -inherit eutils versionator autotools-multilib #git-2
184 -
185 -# If github is desired, the following may be used.
186 -#EGIT_REPO_URI="git://github.com/signal11/hidapi.git"
187 -#EGIT_BRANCH="master"
188 -#EGIT_COMMIT="119135b8ce0e8db668ec171723d6e56d4394166a"
189 -
190 -BASE_PV=$(get_version_component_range 1-3)
191 -RC_PV=$(get_version_component_range 4)
192 -GIT_PV=$(get_version_component_range 5)
193 -GIT_PV=${GIT_PV/p/git}.3a66d4e
194 -
195 -DEBIAN_PV=${BASE_PV}~${RC_PV}+${GIT_PV}+dfsg
196 -
197 -# S is only needed for the debian_package
198 -S=${WORKDIR}/${PN}-${DEBIAN_PV}
199 -
200 -DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
201 -HOMEPAGE="http://www.signal11.us/oss/hidapi/"
202 -SRC_URI="mirror://debian/pool/main/h/${PN}/${PN}_${DEBIAN_PV}.orig.tar.bz2"
203 -# When 0.8.0 is officially available the following link should be used.
204 -#SRC_URI="mirror://github/signal11/${PN}/${P}.zip"
205 -
206 -LICENSE="|| ( BSD GPL-3 HIDAPI )"
207 -SLOT="0"
208 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
209 -IUSE="doc static-libs X"
210 -
211 -RDEPEND="virtual/libusb:1[${MULTILIB_USEDEP}]
212 - virtual/libudev:0[${MULTILIB_USEDEP}]"
213 -DEPEND="${RDEPEND}
214 - doc? ( app-doc/doxygen )
215 - virtual/pkgconfig
216 - X? ( x11-libs/fox )"
217 -
218 -src_prepare() {
219 - if use X && has_version x11-libs/fox:1.7 ; then
220 - sed -i -e 's:PKG_CHECK_MODULES(\[fox\], \[fox\]):PKG_CHECK_MODULES(\[fox\], \[fox17\]):' \
221 - configure.ac || die
222 - fi
223 -
224 - # Fix bashisms in the configure.ac file.
225 - sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \
226 - -e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die
227 -
228 - autotools-multilib_src_prepare
229 -}
230 -
231 -multilib_src_configure() {
232 - local myeconfargs=(
233 - $(multilib_native_use_enable X testgui)
234 - )
235 -
236 - autotools-utils_src_configure
237 -}
238 -
239 -src_compile() {
240 - autotools-multilib_src_compile
241 -
242 - if use doc; then
243 - doxygen doxygen/Doxyfile || die
244 - fi
245 -}
246 -
247 -src_install() {
248 - autotools-multilib_src_install
249 -
250 - if use doc; then
251 - dohtml -r html/.
252 - fi
253 -}