1 |
commit: 720def6b74332ed8ee8d15425ff4dc45dc4e7ba5 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 1 17:36:08 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 3 23:22:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720def6b |
7 |
|
8 |
app-misc/joymouse: EAPI7, fix LICENSE |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/16537 |
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
|
15 |
app-misc/joymouse/joymouse-0.5-r1.ebuild | 22 ++++++++++++++++++++++ |
16 |
1 file changed, 22 insertions(+) |
17 |
|
18 |
diff --git a/app-misc/joymouse/joymouse-0.5-r1.ebuild b/app-misc/joymouse/joymouse-0.5-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..1d376462050 |
21 |
--- /dev/null |
22 |
+++ b/app-misc/joymouse/joymouse-0.5-r1.ebuild |
23 |
@@ -0,0 +1,22 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+DESCRIPTION="An application that translates joystick events to mouse events" |
30 |
+HOMEPAGE="https://sourceforge.net/projects/joymouse-linux" |
31 |
+SRC_URI="mirror://sourceforge/joymouse-linux/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2+" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~mips ~ppc ~x86" |
36 |
+ |
37 |
+RDEPEND="x11-libs/libX11 |
38 |
+ x11-libs/libXtst" |
39 |
+DEPEND="${RDEPEND} |
40 |
+ x11-base/xorg-proto" |
41 |
+ |
42 |
+src_prepare() { |
43 |
+ default |
44 |
+ sed -i 's/printf(message/fputs(message, stdout/g' src/joymouse.c || die |
45 |
+} |