1 |
commit: d676574b43da7591fd7bd181b8347692e28262d9 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 22 00:56:56 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 22 00:57:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d676574b |
7 |
|
8 |
games-util/joystick: Bump to version 1.6.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
games-util/joystick/Manifest | 1 + |
14 |
games-util/joystick/joystick-1.6.1.ebuild | 41 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/games-util/joystick/Manifest b/games-util/joystick/Manifest |
18 |
index 3f78eb0abea..210ac3641d2 100644 |
19 |
--- a/games-util/joystick/Manifest |
20 |
+++ b/games-util/joystick/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST linuxconsoletools-1.6.0.tar.bz2 50563 BLAKE2B 26f68f4a9a4af5b875bc7efcc70edd80978a560f62c415b4957ee851260a2f6e6227c5a3001fb009777eac7e19d0449a8335486290ae0aaa9467ad8e1e9a89fb SHA512 35ca923cceca729bcbab95dff18682abd0d87a297e70aa8707fbabccde018fef0775a99195af4bf9111ba33210a14c10d1a766f83112cd535930a1ae430c7c75 |
23 |
+DIST linuxconsoletools-1.6.1.tar.bz2 50854 BLAKE2B 0614e72226c575499ae5976011a0fca146a1981e2d355f7554f105b184bdd4f1090bf5374377e89f3881c5476e3c3a362b70f86cfd83440264066ea50a8c6a4b SHA512 b520c0a2d55986204619e3a5a00fb8b1e26453ac6df4f51c8c87495661a68bb6fe5a1947a3e079a53a537bf06d23c73c404a4d7e4d4dd18c0f7f69c1985a77be |
24 |
|
25 |
diff --git a/games-util/joystick/joystick-1.6.1.ebuild b/games-util/joystick/joystick-1.6.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..389255caf33 |
28 |
--- /dev/null |
29 |
+++ b/games-util/joystick/joystick-1.6.1.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+MY_P="linuxconsoletools-${PV}" |
38 |
+DESCRIPTION="joystick testing utilities" |
39 |
+HOMEPAGE="https://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/" |
40 |
+SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~x86" |
45 |
+IUSE="sdl udev" |
46 |
+ |
47 |
+DEPEND="sdl? ( media-libs/libsdl:0[video] ) |
48 |
+ !<x11-libs/tslib-1.0-r2" |
49 |
+RDEPEND="${DEPEND} |
50 |
+ udev? ( virtual/udev )" |
51 |
+ |
52 |
+S=${WORKDIR}/${MY_P} |
53 |
+ |
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}"/${PN}-1.6.0-build.patch |
56 |
+) |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ |
61 |
+ export PREFIX=/usr |
62 |
+ tc-export CC PKG_CONFIG |
63 |
+ export USE_SDL=$(usex sdl) |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ default |
68 |
+ if ! use udev ; then |
69 |
+ rm "${ED}"/usr/bin/jscal-{re,}store || die |
70 |
+ fi |
71 |
+} |