mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3fb4b981ae
Most important changes: * USB transport backend is stable now and included in to port. It is disabled by default as it has greater priority than OS drivers. * hcons - Consumer page AKA Multimedia keys and hsctrl - System control page AKA Power keys drivers are added. They should replace sysutils/uhidd port that became unusable since recent X11 switchover to evdev. * hidraw - Exports raw HID data in uhid(4) and Linux hidraw-compatible way. Take maintainership, as suggested by imp@ PR: 247787 Submitted by: Miguel Gocobachi <miguel@gocobachi.dev> Reviewed by: koobs (ports) Approved by: koobs (ports), imp (maintainer) Differential Revision: https://reviews.freebsd.org/D25538
42 lines
944 B
Makefile
42 lines
944 B
Makefile
# Created by: jrhett@netconsonance.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= iichid
|
|
DISTVERSION= 0.0.3
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= wulf@FreeBSD.org
|
|
COMMENT= Generic FreeBSD HID layer for I2C and USB devices
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
IGNORE_FreeBSD_11= Requires FreeBSD 12.1 or later
|
|
ONLY_FOR_ARCHS= aarch64 amd64 i386
|
|
ONLY_FOR_ARCHS_REASON= I2C transport requires architecture supporting ACPI
|
|
|
|
USES= kmod uidfix
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= wulf7
|
|
|
|
# Strip -Werror from sys/conf/kmod.mk
|
|
MAKE_ENV= WERROR=""
|
|
|
|
PLIST_FILES= ${KMODDIR}/iichid.ko
|
|
|
|
# USB backend is disabled by default as it interferes with existing USB drivers
|
|
OPTIONS_DEFINE= DEBUG I2C USB
|
|
OPTIONS_DEFAULT= I2C
|
|
I2C_DESC= HID over I2C support
|
|
USB_DESC= HID over USB support
|
|
|
|
I2C_MAKE_ARGS_OFF= -DDISABLE_I2CHID
|
|
USB_MAKE_ARGS_OFF= -DDISABLE_USBHID
|
|
|
|
post-patch-DEBUG-off:
|
|
${REINPLACE_CMD} -e '/iichid_debug =/s/1/0/' ${WRKSRC}/iichid.c
|
|
|
|
.include <bsd.port.mk>
|