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: metadata.xml ChangeLog hidapi-0.8.0_pre20130121.ebuild
Date: Sun, 27 Oct 2013 15:31:08
Message-Id: 20131027153057.6058B20047@flycatcher.gentoo.org
1 blueness 13/10/27 15:30:57
2
3 Added: metadata.xml ChangeLog
4 hidapi-0.8.0_pre20130121.ebuild
5 Log:
6 Initial commit: needed for net-misc/bfgminer
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.1 dev-libs/hidapi/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/metadata.xml?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/metadata.xml?rev=1.1&content-type=text/plain
15
16 Index: metadata.xml
17 ===================================================================
18 <?xml version="1.0" encoding="UTF-8"?>
19 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
20 <pkgmetadata>
21 <herd>proxy-maintainers</herd>
22 <maintainer>
23 <email>blueness@g.o</email>
24 <name>Anthony G. Basile</name>
25 </maintainer>
26 <maintainer>
27 <email>luke-jr+gentoobugs@×××××××.org</email>
28 <name>Luke Dashjr</name>
29 </maintainer>
30 </pkgmetadata>
31
32
33
34 1.1 dev-libs/hidapi/ChangeLog
35
36 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/ChangeLog?rev=1.1&view=markup
37 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/ChangeLog?rev=1.1&content-type=text/plain
38
39 Index: ChangeLog
40 ===================================================================
41 # ChangeLog for dev-libs/hidapi
42 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
43 # $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/ChangeLog,v 1.1 2013/10/27 15:30:57 blueness Exp $
44
45
46
47
48 1.1 dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild?rev=1.1&content-type=text/plain
52
53 Index: hidapi-0.8.0_pre20130121.ebuild
54 ===================================================================
55 # Copyright 1999-2013 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild,v 1.1 2013/10/27 15:30:57 blueness Exp $
58
59 EAPI=4
60
61 inherit autotools eutils #git-2
62
63 # If github is desired, the following may be used.
64 #EGIT_REPO_URI="git://github.com/signal11/hidapi.git"
65 #EGIT_BRANCH="master"
66 #EGIT_COMMIT="119135b8ce0e8db668ec171723d6e56d4394166a"
67
68 DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
69 HOMEPAGE="http://www.signal11.us/oss/hidapi/"
70 SRC_URI="http://public.callutheran.edu/~abarker/${P}.tar.xz"
71 # When 0.8.0 is officially available the following link should be used.
72 #SRC_URI="mirror://github/signal11/${PN}/${P}.zip"
73
74 LICENSE="|| ( BSD GPL-3 HIDAPI )"
75 SLOT="0"
76 KEYWORDS="~amd64 ~x86"
77 IUSE="doc static-libs X"
78
79 # S is only needed for the pre_package
80 S=${WORKDIR}/${PN}
81 RDEPEND="virtual/libusb:0"
82 DEPEND="${RDEPEND}
83 doc? ( app-doc/doxygen )
84 virtual/pkgconfig
85 X? ( x11-libs/fox )"
86
87 src_prepare() {
88 eautoreconf
89 }
90
91 src_configure() {
92 econf \
93 $(use_enable static-libs static) \
94 $(use_enable X testgui)
95 }
96
97 src_compile() {
98 emake
99
100 if use doc; then
101 doxygen doxygen/Doxyfile || die
102 fi
103 }
104
105 src_install() {
106 emake DESTDIR="${D}" install
107
108 if use doc; then
109 dohtml -r html/*
110 fi
111
112 prune_libtool_files
113 }