summaryrefslogtreecommitdiff
path: root/games-util/joystick
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-11 07:02:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-11 07:02:28 +0100
commit068424b26532f3551a81421a9be67ed206e5c11a (patch)
tree583b8d979899a463a4ef5b26d3d49e85df987623 /games-util/joystick
parentd162ba1860a88062f4cd61f8b52fc303ba0b2991 (diff)
gentoo resync : 11.08.2021
Diffstat (limited to 'games-util/joystick')
-rw-r--r--games-util/joystick/Manifest4
-rw-r--r--games-util/joystick/joystick-1.7.1.ebuild (renamed from games-util/joystick/joystick-1.6.1.ebuild)32
2 files changed, 20 insertions, 16 deletions
diff --git a/games-util/joystick/Manifest b/games-util/joystick/Manifest
index b98a626f45be..ea1dea51c224 100644
--- a/games-util/joystick/Manifest
+++ b/games-util/joystick/Manifest
@@ -1,6 +1,6 @@
AUX joystick-1.6.0-build.patch 831 BLAKE2B 942038f6997caa84cdbc8c05a6353dd448c1b70f9229f38084e2b8c80df2f8d3df3eb8a0da754a7ba56863aaed58375eec22267f08d304bd550d2237054f6e16 SHA512 071b15e16a1688e2d743dbf0bc44c784184ee93698b660394c83bed719d579952c9d73680e3e24754a41d5de69a65559b61255b0366c3437a193fc526c3d6064
-DIST linuxconsoletools-1.6.1.tar.bz2 50854 BLAKE2B 0614e72226c575499ae5976011a0fca146a1981e2d355f7554f105b184bdd4f1090bf5374377e89f3881c5476e3c3a362b70f86cfd83440264066ea50a8c6a4b SHA512 b520c0a2d55986204619e3a5a00fb8b1e26453ac6df4f51c8c87495661a68bb6fe5a1947a3e079a53a537bf06d23c73c404a4d7e4d4dd18c0f7f69c1985a77be
DIST linuxconsoletools-1.7.0.tar.bz2 52960 BLAKE2B 438e69e7aa220ea3fc92a9a72bda081c7877663c451f3101bc30e344a7a0f0f20b1c2f4ecd78c0db501b6442e2cd20e9f288c9c331118e8c666a61c3ac4b6851 SHA512 260667e167281dd6f4de0904c2852a5bf3d9d0fe9d603135d4849c5a6610997306c9b476f64e4015d17a4dc8e4a8d36e96e01b9b63664fc7b493201fe12b4f56
-EBUILD joystick-1.6.1.ebuild 869 BLAKE2B cd9a4cd4bf04633cb1f0dd12a9be7b86c2c24b2e419ba9a0af7625830c3a533c3f482d701fc4d8b52022546255e448fecf2c6af3bf3b1dc56b9ee0152686ed1d SHA512 eb2d7b1511cb42dbefb13bd320b4510670e999ee53b33cf4693b177d4144794a002a4663f7036ac46f6ebc7fd769a9de7a33fbfc9c93554c3a12894276e0326d
+DIST linuxconsoletools-1.7.1.tar.bz2 53153 BLAKE2B e05d04454fefdd4009d0c75f1caf2e6675a8e5f494f6f2f491f4de3c57101a6323b4de5795fccb9fd6a557a1e7bf4befa312661b022ed0503da83ac4dd3ab7c5 SHA512 2ba97e6c5b57aa5d6b08369bae050256f4d039f5b8479ad03cef4a7c43bf772db312de54d9e70a8a92c9ed7933b524715f1ce5448ccf508e6ffe8646a9dbd349
EBUILD joystick-1.7.0.ebuild 872 BLAKE2B 3d08dc3fb669b9e23b7a21623244242ed883f41c38a0f3bda97e90e7f6dfc5ddb0148c2f73ec4d14a7ec28dc5b850a078032b76dd873dcf13fcd6c51d81cf086 SHA512 ddeac2a9eb45be7d5199f885b44363c17da17163ed2e62534318967158927e0e754f568d3472166a3653d602630e3c42e1e03b48aec9e1fab59e8fcf311f0063
+EBUILD joystick-1.7.1.ebuild 870 BLAKE2B c26d1ee35834da9a7261ebf7c5cbbe4cbf40f529f82260a2f6b0a70a1d32185387e1d316e34fb0f00499a4e2068ff25a41ac3b61bd6e605476be61a1bf637d84 SHA512 22433c957fef2dcf7b5ba89f7030cd18fe282151ead4ee366f70097f27ed9b22bf36bb6f0413fd65d4de7db28d497f5b9b90ef640fe5d0f7415e112373019c44
MISC metadata.xml 335 BLAKE2B e83ffecd1afda0861555f62d9bad50f99c8e1bebb296f303bbdb8624ea283eb04d30d76a74d9970f519e303e851991ae33b232f74c9d2fdacce16b59fccdf9f5 SHA512 6440a6652a98c7439b22df51f22089ddd867be3e07e6c04001aa15b1fc01fd84dc8d3244f106abe4ae89caf7561aa45fe2526f2f9e8e8844a5e44f9f8a51df41
diff --git a/games-util/joystick/joystick-1.6.1.ebuild b/games-util/joystick/joystick-1.7.1.ebuild
index d4156cace763..2f1e8014e508 100644
--- a/games-util/joystick/joystick-1.6.1.ebuild
+++ b/games-util/joystick/joystick-1.7.1.ebuild
@@ -1,42 +1,46 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
inherit toolchain-funcs
MY_P="linuxconsoletools-${PV}"
-DESCRIPTION="joystick testing utilities"
-HOMEPAGE="https://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/"
+
+DESCRIPTION="Joystick testing utilities"
+HOMEPAGE="https://sourceforge.net/projects/linuxconsole/"
SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="sdl udev"
-DEPEND="sdl? ( media-libs/libsdl:0[video] )
- !<x11-libs/tslib-1.0-r2"
-RDEPEND="${DEPEND}
+DEPEND="sdl? ( media-libs/libsdl2[video] )"
+RDEPEND="
+ ${DEPEND}
udev? ( virtual/udev )"
BDEPEND="virtual/pkgconfig"
-S=${WORKDIR}/${MY_P}
-
PATCHES=(
"${FILESDIR}"/${PN}-1.6.0-build.patch
)
-src_prepare() {
- default
-
- export PREFIX=/usr
+src_configure() {
tc-export CC PKG_CONFIG
+ export PREFIX="${EPREFIX}"/usr
export USE_SDL=$(usex sdl)
}
src_install() {
default
- if ! use udev ; then
+
+ if ! use udev; then
rm "${ED}"/usr/bin/jscal-{re,}store || die
fi
+
+ if [[ ${EPREFIX} ]]; then
+ mv {"${D}","${ED}"}/lib || die
+ fi
}