diff options
Diffstat (limited to 'games-util/qjoypad')
-rw-r--r-- | games-util/qjoypad/ChangeLog | 5 | ||||
-rw-r--r-- | games-util/qjoypad/qjoypad-4.1.0.ebuild | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/games-util/qjoypad/ChangeLog b/games-util/qjoypad/ChangeLog index 68648c9db66c..3eb90c622ffb 100644 --- a/games-util/qjoypad/ChangeLog +++ b/games-util/qjoypad/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-util/qjoypad # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/ChangeLog,v 1.26 2012/09/05 10:03:01 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/ChangeLog,v 1.27 2012/09/29 01:36:16 mr_bones_ Exp $ + + 29 Sep 2012; Michael Sterrett <mr_bones_@gentoo.org> qjoypad-4.1.0.ebuild: + fixup the icon tray support (bug #436426) 05 Sep 2012; Justin Lecher <jlec@gentoo.org> qjoypad-4.1.0.ebuild: Use doicon instead insinto + doins to install icon files; Bump EAPI to 4 diff --git a/games-util/qjoypad/qjoypad-4.1.0.ebuild b/games-util/qjoypad/qjoypad-4.1.0.ebuild index 8e4cdb761541..873deef31bf1 100644 --- a/games-util/qjoypad/qjoypad-4.1.0.ebuild +++ b/games-util/qjoypad/qjoypad-4.1.0.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/qjoypad-4.1.0.ebuild,v 1.8 2012/09/05 10:03:01 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/qjoypad-4.1.0.ebuild,v 1.9 2012/09/29 01:36:16 mr_bones_ Exp $ EAPI=4 - inherit eutils qt4-r2 DESCRIPTION="Translate gamepad/joystick input into key strokes/mouse actions in X" @@ -25,7 +24,16 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P}/src -PATCHES=( "${FILESDIR}"/${P}-underlink.patch ) +src_prepare() { + epatch "${FILESDIR}"/${P}-underlink.patch + # fixup the icon tray support (bug #436426) + sed -i \ + -e '/^icons.extra/d' \ + -e '/^icons/s:/qjoypad::' \ + -e 's/icon24.png/qjoypad4-24x24.png/' \ + -e 's/icon64.png/qjoypad4-64x64.png/' \ + qjoypad.pro || die +} src_configure() { eqmake4 qjoypad.pro PREFIX=/usr DEVDIR=/dev/input |