Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-util/xboxdrv: ChangeLog xboxdrv-0.4.11.ebuild
Date: Sat, 01 May 2010 21:16:39
Message-Id: 20100501211634.386A22C154@corvid.gentoo.org
1 nyhm 10/05/01 21:16:34
2
3 Modified: ChangeLog
4 Added: xboxdrv-0.4.11.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 games-util/xboxdrv/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-util/xboxdrv/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-util/xboxdrv/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-util/xboxdrv/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 4 Mar 2010 19:10:14 -0000 1.2
23 +++ ChangeLog 1 May 2010 21:16:34 -0000 1.3
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-util/xboxdrv
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.2 2010/03/04 19:10:14 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.3 2010/05/01 21:16:34 nyhm Exp $
29 +
30 +*xboxdrv-0.4.11 (01 May 2010)
31 +
32 + 01 May 2010; Tristan Heaven <nyhm@g.o> +xboxdrv-0.4.11.ebuild,
33 + +files/xboxdrv-0.4.11-build.patch:
34 + Version bump
35
36 *xboxdrv-0.4.10 (04 Mar 2010)
37
38
39
40
41 1.1 games-util/xboxdrv/xboxdrv-0.4.11.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-util/xboxdrv/xboxdrv-0.4.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-util/xboxdrv/xboxdrv-0.4.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xboxdrv-0.4.11.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/xboxdrv-0.4.11.ebuild,v 1.1 2010/05/01 21:16:34 nyhm Exp $
51
52 EAPI=2
53 inherit eutils toolchain-funcs linux-info
54
55 MY_P=${PN}-linux-${PV}
56 DESCRIPTION="Userspace Xbox 360 Controller driver"
57 HOMEPAGE="http://pingus.seul.org/~grumbel/xboxdrv/"
58 SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="daemon"
64
65 RDEPEND="dev-libs/boost
66 virtual/libusb:0
67 x11-libs/libX11"
68 DEPEND="${RDEPEND}
69 dev-util/scons"
70 RDEPEND="${RDEPEND}
71 daemon? (
72 dev-python/dbus-python
73 dev-python/pygobject
74 )"
75
76 S=${WORKDIR}/${MY_P}
77
78 CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD"
79
80 src_prepare() {
81 epatch "${FILESDIR}"/${P}-build.patch
82 }
83
84 src_compile() {
85 tc-export CXX
86 scons || die "scons failed"
87 }
88
89 src_install() {
90 dobin xboxdrv || die "dobin failed"
91
92 if use daemon ; then
93 dobin tools/xboxdrv-daemon.py || die "dobin failed"
94 fi
95
96 insinto /etc/hal/fdi/policy
97 newins hal/xboxdrv_policy.fdi 99-xboxdrv.fdi || die "newins failed"
98
99 insinto /etc/hal/fdi/preprobe
100 newins hal/xboxdrv_preprobe.fdi 99-xboxdrv.fdi || die "newins failed"
101
102 dodoc AUTHORS NEWS PROTOCOL README TODO
103 }