summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2010-05-27 22:04:05 +0000
committerTristan Heaven <tristan@gentoo.org>2010-05-27 22:04:05 +0000
commitffb43ff3659b4d4f9dbf130bd41a72830eb4d382 (patch)
tree86fc6fd8844c5f15fe7cc525702a01f0a6540045 /games-util/xboxdrv
parentVersion bump (diff)
downloadhistorical-ffb43ff3659b4d4f9dbf130bd41a72830eb4d382.tar.gz
historical-ffb43ff3659b4d4f9dbf130bd41a72830eb4d382.tar.bz2
historical-ffb43ff3659b4d4f9dbf130bd41a72830eb4d382.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/ChangeLog8
-rw-r--r--games-util/xboxdrv/Manifest13
-rw-r--r--games-util/xboxdrv/files/xboxdrv-0.5.0-build.patch29
-rw-r--r--games-util/xboxdrv/xboxdrv-0.5.0.ebuild58
4 files changed, 102 insertions, 6 deletions
diff --git a/games-util/xboxdrv/ChangeLog b/games-util/xboxdrv/ChangeLog
index e91f19130d6d..4c9ac50fda4b 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.7 2010/05/23 20:07:26 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/ChangeLog,v 1.8 2010/05/27 22:04:05 nyhm Exp $
+
+*xboxdrv-0.5.0 (27 May 2010)
+
+ 27 May 2010; Tristan Heaven <nyhm@gentoo.org> +xboxdrv-0.5.0.ebuild,
+ +files/xboxdrv-0.5.0-build.patch:
+ Version bump
23 May 2010; Pacho Ramos <pacho@gentoo.org> xboxdrv-0.4.10.ebuild:
stable amd64, bug 313019
diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest
index 8f0dbeacdcb5..bf271abf8dc7 100644
--- a/games-util/xboxdrv/Manifest
+++ b/games-util/xboxdrv/Manifest
@@ -5,20 +5,23 @@ AUX xboxdrv-0.4.10-build.patch 554 RMD160 bd56c62d8e4d18bb427f5b35ec45475f4d7c68
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
AUX xboxdrv-0.4.13-build.patch 918 RMD160 0cd83c95f14e6310e3859aa3fcd6c10b397da4aa SHA1 e9cdf56a147e4421e323379b46cc5962f65bb790 SHA256 d8514f5f24cb5b74eedf88d542a448525d3084cc50ad2933738235e84d9629e8
+AUX xboxdrv-0.5.0-build.patch 916 RMD160 30eca0c791b28a1c3233871379a1bbc5ab6ae936 SHA1 ce4582d0477d14c5ecdf90e63417d788044463d8 SHA256 04356c7e28defb3f4e9b79d18ed629e342d57714344747ad4af5216bee1e4e39
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
DIST xboxdrv-linux-0.4.13.tar.bz2 269554 RMD160 e3205d446adaf6a03b8b1a7d24dbc4d380c89dee SHA1 85e4ff12298b8f9c6903ff8daa4c660b529f4a58 SHA256 1be7901a3aee19d99bb95e51bd985564bfc02413b8f7448e82fc6f4c4bf42b71
+DIST xboxdrv-linux-0.5.0.tar.bz2 273940 RMD160 1bfbcadfda42042dae9ac59e0b55c08455f3e265 SHA1 467545f0738c08ab8420ed7ad9e4b676e6a18885 SHA256 adc6b7a5f83fd85f49171b749fc93db93058abba2034f03974ad76d77d4704c1
EBUILD xboxdrv-0.4.10.ebuild 1302 RMD160 968164f82d27a4c56a3aeb3c40378e5f32dd76df SHA1 5c068b43275005e72e0c78683a6eee01ea63c98d SHA256 c761f392e9e4913d2fc739718f882bd4d8f1d595febf4da04a6bfbe8bb4c4eb5
EBUILD xboxdrv-0.4.11.ebuild 1303 RMD160 f892c12005192d8f40f317c6b4b5d00a78433fcc SHA1 25a56f6ecd51640c950d6622c51280472c617b15 SHA256 4a5a208602e9469fe9f4415081079a46c5db399efab488160bb71cf8e670b338
EBUILD xboxdrv-0.4.12.ebuild 1344 RMD160 d6950477c4c39c27bd9411f9a6a0f5cbadf6b0e3 SHA1 a53033908b8e5844cd62b00996ffd46fc3a8cad7 SHA256 85e21bf84887ddd39872ea6b00c5a94171ef4e3ddd5fde3a4e3f443097aa69b9
EBUILD xboxdrv-0.4.13.ebuild 1344 RMD160 40fa22a722fdebc8bb482510a58cc788b4464fa3 SHA1 818db99c38dadc016b434ed6faeb9873a0d41daf SHA256 15899678c1256aa08ed74840f1d65e185d976cf704ee53400c04cb9544c49320
-MISC ChangeLog 1125 RMD160 09f4e013ed3ed824d6cae7344b68aafd8b3f1008 SHA1 89ad6eecf9a0399e693890af1bdc6092bf80f5aa SHA256 59c687a3eb0dcc5d12599fa9da01ea3e47b7af7d06e80e6717929152e3e6285d
+EBUILD xboxdrv-0.5.0.ebuild 1343 RMD160 679b511b75b65f01b7bd9d9bd941df595d66c202 SHA1 a90e6747fa19f7cb5b8b2b3ee5164da057a288f1 SHA256 78d9baa14ba47f9040c64cf59b281f2c4da118cae443e192b1147c7342a3246b
+MISC ChangeLog 1277 RMD160 9019bab0e4f1f81c25d9d3b414d8edbb2bfcde1a SHA1 7321428053f6d06b1eb8a34d1f615a1283a080b0 SHA256 61db697891e931b07fc27c40c9ac378abd0bdb09502a2012f3ffeec543205f1d
MISC metadata.xml 341 RMD160 6564aed2edd0283ec6f0ea944391cae6d840af10 SHA1 5a3382a2759bf53c56f64708c58ee1ffa078ada2 SHA256 a439c5fb19720f9bd32479216895651e51d45598e5943dfcb75d5d39f4bbd657
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEUEARECAAYFAkv5iwYACgkQCaWpQKGI+9QnxQCYg70oLuCrXmHlbs3Sh/fUCvcK
-qwCfdlNqbQEGzeXZVUD6aRRGJ9imSyY=
-=ipEw
+iEYEARECAAYFAkv+7FsACgkQdz7hIScOURHqWwCfS47xSxTzhXNUz73dUKqUJbGV
+hR0Anik77YXB2ucBol4A2PlfxHDoq/Ii
+=xCSt
-----END PGP SIGNATURE-----
diff --git a/games-util/xboxdrv/files/xboxdrv-0.5.0-build.patch b/games-util/xboxdrv/files/xboxdrv-0.5.0-build.patch
new file mode 100644
index 000000000000..463ba7900c74
--- /dev/null
+++ b/games-util/xboxdrv/files/xboxdrv-0.5.0-build.patch
@@ -0,0 +1,29 @@
+--- 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,16 @@
+ "-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'])
+
+ f = open("VERSION")
+ package_version = f.read()
diff --git a/games-util/xboxdrv/xboxdrv-0.5.0.ebuild b/games-util/xboxdrv/xboxdrv-0.5.0.ebuild
new file mode 100644
index 000000000000..afad9530b96f
--- /dev/null
+++ b/games-util/xboxdrv/xboxdrv-0.5.0.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.5.0.ebuild,v 1.1 2010/05/27 22:04:05 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
+}