summaryrefslogtreecommitdiff
path: root/x11-drivers/xlibre-xf86-video-vmware
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xlibre-xf86-video-vmware')
-rw-r--r--x11-drivers/xlibre-xf86-video-vmware/Makefile22
-rw-r--r--x11-drivers/xlibre-xf86-video-vmware/distinfo3
-rw-r--r--x11-drivers/xlibre-xf86-video-vmware/files/patch-src_vmware.c11
-rw-r--r--x11-drivers/xlibre-xf86-video-vmware/pkg-descr1
-rw-r--r--x11-drivers/xlibre-xf86-video-vmware/pkg-plist2
5 files changed, 39 insertions, 0 deletions
diff --git a/x11-drivers/xlibre-xf86-video-vmware/Makefile b/x11-drivers/xlibre-xf86-video-vmware/Makefile
new file mode 100644
index 000000000000..4292b6b7d138
--- /dev/null
+++ b/x11-drivers/xlibre-xf86-video-vmware/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= xlibre-xf86-video-vmware
+PORTVERSION= 25.0.0
+CATEGORIES= x11-drivers
+
+MAINTAINER= b-aazbsd@proton.me
+COMMENT= XLibre vmware display driver
+WWW= https://github.com/X11Libre/xf86-video-vmware/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS_REASON= vmware gfx protocol is only supported on x86-compatible architectures
+
+USES= xlibre-cat:driver
+
+LIB_DEPENDS+= libdrm.so:graphics/libdrm \
+ libxatracker.so:graphics/mesa-gallium-xa
+
+CONFIGURE_ARGS= --without-libudev
+
+.include <bsd.port.mk>
diff --git a/x11-drivers/xlibre-xf86-video-vmware/distinfo b/x11-drivers/xlibre-xf86-video-vmware/distinfo
new file mode 100644
index 000000000000..b74eb53cd1bf
--- /dev/null
+++ b/x11-drivers/xlibre-xf86-video-vmware/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1766154192
+SHA256 (xlibre/driver/X11Libre-xf86-video-vmware-25.0.0-xlibre-xf86-video-vmware-25.0.0_GH0.tar.gz) = 5aabf5932fe071c21f621a5bfa5bc93523cbd6ef10cef5f3ecf89bf0ea66bbb4
+SIZE (xlibre/driver/X11Libre-xf86-video-vmware-25.0.0-xlibre-xf86-video-vmware-25.0.0_GH0.tar.gz) = 175463
diff --git a/x11-drivers/xlibre-xf86-video-vmware/files/patch-src_vmware.c b/x11-drivers/xlibre-xf86-video-vmware/files/patch-src_vmware.c
new file mode 100644
index 000000000000..97c083a207d7
--- /dev/null
+++ b/x11-drivers/xlibre-xf86-video-vmware/files/patch-src_vmware.c
@@ -0,0 +1,11 @@
+--- src/vmware.c.orig 2018-05-17 07:42:24 UTC
++++ src/vmware.c
+@@ -381,7 +381,7 @@ VMWAREPreInit(ScrnInfoPtr pScrn, int fla
+ "No supported VMware SVGA found (read ID 0x%08x).\n", id);
+ return FALSE;
+ }
+- pVMWARE->suspensionSavedRegId = id;
++ pVMWARE->SavedReg.svga_reg_id = id;
+
+ #if !XSERVER_LIBPCIACCESS
+ pVMWARE->PciTag = pciTag(pVMWARE->PciInfo->bus, pVMWARE->PciInfo->device,
diff --git a/x11-drivers/xlibre-xf86-video-vmware/pkg-descr b/x11-drivers/xlibre-xf86-video-vmware/pkg-descr
new file mode 100644
index 000000000000..695beb9c08f5
--- /dev/null
+++ b/x11-drivers/xlibre-xf86-video-vmware/pkg-descr
@@ -0,0 +1 @@
+This package contains the XLibre xf86-video-vmware driver.
diff --git a/x11-drivers/xlibre-xf86-video-vmware/pkg-plist b/x11-drivers/xlibre-xf86-video-vmware/pkg-plist
new file mode 100644
index 000000000000..f194411adc00
--- /dev/null
+++ b/x11-drivers/xlibre-xf86-video-vmware/pkg-plist
@@ -0,0 +1,2 @@
+%%MODULEDIR%%/drivers/vmware_drv.so
+share/man/man4/vmware.4x.gz