/[gentoo-x86]/games-util/qjoypad/qjoypad-4.1.0.ebuild
Gentoo

Contents of /games-util/qjoypad/qjoypad-4.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Mar 2 21:22:56 2013 UTC (2 months, 3 weeks ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -3 lines
Move Qt dependencies to the new category

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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 $
4
5 EAPI=4
6 inherit eutils qt4-r2
7
8 DESCRIPTION="Translate gamepad/joystick input into key strokes/mouse actions in X"
9 HOMEPAGE="http://qjoypad.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/qjoypad/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16
17 RDEPEND="
18 x11-libs/libXtst
19 dev-qt/qtgui:4"
20 DEPEND="${RDEPEND}
21 x11-proto/inputproto
22 x11-proto/xextproto
23 x11-proto/xproto"
24
25 S=${WORKDIR}/${P}/src
26
27 src_prepare() {
28 epatch "${FILESDIR}"/${P}-underlink.patch
29 # fixup the icon tray support (bug #436426)
30 sed -i \
31 -e '/^icons.extra/d' \
32 -e '/^icons/s:/qjoypad::' \
33 -e 's/icon24.png/qjoypad4-24x24.png/' \
34 -e 's/icon64.png/qjoypad4-64x64.png/' \
35 qjoypad.pro || die
36 }
37
38 src_configure() {
39 eqmake4 qjoypad.pro PREFIX=/usr DEVDIR=/dev/input
40 }
41
42 src_install() {
43 local i
44 dobin qjoypad
45 dodoc ../README.txt
46 cd ../icons
47 for i in *; do
48 newicon ${i} ${i/gamepad/qjoypad}
49 done
50 make_desktop_entry qjoypad QJoypad ${PN}4-64x64
51 }

  ViewVC Help
Powered by ViewVC 1.1.20