1 |
matsuu 10/04/04 14:56:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libhid-0.2.16-r2.ebuild |
5 |
Removed: libhid-0.2.16-r1.ebuild |
6 |
Log: |
7 |
Removed -Werror, bug #260884. Fixed python dependency, bug #312189. |
8 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 dev-libs/libhid/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libhid/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 23 Sep 2009 23:53:21 -0000 1.2 |
24 |
+++ ChangeLog 4 Apr 2010 14:56:17 -0000 1.3 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-libs/libhid |
27 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhid/ChangeLog,v 1.2 2009/09/23 23:53:21 matsuu Exp $ |
29 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhid/ChangeLog,v 1.3 2010/04/04 14:56:17 matsuu Exp $ |
31 |
+ |
32 |
+*libhid-0.2.16-r2 (04 Apr 2010) |
33 |
+ |
34 |
+ 04 Apr 2010; MATSUU Takuto <matsuu@g.o> -libhid-0.2.16-r1.ebuild, |
35 |
+ +libhid-0.2.16-r2.ebuild: |
36 |
+ Removed -Werror, bug #260884. Fixed python dependency, bug #312189. |
37 |
|
38 |
*libhid-0.2.16-r1 (23 Sep 2009) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/libhid/libhid-0.2.16-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/libhid-0.2.16-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/libhid-0.2.16-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: libhid-0.2.16-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhid/libhid-0.2.16-r2.ebuild,v 1.1 2010/04/04 14:56:17 matsuu Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
PYTHON_DEPEND="python? 2" |
57 |
|
58 |
inherit autotools python |
59 |
|
60 |
DESCRIPTION="Provides a generic and flexible way to access and interact with USB HID devices" |
61 |
HOMEPAGE="http://libhid.alioth.debian.org/" |
62 |
SRC_URI="http://beta.magicaltux.net/${P}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="debug doc python" |
68 |
|
69 |
RDEPEND="virtual/libusb:0" |
70 |
DEPEND="${RDEPEND} |
71 |
doc? ( app-doc/doxygen ) |
72 |
python? ( dev-lang/swig )" |
73 |
|
74 |
pkg_setup() { |
75 |
python_set_active_version 2 |
76 |
} |
77 |
|
78 |
src_prepare() { |
79 |
# Bug #260884 |
80 |
sed -i -e 's/-Werror//' m4/md_conf_compiler.m4 || die |
81 |
eautoconf |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
local myconf |
86 |
|
87 |
myconf="${myconf} $(use_with doc doxygen)" |
88 |
myconf="${myconf} $(use_enable debug)" |
89 |
myconf="${myconf} $(use_enable python swig)" |
90 |
|
91 |
if use python; then |
92 |
# libhid includes its own python detection m4 from |
93 |
# http://autoconf-archive.cryp.to/ac_python_devel.html |
94 |
# As it seems to detect python in the wrong place, we'll force it by |
95 |
# passing the right environnement variables, only if we have the python |
96 |
# flag |
97 |
PYTHON_LDFLAGS="$(python-config --ldflags)" econf ${myconf} || die |
98 |
else |
99 |
# avoid libhid running swig if it finds it automatically as long as the |
100 |
# "python" use flag is not set |
101 |
econf ${myconf} || die |
102 |
fi |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
emake DESTDIR="${D}" install || die "install failed" |
107 |
|
108 |
dodoc AUTHORS ChangeLog NEWS README README.licence TODO || die |
109 |
if use doc; then |
110 |
dohtml -r doc/html/* || die |
111 |
fi |
112 |
} |