mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
games-util/joystick: drop 1.7.1
Closes: https://bugs.gentoo.org/847046 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST linuxconsoletools-1.7.1.tar.bz2 53153 BLAKE2B e05d04454fefdd4009d0c75f1caf2e6675a8e5f494f6f2f491f4de3c57101a6323b4de5795fccb9fd6a557a1e7bf4befa312661b022ed0503da83ac4dd3ab7c5 SHA512 2ba97e6c5b57aa5d6b08369bae050256f4d039f5b8479ad03cef4a7c43bf772db312de54d9e70a8a92c9ed7933b524715f1ce5448ccf508e6ffe8646a9dbd349
|
||||
DIST linuxconsoletools-1.8.1.tar.bz2 53715 BLAKE2B a0fab44762d9f4edcc1e85037efada2dac617873548579a83c3e7791e5a047e1c88243978fee562992f363102a0cb415c75d1286a3eb46a42dfe6afc7e9a0594 SHA512 407fcba552a3e45c60fb4f08217fe17106bedd6fde2fbce84aa6f4fa68ffc032f1683c6154f79daacaf1dcaf484fe943dd7391e787f0290d5bf42c7089c7c20c
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
--- linuxconsoletools-1.6.0/docs/Makefile
|
||||
+++ linuxconsoletools-1.6.0/docs/Makefile
|
||||
@@ -20,9 +20,13 @@
|
||||
# 02110-1301 USA.
|
||||
|
||||
MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \
|
||||
- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \
|
||||
+ ffset.1 ffcfstress.1 jscal-store.1 \
|
||||
jscal-restore.1 evdev-joystick.1
|
||||
|
||||
+ifneq ($(USE_SDL),no)
|
||||
+MANPAGES += ffmvforce.1
|
||||
+endif
|
||||
+
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
install:
|
||||
--- linuxconsoletools-1.6.0/utils/Makefile
|
||||
+++ linuxconsoletools-1.6.0/utils/Makefile
|
||||
@@ -27,9 +27,13 @@
|
||||
|
||||
CFLAGS ?= -g -O2 -Wall
|
||||
|
||||
-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \
|
||||
+PROGRAMS = inputattach jstest jscal fftest ffset \
|
||||
ffcfstress jscal-restore jscal-store evdev-joystick
|
||||
|
||||
+ifneq ($(USE_SDL),no)
|
||||
+PROGRAMS += ffmvforce
|
||||
+endif
|
||||
+
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
compile: $(PROGRAMS)
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P="linuxconsoletools-${PV}"
|
||||
|
||||
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+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="sdl udev"
|
||||
|
||||
DEPEND="sdl? ( media-libs/libsdl2[video] )"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
udev? ( virtual/udev )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.6.0-build.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export CC PKG_CONFIG
|
||||
export PREFIX="${EPREFIX}"/usr
|
||||
export USE_SDL=$(usex sdl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use udev; then
|
||||
rm "${ED}"/usr/bin/jscal-{re,}store || die
|
||||
fi
|
||||
|
||||
if [[ ${EPREFIX} ]]; then
|
||||
mv {"${D}","${ED}"}/lib || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user