New port sysutils/jstest-gtk: simple joystick tester based on Gtk+.

PR:		231218
Submitted by:	Ivan Rozhuk <rozhuk.im@gmail.com>
This commit is contained in:
Eugene Grosbein 2018-11-06 19:15:39 +00:00
parent 08b4de5500
commit c344067c96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484317
6 changed files with 62 additions and 0 deletions

View file

@ -550,6 +550,7 @@
SUBDIR += jkill
SUBDIR += jobd
SUBDIR += jps
SUBDIR += jstest-gtk
SUBDIR += jtop
SUBDIR += jtopen
SUBDIR += jvmtop

View file

@ -0,0 +1,35 @@
# $FreeBSD$
PORTNAME= jstest-gtk
PORTVERSION= 20180710
CATEGORIES= sysutils
MAINTAINER= rozhuk.im@gmail.com
COMMENT= Simple joystick tester based on Gtk+
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake pkgconfig libtool localbase:ldflags
USE_GNOME= gtkmm30 libsigc++20
INSTALLS_ICONS= yes
# gitlab variables
USE_GITLAB= yes
GL_ACCOUNT= jstest-gtk
GL_COMMIT= 62f6e2d7d44620e503149510c428df9e004c9f3b
post-extract:
@${MKDIR} ${WRKSRC}/src/linux/
@${CP} -f ${FILESDIR}/input.h ${WRKSRC}/src/linux/
@${CP} -f ${FILESDIR}/input-event-codes.h ${WRKSRC}/src/linux/
@${CP} -f ${FILESDIR}/joystick.h ${WRKSRC}/src/linux/
@${CP} -f ${FILESDIR}/types.h ${WRKSRC}/src/linux/
post-patch:
@${REINPLACE_CMD} -e \
's|include_directories(SYSTEM|include_directories("$${CMAKE_CURRENT_SOURCE_DIR}/src" SYSTEM|g' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1536313445
SHA256 (jstest-gtk-jstest-gtk-62f6e2d7d44620e503149510c428df9e004c9f3b_GL0.tar.gz) = 3e0b8b02b818582b6c532feaa35c51e59dee1e38399d861436ad8b7e043fd0fb
SIZE (jstest-gtk-jstest-gtk-62f6e2d7d44620e503149510c428df9e004c9f3b_GL0.tar.gz) = 81302

View file

@ -0,0 +1,6 @@
jstest-gtk is a simple joystick tester based on Gtk+. It provides you
with a list of attached joysticks, a way to display which buttons and
axis are pressed, a way to remap axis and buttons and a way to
calibrate your joystick.
WWW: https://jstest-gtk.gitlab.io/

View file

@ -0,0 +1,7 @@
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Do not forget install webcamd with joystick support and run it,
/dev/input/js* device is required.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

View file

@ -0,0 +1,10 @@
bin/jstest-gtk
libexec/jstest-gtk
man/man1/jstest-gtk.1.gz
share/applications/jstest-gtk.desktop
share/icons/hicolor/scalable/apps/jstest-gtk.svg
%%DATADIR%%/PS3.png
%%DATADIR%%/generic.png
%%DATADIR%%/xbox360.png
%%DATADIR%%/xbox360_small.png
share/metainfo/jstest-gtk.appdata.xml