summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-util')
-rw-r--r--games-util/qjoypad/ChangeLog10
-rw-r--r--games-util/qjoypad/qjoypad-4.0.0.ebuild38
2 files changed, 46 insertions, 2 deletions
diff --git a/games-util/qjoypad/ChangeLog b/games-util/qjoypad/ChangeLog
index 1a4161239b5d..6fe87a9ac761 100644
--- a/games-util/qjoypad/ChangeLog
+++ b/games-util/qjoypad/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-util/qjoypad
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/ChangeLog,v 1.14 2008/07/27 21:27:04 carlo Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/ChangeLog,v 1.15 2009/09/05 19:21:51 mr_bones_ Exp $
+
+*qjoypad-4.0.0 (05 Sep 2009)
+
+ 05 Sep 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +qjoypad-4.0.0.ebuild:
+ version bump - ebuild submitted by Renato Alves via bug #283775
27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> qjoypad-3.4.1.ebuild:
QA: Get rid of deprecated qt_min_version().
diff --git a/games-util/qjoypad/qjoypad-4.0.0.ebuild b/games-util/qjoypad/qjoypad-4.0.0.ebuild
new file mode 100644
index 000000000000..35468991cd3e
--- /dev/null
+++ b/games-util/qjoypad/qjoypad-4.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/qjoypad-4.0.0.ebuild,v 1.1 2009/09/05 19:21:51 mr_bones_ Exp $
+
+EAPI=1
+inherit qt4 eutils
+
+DESCRIPTION="translate gamepad/joystick input into key strokes/mouse actions in X"
+HOMEPAGE="http://qjoypad.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qjoypad/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXtst
+ x11-libs/qt-gui"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+src_compile() {
+ cd src
+ eqmake4 qjoypad.pro PREFIX=/usr DEVDIR=/dev/input
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin src/qjoypad || die "bin"
+ insinto /usr/share/pixmaps/${PN}
+ doins icons/* || die "icons"
+ dosym gamepad4-24x24.png /usr/share/pixmaps/${PN}/icon24.png
+ dosym gamepad4-64x64.png /usr/share/pixmaps/${PN}/icon64.png
+ dodoc README.txt
+ make_desktop_entry qjoypad QJoypad /usr/share/pixmaps/${PN}/icon64.png
+}