diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-05-27 21:28:23 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-05-27 21:28:23 +0000 |
commit | 583f51b2ac2e70bbb9a9954e71c6eec303cdc4cd (patch) | |
tree | 77421fb2c713bbd81e471bdf8c494ab98f6f51bd /games-util/xboxdrv | |
parent | Version bump. Update to EAPI 4 and add USE flags for database support (bug #3... (diff) | |
download | gentoo-2-583f51b2ac2e70bbb9a9954e71c6eec303cdc4cd.tar.gz gentoo-2-583f51b2ac2e70bbb9a9954e71c6eec303cdc4cd.tar.bz2 gentoo-2-583f51b2ac2e70bbb9a9954e71c6eec303cdc4cd.zip |
version bump
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'games-util/xboxdrv')
-rw-r--r-- | games-util/xboxdrv/ChangeLog | 8 | ||||
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv-0.8.0-scons-blows.patch | 11 | ||||
-rw-r--r-- | games-util/xboxdrv/xboxdrv-0.8.0.ebuild | 54 |
3 files changed, 72 insertions, 1 deletions
diff --git a/games-util/xboxdrv/ChangeLog b/games-util/xboxdrv/ChangeLog index 587cb71fd745..3d6f42c7b003 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.14 2011/05/07 22:06:04 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.15 2011/05/27 21:28:23 mr_bones_ Exp $ + +*xboxdrv-0.8.0 (27 May 2011) + + 27 May 2011; Michael Sterrett <mr_bones_@gentoo.org> +xboxdrv-0.8.0.ebuild, + +files/xboxdrv-0.8.0-scons-blows.patch: + version bump *xboxdrv-0.7.3 (07 May 2011) diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.0-scons-blows.patch b/games-util/xboxdrv/files/xboxdrv-0.8.0-scons-blows.patch new file mode 100644 index 000000000000..460413af12cf --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.8.0-scons-blows.patch @@ -0,0 +1,11 @@ +--- SConstruct.orig 2011-05-27 17:12:23.710420793 -0400 ++++ SConstruct 2011-05-27 17:12:41.975696140 -0400 +@@ -153,7 +153,7 @@ + Glob('src/axisevent/*.cpp') + + Glob('src/buttonevent/*.cpp') + + Glob('src/modifier/*.cpp')) +-env.Append(LIBS = libxboxdrv) ++env.Prepend(LIBS = libxboxdrv) + + env.Program('xboxdrv', Glob('src/main/main.cpp')) + diff --git a/games-util/xboxdrv/xboxdrv-0.8.0.ebuild b/games-util/xboxdrv/xboxdrv-0.8.0.ebuild new file mode 100644 index 000000000000..cb7c4285bfa1 --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.8.0.ebuild @@ -0,0 +1,54 @@ +# 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.0.ebuild,v 1.1 2011/05/27 21:28:23 mr_bones_ Exp $ + +EAPI=2 +inherit eutils 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_prepare() { + epatch "${FILESDIR}"/${P}-scons-blows.patch +} + +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 +} |