summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2011-10-31 23:49:19 +0000
committerTristan Heaven <tristan@gentoo.org>2011-10-31 23:49:19 +0000
commit4b077f851b5e8e185bf4ca5b3e5804565159a1b6 (patch)
tree9f38aa1a3b6be2507924a5607acc6c5b4c93c07c /games-util
parentold, uncompatible with stable png (diff)
downloadgentoo-2-4b077f851b5e8e185bf4ca5b3e5804565159a1b6.tar.gz
gentoo-2-4b077f851b5e8e185bf4ca5b3e5804565159a1b6.tar.bz2
gentoo-2-4b077f851b5e8e185bf4ca5b3e5804565159a1b6.zip
Version bump, bug #380875
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'games-util')
-rw-r--r--games-util/xboxdrv/ChangeLog8
-rw-r--r--games-util/xboxdrv/metadata.xml2
-rw-r--r--games-util/xboxdrv/xboxdrv-0.8.2.ebuild50
3 files changed, 58 insertions, 2 deletions
diff --git a/games-util/xboxdrv/ChangeLog b/games-util/xboxdrv/ChangeLog
index 24217aa2d790..ebd3db7f9a85 100644
--- a/games-util/xboxdrv/ChangeLog
+++ b/games-util/xboxdrv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-util/xboxdrv
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.17 2011/07/21 10:36:10 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.18 2011/10/31 23:49:19 tristan Exp $
+
+*xboxdrv-0.8.2 (31 Oct 2011)
+
+ 31 Oct 2011; Tristan Heaven <tristan@gentoo.org> +xboxdrv-0.8.2.ebuild,
+ metadata.xml:
+ Version bump, bug #380875
21 Jul 2011; Markus Meier <maekke@gentoo.org> xboxdrv-0.8.0.ebuild:
x86 stable, bug #375409
diff --git a/games-util/xboxdrv/metadata.xml b/games-util/xboxdrv/metadata.xml
index 2f55aed2d76d..668ca6c70661 100644
--- a/games-util/xboxdrv/metadata.xml
+++ b/games-util/xboxdrv/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>games</herd>
<maintainer>
- <email>nyhm@gentoo.org</email>
+ <email>tristan@gentoo.org</email>
<name>Tristan Heaven</name>
</maintainer>
</pkgmetadata>
diff --git a/games-util/xboxdrv/xboxdrv-0.8.2.ebuild b/games-util/xboxdrv/xboxdrv-0.8.2.ebuild
new file mode 100644
index 000000000000..8cef7edbc89d
--- /dev/null
+++ b/games-util/xboxdrv/xboxdrv-0.8.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/xboxdrv-0.8.2.ebuild,v 1.1 2011/10/31 23:49:19 tristan Exp $
+
+EAPI=2
+inherit scons-utils toolchain-funcs linux-info
+
+MY_P=${PN}-linux-${PV}
+DESCRIPTION="Userspace Xbox 360 Controller driver"
+HOMEPAGE="http://pingus.seul.org/~grumbel/xboxdrv/"
+SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/boost
+ sys-fs/udev
+ sys-apps/dbus
+ dev-libs/glib:2
+ virtual/libusb:1
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD"
+
+src_compile() {
+ escons \
+ BUILD=custom \
+ CXX="$(tc-getCXX)" \
+ CXXFLAGS="-Wall ${CXXFLAGS}" \
+ LINKFLAGS="${LDFLAGS}" \
+ || die "scons failed"
+}
+
+src_install() {
+ dobin xboxdrv || die "dobin failed"
+
+ insinto /etc/hal/fdi/policy
+ newins hal/xboxdrv_policy.fdi 99-xboxdrv.fdi || die "newins failed"
+ insinto /etc/hal/fdi/preprobe
+ newins hal/xboxdrv_preprobe.fdi 99-xboxdrv.fdi || die "newins failed"
+
+ doman doc/xboxdrv.1
+ dodoc AUTHORS NEWS PROTOCOL README TODO
+}