Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/hidapi: hidapi-0.8.0_pre20130121-r1.ebuild hidapi-0.8.0_pre20130121.ebuild ChangeLog
Date: Sun, 26 Jan 2014 13:51:12
Message-Id: 20140126135106.D1CAC2004C@flycatcher.gentoo.org
1 blueness 14/01/26 13:51:06
2
3 Modified: hidapi-0.8.0_pre20130121.ebuild ChangeLog
4 Added: hidapi-0.8.0_pre20130121-r1.ebuild
5 Log:
6 Build with fox:1.7, bug #494090
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.5 dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild?r1=1.4&r2=1.5
16
17 Index: hidapi-0.8.0_pre20130121.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- hidapi-0.8.0_pre20130121.ebuild 26 Jan 2014 11:44:57 -0000 1.4
24 +++ hidapi-0.8.0_pre20130121.ebuild 26 Jan 2014 13:51:06 -0000 1.5
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild,v 1.4 2014/01/26 11:44:57 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild,v 1.5 2014/01/26 13:51:06 blueness Exp $
30
31 EAPI=4
32
33 @@ -28,7 +28,7 @@
34 DEPEND="${RDEPEND}
35 doc? ( app-doc/doxygen )
36 virtual/pkgconfig
37 - X? ( x11-libs/fox )"
38 + X? ( x11-libs/fox:1.6 )"
39
40 src_prepare() {
41 eautoreconf
42
43
44
45 1.6 dev-libs/hidapi/ChangeLog
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/ChangeLog?rev=1.6&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/ChangeLog?rev=1.6&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/ChangeLog?r1=1.5&r2=1.6
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/dev-libs/hidapi/ChangeLog,v
54 retrieving revision 1.5
55 retrieving revision 1.6
56 diff -u -r1.5 -r1.6
57 --- ChangeLog 26 Jan 2014 11:44:57 -0000 1.5
58 +++ ChangeLog 26 Jan 2014 13:51:06 -0000 1.6
59 @@ -1,6 +1,12 @@
60 # ChangeLog for dev-libs/hidapi
61 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/ChangeLog,v 1.5 2014/01/26 11:44:57 ago Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/ChangeLog,v 1.6 2014/01/26 13:51:06 blueness Exp $
64 +
65 +*hidapi-0.8.0_pre20130121-r1 (26 Jan 2014)
66 +
67 + 26 Jan 2014; Anthony G. Basile <blueness@g.o>
68 + +hidapi-0.8.0_pre20130121-r1.ebuild, hidapi-0.8.0_pre20130121.ebuild:
69 + Build with fox:1.7, bug #494090
70
71 26 Jan 2014; Agostino Sarubbo <ago@g.o>
72 hidapi-0.8.0_pre20130121.ebuild:
73
74
75
76 1.1 dev-libs/hidapi/hidapi-0.8.0_pre20130121-r1.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121-r1.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121-r1.ebuild?rev=1.1&content-type=text/plain
80
81 Index: hidapi-0.8.0_pre20130121-r1.ebuild
82 ===================================================================
83 # Copyright 1999-2014 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121-r1.ebuild,v 1.1 2014/01/26 13:51:06 blueness Exp $
86
87 EAPI=5
88
89 inherit autotools eutils #git-2
90
91 # If github is desired, the following may be used.
92 #EGIT_REPO_URI="git://github.com/signal11/hidapi.git"
93 #EGIT_BRANCH="master"
94 #EGIT_COMMIT="119135b8ce0e8db668ec171723d6e56d4394166a"
95
96 DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
97 HOMEPAGE="http://www.signal11.us/oss/hidapi/"
98 SRC_URI="http://public.callutheran.edu/~abarker/${P}.tar.xz"
99 # When 0.8.0 is officially available the following link should be used.
100 #SRC_URI="mirror://github/signal11/${PN}/${P}.zip"
101
102 LICENSE="|| ( BSD GPL-3 HIDAPI )"
103 SLOT="0"
104 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
105 IUSE="doc static-libs X"
106
107 # S is only needed for the pre_package
108 S=${WORKDIR}/${PN}
109 RDEPEND="virtual/libusb:0"
110 DEPEND="${RDEPEND}
111 doc? ( app-doc/doxygen )
112 virtual/pkgconfig
113 X? ( x11-libs/fox )"
114
115 src_prepare() {
116 if use X && has_version x11-libs/fox:1.7 ; then
117 sed -i -e 's:PKG_CHECK_MODULES(\[fox\], \[fox\]):PKG_CHECK_MODULES(\[fox\], \[fox17\]):' \
118 configure.ac || die
119 fi
120
121 eautoreconf
122 }
123
124 src_configure() {
125 econf \
126 $(use_enable static-libs static) \
127 $(use_enable X testgui)
128 }
129
130 src_compile() {
131 emake
132
133 if use doc; then
134 doxygen doxygen/Doxyfile || die
135 fi
136 }
137
138 src_install() {
139 emake DESTDIR="${D}" install
140
141 if use doc; then
142 dohtml -r html/*
143 fi
144
145 prune_libtool_files
146 }