1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/x11-drivers/xf86-video-intel/Makefile
Niclas Zeising 47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00

71 lines
1.8 KiB
Makefile

# Created by: lesi@FreeBSD.org
# $FreeBSD$
PORTNAME= xf86-video-intel
PORTVERSION= ${INTEL_VERSION}
PORTREVISION= ${INTEL_REVISION}
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
COMMENT= Driver for Intel integrated graphics chipsets
ONLY_FOR_ARCHS= amd64 i386
USE_GL= gl
USE_LDCONFIG= yes
XORG_CAT= driver
USE_XORG= glproto \
pixman \
x11 \
xext \
xf86driproto \
xineramaproto \
xrender \
xvmc
.include <bsd.port.options.mk>
.if defined(WITH_NEW_XORG)
INTEL_VERSION= 2.21.15
INTEL_REVISION= 1
CONFIGURE_ENV+= xorg_cv_cc_flag__Wno_maybe_uninitialized=no
CONFIGURE_ARGS+= --enable-sna
MAKE_JOBS_UNSAFE=yes
PLIST_SUB+= OLD="@comment "
EXTRA_PATCHES+= ${PATCHDIR}/extra-src__sna__sna_threads.c \
${PATCHDIR}/extra-src_sna_kgem.c \
${PATCHDIR}/extra-clang \
${PATCHDIR}/extra-i915kms
LIB_DEPENDS+= libxcb-util.so:${PORTSDIR}/x11/xcb-util
.else
INTEL_VERSION= 2.7.1
INTEL_REVISION= 6
PLIST_SUB+= OLD=""
EXTRA_PATCHES+= ${PATCHDIR}/extra-src_ch7017_ch7017.c \
${PATCHDIR}/extra-src_i830_render.c \
${PATCHDIR}/extra-src_ch7xxx_ch7xxx.c \
${PATCHDIR}/extra-src_i830_video.c \
${PATCHDIR}/extra-src_i810_driver.c \
${PATCHDIR}/extra-src_i915_hwmc.c \
${PATCHDIR}/extra-src_i810_hwmc.c \
${PATCHDIR}/extra-src_i915_render.c \
${PATCHDIR}/extra-src_i810_video.c \
${PATCHDIR}/extra-src_i965_render.c \
${PATCHDIR}/extra-src_i830_dri.c \
${PATCHDIR}/extra-src_ivch_ivch.c \
${PATCHDIR}/extra-src_i830_driver.c \
${PATCHDIR}/extra-src_sil164_sil164.c \
${PATCHDIR}/extra-src_i830_dvo.c \
${PATCHDIR}/extra-src_tfp410_tfp410.c \
${PATCHDIR}/extra-src_i830_i2c.c \
${PATCHDIR}/extra-uxa_uxa-priv.h
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libIntelXvMC.so.1
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libI810XvMC.so.1
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xorg/modules/drivers/intel_drv.so
.include <bsd.port.mk>