commit:     720def6b74332ed8ee8d15425ff4dc45dc4e7ba5
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Jul  1 17:36:08 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Jul  3 23:22:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720def6b

app-misc/joymouse: EAPI7, fix LICENSE

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16537
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 app-misc/joymouse/joymouse-0.5-r1.ebuild | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/app-misc/joymouse/joymouse-0.5-r1.ebuild 
b/app-misc/joymouse/joymouse-0.5-r1.ebuild
new file mode 100644
index 00000000000..1d376462050
--- /dev/null
+++ b/app-misc/joymouse/joymouse-0.5-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="An application that translates joystick events to mouse events"
+HOMEPAGE="https://sourceforge.net/projects/joymouse-linux";
+SRC_URI="mirror://sourceforge/joymouse-linux/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~x86"
+
+RDEPEND="x11-libs/libX11
+       x11-libs/libXtst"
+DEPEND="${RDEPEND}
+       x11-base/xorg-proto"
+
+src_prepare() {
+       default
+       sed -i 's/printf(message/fputs(message, stdout/g' src/joymouse.c || die
+}

Reply via email to