diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-09-05 10:03:01 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-09-05 10:03:01 +0000 |
commit | 798b5ab109297f3e59d9363ba3e6626ffa92e008 (patch) | |
tree | e3daf9f792c74c366aa8f6041a7544893ad8f5f7 /games-util/qjoypad | |
parent | Use doicon instead insinto + doins to install icon files (diff) | |
download | gentoo-2-798b5ab109297f3e59d9363ba3e6626ffa92e008.tar.gz gentoo-2-798b5ab109297f3e59d9363ba3e6626ffa92e008.tar.bz2 gentoo-2-798b5ab109297f3e59d9363ba3e6626ffa92e008.zip |
Use doicon instead insinto + doins to install icon files; Bump EAPI to 4
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
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 | 23 |
2 files changed, 17 insertions, 11 deletions
diff --git a/games-util/qjoypad/ChangeLog b/games-util/qjoypad/ChangeLog index 55f7d820d801..68648c9db66c 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.25 2012/07/16 15:45:54 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/ChangeLog,v 1.26 2012/09/05 10:03:01 jlec Exp $ + + 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 16 Jul 2012; Michael Sterrett <mr_bones_@gentoo.org> qjoypad-4.1.0.ebuild: tidy diff --git a/games-util/qjoypad/qjoypad-4.1.0.ebuild b/games-util/qjoypad/qjoypad-4.1.0.ebuild index 27ba161298d5..8e4cdb761541 100644 --- a/games-util/qjoypad/qjoypad-4.1.0.ebuild +++ b/games-util/qjoypad/qjoypad-4.1.0.ebuild @@ -1,11 +1,12 @@ # 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.7 2012/07/16 15:45:54 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/qjoypad/qjoypad-4.1.0.ebuild,v 1.8 2012/09/05 10:03:01 jlec Exp $ + +EAPI=4 -EAPI=2 inherit eutils qt4-r2 -DESCRIPTION="translate gamepad/joystick input into key strokes/mouse actions in X" +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" @@ -14,7 +15,8 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" -RDEPEND="x11-libs/libXtst +RDEPEND=" + x11-libs/libXtst x11-libs/qt-gui:4" DEPEND="${RDEPEND} x11-proto/inputproto @@ -30,11 +32,12 @@ src_configure() { } src_install() { - dobin 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 + local i + dobin qjoypad dodoc ../README.txt - make_desktop_entry qjoypad QJoypad /usr/share/pixmaps/${PN}/icon64.png + cd ../icons + for i in *; do + newicon ${i} ${i/gamepad/qjoypad} + done + make_desktop_entry qjoypad QJoypad ${PN}4-64x64 } |