summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2010-05-12 22:36:10 +0000
committerTristan Heaven <tristan@gentoo.org>2010-05-12 22:36:10 +0000
commit6e35d5e23dc58d0d532d1f2de3b7c053330bd14f (patch)
treee7982163ac86a3f1fd53f803db0d2bd5d25f9bc2 /games-util
parentMarked ppc stable for bug #318875. (diff)
downloadhistorical-6e35d5e23dc58d0d532d1f2de3b7c053330bd14f.tar.gz
historical-6e35d5e23dc58d0d532d1f2de3b7c053330bd14f.tar.bz2
historical-6e35d5e23dc58d0d532d1f2de3b7c053330bd14f.zip
Version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'games-util')
-rw-r--r--games-util/xboxdrv/ChangeLog8
-rw-r--r--games-util/xboxdrv/Manifest17
-rw-r--r--games-util/xboxdrv/files/xboxdrv-0.4.12-build.patch30
-rw-r--r--games-util/xboxdrv/metadata.xml2
-rw-r--r--games-util/xboxdrv/xboxdrv-0.4.12.ebuild58
5 files changed, 111 insertions, 4 deletions
diff --git a/games-util/xboxdrv/ChangeLog b/games-util/xboxdrv/ChangeLog
index 6bb6a2c49cf9..7a2602356809 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.4 2010/05/10 17:39:05 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.5 2010/05/12 22:36:10 nyhm Exp $
+
+*xboxdrv-0.4.12 (12 May 2010)
+
+ 12 May 2010; Tristan Heaven <nyhm@gentoo.org> +xboxdrv-0.4.12.ebuild,
+ +files/xboxdrv-0.4.12-build.patch, metadata.xml:
+ Version bump
10 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
xboxdrv-0.4.10.ebuild:
diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest
index c12634257574..c9e419f35ee1 100644
--- a/games-util/xboxdrv/Manifest
+++ b/games-util/xboxdrv/Manifest
@@ -1,8 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+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
+AUX xboxdrv-0.4.12-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
+DIST xboxdrv-linux-0.4.12.tar.bz2 270456 RMD160 b6d453b4b58afd20eab00775db7ffa44f748e704 SHA1 bd253e9d94723168e9bbf0e9f30dab2c89c260d2 SHA256 c714772c193452e4eba539f5e07c7871e5c3bf0da2415da0c1028f9a18e15f71
EBUILD xboxdrv-0.4.10.ebuild 1308 RMD160 62cd18ad2f4b22250d63bc7c95f6ed120919e84c SHA1 96655a6fa5aa29983af2c1819aca85e24dda6d03 SHA256 9b6ebe1ee1815b430613fbf91d944b4b7a2076755c53c05a13426788ea54f615
EBUILD xboxdrv-0.4.11.ebuild 1303 RMD160 f892c12005192d8f40f317c6b4b5d00a78433fcc SHA1 25a56f6ecd51640c950d6622c51280472c617b15 SHA256 4a5a208602e9469fe9f4415081079a46c5db399efab488160bb71cf8e670b338
-MISC ChangeLog 707 RMD160 d22d137baad4420f7622e2afd7b8dd4c86f1b190 SHA1 af0621dd1269108cdb3b3632660c7cebf35a9479 SHA256 612cc199324146a761eba449d7fba27a2c15c234fd9a479477422ea07b5e1547
-MISC metadata.xml 344 RMD160 ace090c31a1c7889c1a3ea66e0ce5d47a4247594 SHA1 b42c3f2833d90a09836625c922997699cc12b129 SHA256 81f586dd9ed46471d6304c1cc833de1bd5a37bab9238e78595848623ee6b1bf1
+EBUILD xboxdrv-0.4.12.ebuild 1344 RMD160 d6950477c4c39c27bd9411f9a6a0f5cbadf6b0e3 SHA1 a53033908b8e5844cd62b00996ffd46fc3a8cad7 SHA256 85e21bf84887ddd39872ea6b00c5a94171ef4e3ddd5fde3a4e3f443097aa69b9
+MISC ChangeLog 871 RMD160 812f7e109b4349fb2a9355fb0056791eaf3bdcfe SHA1 a7c26c7161ec70344d98d9bad671689e5c49421b SHA256 4b9f64ceb03eb5a7e73fffde381d27a1df0a77af9f465da95c464baf7eff7133
+MISC metadata.xml 341 RMD160 6564aed2edd0283ec6f0ea944391cae6d840af10 SHA1 5a3382a2759bf53c56f64708c58ee1ffa078ada2 SHA256 a439c5fb19720f9bd32479216895651e51d45598e5943dfcb75d5d39f4bbd657
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkvrLWEACgkQdz7hIScOURFhzQCcC7h7ULw3KAmRrQQ1zTvtSQwW
+pMcAoPiQxoBYEnUjyk6yWMsWLCqCswAW
+=wXPd
+-----END PGP SIGNATURE-----
diff --git a/games-util/xboxdrv/files/xboxdrv-0.4.12-build.patch b/games-util/xboxdrv/files/xboxdrv-0.4.12-build.patch
new file mode 100644
index 000000000000..96477c6fce3a
--- /dev/null
+++ b/games-util/xboxdrv/files/xboxdrv-0.4.12-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/metadata.xml b/games-util/xboxdrv/metadata.xml
index b3c9fdb8b684..278b74e95833 100644
--- a/games-util/xboxdrv/metadata.xml
+++ b/games-util/xboxdrv/metadata.xml
@@ -7,6 +7,6 @@
<name>Tristan Heaven</name>
</maintainer>
<use>
- <flag name="daemon">Install xboxdrv-daemon.py (and its dependencies)</flag>
+ <flag name="daemon">Install xboxdrv-daemon (and its dependencies)</flag>
</use>
</pkgmetadata>
diff --git a/games-util/xboxdrv/xboxdrv-0.4.12.ebuild b/games-util/xboxdrv/xboxdrv-0.4.12.ebuild
new file mode 100644
index 000000000000..cbaa9daff19e
--- /dev/null
+++ b/games-util/xboxdrv/xboxdrv-0.4.12.ebuild
@@ -0,0 +1,58 @@
+# 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.12.ebuild,v 1.1 2010/05/12 22:36:10 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 xboxdrv-daemon || die "dobin failed"
+ doman doc/xboxdrv-daemon.1
+ 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"
+
+ doman doc/xboxdrv.1
+ dodoc AUTHORS NEWS PROTOCOL README TODO
+}