Changeset View
Changeset View
Standalone View
Standalone View
head/x11-drivers/xf86-video-amdgpu/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
# this port is for future amdgpu kernel support testing. | # this port is for future amdgpu kernel support testing. | ||||
PORTNAME= xf86-video-amdgpu | PORTNAME= xf86-video-amdgpu | ||||
PORTVERSION= 1.2.0 | PORTVERSION= 1.2.0 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= x11-drivers | CATEGORIES= x11-drivers | ||||
MAINTAINER= x11@FreeBSD.org | MAINTAINER= x11@FreeBSD.org | ||||
COMMENT= X.Org amdgpu display driver | COMMENT= X.Org amdgpu display driver | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
LIB_DEPENDS= libdrm_amdgpu.so:graphics/libdrm | LIB_DEPENDS= libdrm_amdgpu.so:graphics/libdrm | ||||
USE_GL= gbm | USE_GL= gbm | ||||
XORG_CAT= driver | XORG_CAT= driver | ||||
INSTALL_TARGET= install-strip | |||||
# No amdgpu kernel driver on non-x86 and PC98. | # No amdgpu kernel driver on non-x86 and PC98. | ||||
ONLY_FOR_ARCHS= i386 amd64 | ONLY_FOR_ARCHS= i386 amd64 | ||||
ONLY_FOR_ARCHS_REASON= KMS is required and currently only available on x86 | |||||
CONFIGURE_ARGS+=--disable-udev | CONFIGURE_ARGS+=--disable-udev | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if (${OSVERSION} < 1200019) | .if (${OSVERSION} < 1200019) | ||||
IGNORE= not support on 11.x or older, no kernel support | IGNORE= not supported on 11.x or older, no kernel support | ||||
.endif | .endif | ||||
PLIST_FILES= lib/xorg/modules/drivers/amdgpu_drv.so \ | PLIST_FILES= lib/xorg/modules/drivers/amdgpu_drv.so \ | ||||
man/man4/amdgpu.4x.gz \ | man/man4/amdgpu.4x.gz \ | ||||
share/X11/xorg.conf.d/10-amdgpu.conf | share/X11/xorg.conf.d/10-amdgpu.conf | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |