diff options
author | Tristan Heaven <tristan@gentoo.org> | 2010-05-01 21:16:34 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2010-05-01 21:16:34 +0000 |
commit | c1c27cb3eb370d01d013bf12ca79475e773607d7 (patch) | |
tree | c138cb4dc6dfbe9b5c675909fcd92179374a3ad6 /games-util/xboxdrv | |
parent | Version bump. (diff) | |
download | historical-c1c27cb3eb370d01d013bf12ca79475e773607d7.tar.gz historical-c1c27cb3eb370d01d013bf12ca79475e773607d7.tar.bz2 historical-c1c27cb3eb370d01d013bf12ca79475e773607d7.zip |
Version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'games-util/xboxdrv')
-rw-r--r-- | games-util/xboxdrv/ChangeLog | 8 | ||||
-rw-r--r-- | games-util/xboxdrv/Manifest | 13 | ||||
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv-0.4.11-build.patch | 30 | ||||
-rw-r--r-- | games-util/xboxdrv/xboxdrv-0.4.11.ebuild | 56 |
4 files changed, 101 insertions, 6 deletions
diff --git a/games-util/xboxdrv/ChangeLog b/games-util/xboxdrv/ChangeLog index 83c938b9020b..1ebfbd8fef1e 100644 --- a/games-util/xboxdrv/ChangeLog +++ b/games-util/xboxdrv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-util/xboxdrv # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.2 2010/03/04 19:10:14 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.3 2010/05/01 21:16:34 nyhm Exp $ + +*xboxdrv-0.4.11 (01 May 2010) + + 01 May 2010; Tristan Heaven <nyhm@gentoo.org> +xboxdrv-0.4.11.ebuild, + +files/xboxdrv-0.4.11-build.patch: + Version bump *xboxdrv-0.4.10 (04 Mar 2010) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 5c6ecb274e50..088a9c071d5b 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -2,14 +2,17 @@ Hash: SHA1 AUX xboxdrv-0.4.10-build.patch 554 RMD160 bd56c62d8e4d18bb427f5b35ec45475f4d7c68c5 SHA1 2e34f6aa83dcfc365624d02e5f2a1dcfb19b1e2a SHA256 3def09526ec6ec3684d0b95cc25e7bf3207e973aa0acd120a444d37148b4cce2 +AUX xboxdrv-0.4.11-build.patch 918 RMD160 0cd83c95f14e6310e3859aa3fcd6c10b397da4aa SHA1 e9cdf56a147e4421e323379b46cc5962f65bb790 SHA256 d8514f5f24cb5b74eedf88d542a448525d3084cc50ad2933738235e84d9629e8 DIST xboxdrv-linux-0.4.10.tar.bz2 189945 RMD160 c5499b310833360785f330d3d69da6a738d291df SHA1 17008952f893aa00cc541ed6a592abee038a040f SHA256 93e83f896a63ca6277b822b27a1c2779ab48c868cf1be5482adcd4af49883f2a +DIST xboxdrv-linux-0.4.11.tar.bz2 191786 RMD160 d722335d94609ed5a717c12af1b7632ab7598761 SHA1 25c043ae418fea30de4c81d56985b105cb3e4b9c SHA256 75485bfd47224d0c896783c5cc2b9d179b110d6f5f7ffb32df1722ea991b4104 EBUILD xboxdrv-0.4.10.ebuild 1303 RMD160 e7869bc946644b6cd12df9bc472b51d89aff2b3c SHA1 f62c3d25208a5c98075888acf19742b8f732047b SHA256 7ddbb04f137870109dccd5f48022392c0d49646ffcada11de1fbf7aa83b7fb27 -MISC ChangeLog 435 RMD160 c6d7fc9271930961872b57db9d358021eab5f91c SHA1 540f09d6441140c2be93f41e2db2a97f25d05331 SHA256 5e82cb3dc7dc6ca2b9335c49703d20fe7a4a11d72fafe6f1b169cde8ff67ec43 +EBUILD xboxdrv-0.4.11.ebuild 1303 RMD160 f892c12005192d8f40f317c6b4b5d00a78433fcc SHA1 25a56f6ecd51640c950d6622c51280472c617b15 SHA256 4a5a208602e9469fe9f4415081079a46c5db399efab488160bb71cf8e670b338 +MISC ChangeLog 591 RMD160 1c3f6e4633984719e21227d03becd871ece5d00e SHA1 a0af6c7db9b4de9e7b12ad8b5fc2f8acb0bcd2a1 SHA256 5bb6230e731f6028428fb6bc46fd7005f3e4594d4874cea946b6722f9cc9c528 MISC metadata.xml 344 RMD160 ace090c31a1c7889c1a3ea66e0ce5d47a4247594 SHA1 b42c3f2833d90a09836625c922997699cc12b129 SHA256 81f586dd9ed46471d6304c1cc833de1bd5a37bab9238e78595848623ee6b1bf1 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) +Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkuQBZwACgkQdz7hIScOUREtkACfTrM/XhvkoOVCBKOLYnEA304W -7t4AoIy5sh4e/WMKq2DKafsYQ40LYM8r -=fBZU +iEYEARECAAYFAkvcmjcACgkQdz7hIScOURHiDgCgsyfGI/UVJtQHlFsbgphfcU88 +iocAoOurkCZ8fHXFjLt0XZI5njBmgHSx +=5r5F -----END PGP SIGNATURE----- diff --git a/games-util/xboxdrv/files/xboxdrv-0.4.11-build.patch b/games-util/xboxdrv/files/xboxdrv-0.4.11-build.patch new file mode 100644 index 000000000000..96477c6fce3a --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-0.4.11-build.patch @@ -0,0 +1,30 @@ +--- SConstruct ++++ SConstruct +@@ -1,8 +1,7 @@ + # -*- python -*- + +-if True: ++if False: + env = Environment(CPPFLAGS=['-g', '-O2', '-Wall', '-ansi', '-pedantic']) +-else: + env = Environment(CXXFLAGS= [ "-O3", "-g3", + "-ansi", + "-pedantic", +@@ -18,6 +17,17 @@ + "-Winit-self", # only works with >= -O1 + "-Wno-unused-parameter", + ]) ++import os ++import SCons.Util ++ ++env = Environment(CPPFLAGS=['-Wall', '-ansi', '-pedantic']) ++if os.environ.has_key('CXX'): ++ env['CXX'] = os.environ['CXX'] ++if os.environ.has_key('CXXFLAGS'): ++ env['CXXFLAGS'] = SCons.Util.CLVar(os.environ['CXXFLAGS']) ++if os.environ.has_key('LDFLAGS'): ++ env['LINKFLAGS'] = SCons.Util.CLVar(os.environ['LDFLAGS']) ++ + conf = Configure(env) + + if not conf.env['CXX']: diff --git a/games-util/xboxdrv/xboxdrv-0.4.11.ebuild b/games-util/xboxdrv/xboxdrv-0.4.11.ebuild new file mode 100644 index 000000000000..05e046c709c0 --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.4.11.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/xboxdrv-0.4.11.ebuild,v 1.1 2010/05/01 21:16:34 nyhm Exp $ + +EAPI=2 +inherit eutils 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="daemon" + +RDEPEND="dev-libs/boost + virtual/libusb:0 + x11-libs/libX11" +DEPEND="${RDEPEND} + dev-util/scons" +RDEPEND="${RDEPEND} + daemon? ( + dev-python/dbus-python + dev-python/pygobject + )" + +S=${WORKDIR}/${MY_P} + +CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + tc-export CXX + scons || die "scons failed" +} + +src_install() { + dobin xboxdrv || die "dobin failed" + + if use daemon ; then + dobin tools/xboxdrv-daemon.py || die "dobin failed" + fi + + 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" + + dodoc AUTHORS NEWS PROTOCOL README TODO +} |