ports/125872: New port: devel/libgamepad Uniform API for joysticks and gamepads
Jason Bacon
jwbacon at tds.net
Tue Jul 22 15:30:03 UTC 2008
>Number: 125872
>Category: ports
>Synopsis: New port: devel/libgamepad Uniform API for joysticks and gamepads
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 22 15:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Jason Bacon
>Release: 6.3-RELEASE
>Organization:
NA
>Environment:
FreeBSD sculpin.tds.net 6.3-RELEASE FreeBSD 6.3-RELEASE #1: Mon Feb 25 18:34:05 CST 2008 bacon at sculpin.tds.net:/usr/obj/usr/src/sys/SCULPIN i386
>Description:
Libgamepad is a portable, uniform API for joystick and gamepad devices. It's meant to overlay platform-dependent interfaces just as the BSD joy and uhid drivers, and the user-space libhid. This will allow device and platform dependencies to be left out of applications, making them simpler and more portable.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# devel/libgamepad
# devel/libgamepad/Makefile
# devel/libgamepad/distinfo
# devel/libgamepad/pkg-descr
# devel/libgamepad/pkg-plist
#
echo c - devel/libgamepad
mkdir -p devel/libgamepad > /dev/null 2>&1
echo x - devel/libgamepad/Makefile
sed 's/^X//' >devel/libgamepad/Makefile << 'END-of-devel/libgamepad/Makefile'
X# New ports collection makefile for: libgamepad
X# Date created: Jul 2008
X# Whom: Jason Bacon <jwbacon at tds.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= libgamepad
XPORTVERSION= 0.1
XCATEGORIES= devel games
XMASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
X http://jbacon.dyndns.org/~bacon/Ports/distfiles/
X
XMAINTAINER= jwbacon at tds.net
XCOMMENT= Generic gamepad API
X
XUSE_LDCONFIG= yes
X
XMAN3= libgamepad.3
X
X.include <bsd.port.mk>
END-of-devel/libgamepad/Makefile
echo x - devel/libgamepad/distinfo
sed 's/^X//' >devel/libgamepad/distinfo << 'END-of-devel/libgamepad/distinfo'
XMD5 (libgamepad-0.1.tar.gz) = 64782133f916091da43b4bd580f55cf6
XSHA256 (libgamepad-0.1.tar.gz) = 9e22ce771d349102b29bd49fc7bc6572ee9a9aa35f73ff7ab52a082ca05bda1b
XSIZE (libgamepad-0.1.tar.gz) = 12270
END-of-devel/libgamepad/distinfo
echo x - devel/libgamepad/pkg-descr
sed 's/^X//' >devel/libgamepad/pkg-descr << 'END-of-devel/libgamepad/pkg-descr'
XLibgamepad is an API for various gamepad devices under Unix. The goal is
Xto provide both abstract and device-dependent interfaces for various joystick
Xand gamepad devices. The library interfaces with multiple lower-level
Xinterfaces, such as the BSD "joy" and "usbhid" drivers, as well as
Xthe user-space "libhid", which in turn overlays "libusb".
END-of-devel/libgamepad/pkg-descr
echo x - devel/libgamepad/pkg-plist
sed 's/^X//' >devel/libgamepad/pkg-plist << 'END-of-devel/libgamepad/pkg-plist'
Xbin/gamepad_test
Xinclude/libgamepad/gamepad.h
Xinclude/libgamepad/gamepad_analog.h
Xinclude/libgamepad/gamepad_libhid.h
Xinclude/libgamepad/gamepad_usbhid.h
Xlib/libgamepad.so.1
Xlib/libgamepad.so
X at dirrm include/libgamepad
END-of-devel/libgamepad/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list