freebsd-ports/x11-drivers/xorg-drivers/Makefile
Niclas Zeising 4b9c697c26 Update xorg x11 servers to 1.20.7
Update xorg x11 servers to 1.20.7.  This updates x11-servers/xorg-server,
xephyr, xorg-dmx, xorg-nestserver, xorg-vbserver and xwayland.

Enable the UDEV backend by default, instead of the DEVD backend, for
autoconfiguration of input devices on FreeBSD 12 and later.
FreeBSD 11 lacks the needed support in base and will keep on using the DEVD
backend.
Support for the HAL backend is dropped completely, it has been deprecated
for a long time.
Update and improve the DEVD backend.
Add a pkg message about sysctl configuration that might be needed when using
UDEV.

Use the upstream fix for glamour issues.

Use evdev xkb rules by default in xwayland [2]

Add x11-drivers/xf86-input-libinput to the list installed by default by
x11-drivers/xorg-drivers.

Fix net/tigervnc-server and emulators/virtualbox-ose

Bump portrevision of all x11 drivers, as well as other ports dependent on
xorg-server.

This represents work by many people over a long period.  These include
wulf, ak, dumbbell, hselasky pete AT nomadlogic DOT org, jbeich, manu,
myself and possibly others (I tried to look through history, but might have
missed people. If so, I am sorry.)

PR:             196678 [1], 244129 [2]
Submitted by:   hselasky, wulf [1], jbeich [2]
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20 (in part)
2020-02-20 21:15:44 +00:00

115 lines
2.2 KiB
Makefile

# $FreeBSD$
PORTNAME= xorg-drivers
PORTVERSION= 7.7
PORTREVISION= 6
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
COMMENT= X.org drivers meta-port
VIDEODIR= ${LOCALBASE}/lib/xorg/modules/drivers
INPUTDIR= ${LOCALBASE}/lib/xorg/modules/input
USES= metaport
INPUT_DRIVERS= egalax \
elographics \
evdev \
joystick \
keyboard \
libinput \
mouse \
synaptics \
void \
wacom
VIDEO_DRIVERS= apm \
ark \
ast \
chips \
cirrus \
dummy \
glint \
i128 \
i740 \
mach64 \
mga \
neomagic \
nv \
openchrome \
r128 \
rendition \
s3 \
s3virge \
savage \
scfb \
siliconmotion \
sis \
tdfx \
trident \
tseng \
vesa \
voodoo
OPTIONS_DEFAULT= KEYBOARD \
LIBINPUT \
MOUSE \
SCFB
.for type in input video
. for a in ${${type:tu}_DRIVERS}
OPTIONS_DEFINE+= ${a:tu}
${a:tu}_DESC= Install ${a} ${type} driver
. endfor
.endfor
OPTIONS_DEFINE_amd64= AMDGPU ATI INTEL VMMOUSE VMWARE
OPTIONS_DEFAULT_amd64= VESA
OPTIONS_DEFINE_i386:= ${OPTIONS_DEFINE_amd64} GEODE
OPTIONS_DEFAULT_i386:= ${OPTIONS_DEFAULT_amd64}
OPTIONS_DEFINE_sparc64= SUNFFB
OPTIONS_DEFAULT_sparc64=SUNFFB
AMDGPU_DESC= Install amdgpu video driver
ATI_DESC= Install ati (radeon) video driver
GEODE_DESC= Install geode video driver
INTEL_DESC= Install intel video driver
SUNFFB_DESC= Install sunffb video driver
VMMOUSE_DESC= Install vmmouse input driver
VMWARE_DESC= Install vmware video driver
# these drivers have a different module name compared to the plugin they install
QUIRKS= keyboard:kbd
.include <bsd.port.options.mk>
# Manual add arch specific drivers so they be added to depend lines.
.if ${ARCH}==i386 || ${ARCH}==amd64
INPUT_DRIVERS+= vmmouse
VIDEO_DRIVERS+= amdgpu ati intel vmware
.endif
.if ${ARCH}==i386
VIDEO_DRIVERS+= geode
.endif
.if ${ARCH}==sparc64
VIDEO_DRIVERS+= sunffb
.endif
.for type in input video
. for i in ${${type:tu}_DRIVERS}
. if ${PORT_OPTIONS:M${i:tu}} != ""
. if ${QUIRKS:M${i}\:*:C/.*://} != ""
RUN_DEPENDS+= ${${type:tu}DIR}/${QUIRKS:M${i}\:*:C/.*://}_drv.so:x11-drivers/xf86-${type}-${i}
. else
RUN_DEPENDS+= ${${type:tu}DIR}/${i}_drv.so:x11-drivers/xf86-${type}-${i}
. endif
. endif
. endfor
.endfor
.include <bsd.port.mk>