33 lines
979 B
Makefile
33 lines
979 B
Makefile
# this port is for future amdgpu kernel support testing.
|
|
|
|
PORTNAME= xf86-video-amdgpu
|
|
DISTVERSION= 25.0.0
|
|
CATEGORIES= x11-drivers
|
|
|
|
PATCH_SITES= https://gitlab.freedesktop.org/xorg/driver/${PORTNAME}/-/commit/
|
|
PATCHFILES+= 77b13493.patch:-p1 # https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/merge_requests/77
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= X.Org amdgpu display driver
|
|
WWW= https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
# No amdgpu kernel driver on non-x86 and PC98.
|
|
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64le
|
|
ONLY_FOR_ARCHS_REASON= KMS is required and currently only available on x86/arm64/powerpc64le
|
|
|
|
LIB_DEPENDS= libdrm_amdgpu.so:graphics/libdrm \
|
|
libudev.so:devel/libudev-devd
|
|
|
|
USES= gl pkgconfig xorg-cat:driver,meson
|
|
|
|
USE_GL= gbm
|
|
|
|
PLIST_FILES= lib/xorg/modules/drivers/amdgpu_drv.so \
|
|
share/X11/xorg.conf.d/10-amdgpu.conf \
|
|
share/man/man4/amdgpu.4.gz
|
|
|
|
.include <bsd.port.mk>
|