Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-util/xboxdrv: xboxdrv-0.8.5-r2.ebuild ChangeLog
Date: Tue, 02 Jun 2015 08:35:46
Message-Id: 20150602083538.264B3A0D@oystercatcher.gentoo.org
1 mgorny 15/06/02 08:35:38
2
3 Modified: ChangeLog
4 Added: xboxdrv-0.8.5-r2.ebuild
5 Log:
6 Add D-Bus and systemd service files. Add slot operators and missing dbus-glib dep. Fixes bugs #481572 and #544752. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/134 by nE0sIghT with my changes.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.35 games-util/xboxdrv/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 20 Jan 2014 18:20:39 -0000 1.34
24 +++ ChangeLog 2 Jun 2015 08:35:38 -0000 1.35
25 @@ -1,6 +1,14 @@
26 # ChangeLog for games-util/xboxdrv
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.34 2014/01/20 18:20:39 mr_bones_ Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.35 2015/06/02 08:35:38 mgorny Exp $
31 +
32 +*xboxdrv-0.8.5-r2 (02 Jun 2015)
33 +
34 + 02 Jun 2015; Michał Górny <mgorny@g.o> +files/org.seul.Xboxdrv.conf,
35 + +files/xboxdrv.service, +files/xboxdrv.udev-rules, +xboxdrv-0.8.5-r2.ebuild:
36 + Add D-Bus and systemd service files. Add slot operators and missing dbus-glib
37 + dep. Fixes bugs #481572 and #544752. https://github.com/gentoo/gentoo-portage-
38 + rsync-mirror/pull/134 by nE0sIghT with my changes.
39
40 20 Jan 2014; Michael Sterrett <mr_bones_@g.o> -xboxdrv-0.8.4-r1.ebuild,
41 -xboxdrv-0.8.4.ebuild, -xboxdrv-0.8.5.ebuild:
42
43
44
45 1.1 games-util/xboxdrv/xboxdrv-0.8.5-r2.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/xboxdrv-0.8.5-r2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/xboxdrv-0.8.5-r2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: xboxdrv-0.8.5-r2.ebuild
51 ===================================================================
52 # Copyright 1999-2015 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/xboxdrv-0.8.5-r2.ebuild,v 1.1 2015/06/02 08:35:38 mgorny Exp $
55
56 EAPI=5
57 inherit linux-info scons-utils toolchain-funcs systemd udev
58
59 MY_P=${PN}-linux-${PV}
60 DESCRIPTION="Userspace Xbox 360 Controller driver"
61 HOMEPAGE="http://pingus.seul.org/~grumbel/xboxdrv/"
62 SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"
63
64 LICENSE="GPL-3"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 RDEPEND="dev-libs/boost
70 dev-libs/dbus-glib:=
71 virtual/libudev:=
72 sys-apps/dbus:=
73 dev-libs/glib:2=
74 virtual/libusb:1=
75 x11-libs/libX11:="
76 DEPEND="${RDEPEND}
77 virtual/pkgconfig"
78
79 S=${WORKDIR}/${MY_P}
80
81 CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD"
82
83 src_prepare() {
84 epatch "${FILESDIR}"/${P}-scons.patch
85 }
86
87 src_compile() {
88 escons \
89 BUILD=custom \
90 CXX="$(tc-getCXX)" \
91 AR="$(tc-getAR)" \
92 RANLIB="$(tc-getRANLIB)" \
93 CXXFLAGS="-Wall ${CXXFLAGS}" \
94 LINKFLAGS="${LDFLAGS}"
95 }
96
97 src_install() {
98 dobin xboxdrv
99 doman doc/xboxdrv.1
100 dodoc AUTHORS NEWS PROTOCOL README TODO
101
102 newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv
103 newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv
104
105 insinto /etc/dbus-1/system.d/
106 doins "${FILESDIR}/org.seul.Xboxdrv.conf"
107
108 udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules
109 systemd_dounit "${FILESDIR}"/xboxdrv.service
110 }
111
112 pkg_postinst() {
113 udev_reload
114 }