1 |
commit: 45c19fd7b324426027d0e95edd9a2ac898d336bf |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 11:17:37 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 11:17:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c19fd7 |
7 |
|
8 |
games-util/joystick: Bump to version 1.5.1 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
games-util/joystick/Manifest | 1 + |
14 |
.../joystick/files/joystick-1.5.1-build.patch | 34 +++++++++++++++++ |
15 |
games-util/joystick/joystick-1.5.1.ebuild | 43 ++++++++++++++++++++++ |
16 |
3 files changed, 78 insertions(+) |
17 |
|
18 |
diff --git a/games-util/joystick/Manifest b/games-util/joystick/Manifest |
19 |
index 6f2f313..5882b44 100644 |
20 |
--- a/games-util/joystick/Manifest |
21 |
+++ b/games-util/joystick/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST linuxconsoletools-1.4.8.tar.bz2 43964 SHA256 23c4ac595f608e25f472d947c4193233f763f37ae0cf6b48141d33443a4cee6a SHA512 ea3a0baa3f163e10a4c76f58977a96d91d91bddb1a75cea5195b0a631c11ca55e40730aaa0d1965404837595c4a7fd8b75c3dd7785fe0e47ee2c90021341f262 WHIRLPOOL c02960d5e171efef3739f440a903ae9b14bec8b6ab4de2181ea691aa78c870f81b291ac98e313d234778fb59c4be8e53242cb46db019f3dffdbd8f26ddcbb113 |
24 |
DIST linuxconsoletools-1.4.9.tar.bz2 45430 SHA256 fa9c64f98cd991e71e23fa9b673635e23f0b69f0325593c0a56b8960bb139b67 SHA512 c2ea4f8f868b3d616bb0a4b84d6a051ed444251cc5d40c775863a5163359c9c34ee9647ff1c74e8659f7fef10d8722b4431b2e1706cf5052505731c1a1232ddd WHIRLPOOL 5939e606d5d8775d801dd93e5b4ca398218168f3ef56961a81b588ebfd0548d2ee03af8e5a3436fe6ed4ad60f972cdd74bed78b30cee949cc77c3fa64a3dd3a6 |
25 |
+DIST linuxconsoletools-1.5.1.tar.bz2 50015 SHA256 0bd07aacea251d63d3d8a458728c7f965f41ae45891d906cefedc3fde0753b1e SHA512 41e306ab8a09c3cf05da683c48628b3ffa73f077375391024b5d2bdc53d3baddcc650fe366dc7a3ec605459440a181013b2eff0921854895ba74cb644d70b5eb WHIRLPOOL ffc06f85125e3f478fa3ded3bbac262fac791314e2548f8ad9dce97167ac0865acf6c4eb5292184eb7725b6145e1438731d5dddb30affcc3cfb4f39de1badd56 |
26 |
|
27 |
diff --git a/games-util/joystick/files/joystick-1.5.1-build.patch b/games-util/joystick/files/joystick-1.5.1-build.patch |
28 |
new file mode 100644 |
29 |
index 0000000..a9dee20 |
30 |
--- /dev/null |
31 |
+++ b/games-util/joystick/files/joystick-1.5.1-build.patch |
32 |
@@ -0,0 +1,34 @@ |
33 |
+--- linuxconsoletools-1.5.1/docs/Makefile |
34 |
++++ linuxconsoletools-1.5.1/docs/Makefile |
35 |
+@@ -20,9 +20,13 @@ |
36 |
+ # 02110-1301 USA. |
37 |
+ |
38 |
+ MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \ |
39 |
+- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \ |
40 |
++ ffset.1 ffcfstress.1 jscal-store.1 \ |
41 |
+ jscal-restore.1 |
42 |
+ |
43 |
++ifneq ($(USE_SDL),no) |
44 |
++MANPAGES += ffmvforce.1 |
45 |
++endif |
46 |
++ |
47 |
+ PREFIX ?= /usr/local |
48 |
+ |
49 |
+ install: |
50 |
+--- linuxconsoletools-1.5.1/utils/Makefile |
51 |
++++ linuxconsoletools-1.5.1/utils/Makefile |
52 |
+@@ -27,9 +27,13 @@ |
53 |
+ |
54 |
+ CFLAGS ?= -g -O2 -Wall |
55 |
+ |
56 |
+-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \ |
57 |
++PROGRAMS = inputattach jstest jscal fftest ffset \ |
58 |
+ ffcfstress jscal-restore jscal-store evdev-joystick |
59 |
+ |
60 |
++ifneq ($(USE_SDL),no) |
61 |
++PROGRAMS += ffmvforce |
62 |
++endif |
63 |
++ |
64 |
+ PREFIX ?= /usr/local |
65 |
+ |
66 |
+ compile: $(PROGRAMS) |
67 |
|
68 |
diff --git a/games-util/joystick/joystick-1.5.1.ebuild b/games-util/joystick/joystick-1.5.1.ebuild |
69 |
new file mode 100644 |
70 |
index 0000000..5ceb0a1 |
71 |
--- /dev/null |
72 |
+++ b/games-util/joystick/joystick-1.5.1.ebuild |
73 |
@@ -0,0 +1,43 @@ |
74 |
+# Copyright 1999-2016 Gentoo Foundation |
75 |
+# Distributed under the terms of the GNU General Public License v2 |
76 |
+# $Id$ |
77 |
+ |
78 |
+EAPI=6 |
79 |
+inherit eutils toolchain-funcs |
80 |
+ |
81 |
+MY_P="linuxconsoletools-${PV}" |
82 |
+DESCRIPTION="joystick testing utilities" |
83 |
+HOMEPAGE="http://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/" |
84 |
+SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2" |
85 |
+ |
86 |
+LICENSE="GPL-2" |
87 |
+SLOT="0" |
88 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86" |
89 |
+IUSE="sdl udev" |
90 |
+ |
91 |
+DEPEND="sdl? ( media-libs/libsdl:0[video] ) |
92 |
+ !<x11-libs/tslib-1.0-r2" |
93 |
+RDEPEND="${DEPEND} |
94 |
+ udev? ( virtual/udev )" |
95 |
+ |
96 |
+S=${WORKDIR}/${MY_P} |
97 |
+ |
98 |
+PATCHES=( |
99 |
+ "${FILESDIR}"/${PN}-1.5.1-build.patch |
100 |
+ "${FILESDIR}"/${PN}-1.4.8-udev.patch |
101 |
+) |
102 |
+ |
103 |
+src_prepare() { |
104 |
+ default |
105 |
+ |
106 |
+ export PREFIX=/usr |
107 |
+ tc-export CC PKG_CONFIG |
108 |
+ export USE_SDL=$(usex sdl) |
109 |
+} |
110 |
+ |
111 |
+src_install() { |
112 |
+ default |
113 |
+ if use !udev ; then |
114 |
+ rm "${D}"/usr/bin/jscal-{re,}store || die |
115 |
+ fi |
116 |
+} |