Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147399160
D55798.id173507.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D55798.id173507.diff
View Options
diff --git a/graphics/Makefile b/graphics/Makefile
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -170,6 +170,7 @@
SUBDIR += ebsynth
SUBDIR += edje_viewer
SUBDIR += egl-wayland
+ SUBDIR += egl-wayland2
SUBDIR += egl-x11
SUBDIR += eglexternalplatform
SUBDIR += elastix
diff --git a/graphics/egl-wayland2/Makefile b/graphics/egl-wayland2/Makefile
new file mode 100644
--- /dev/null
+++ b/graphics/egl-wayland2/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= egl-wayland2
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0.1
+CATEGORIES= graphics
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= Dma-buf-based Wayland external platform library
+WWW= https://github.com/NVIDIA/egl-wayland2
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= eglexternalplatform>=1.2:graphics/eglexternalplatform \
+ ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \
+ wayland-protocols>=1.8:graphics/wayland-protocols
+LIB_DEPENDS= libdrm.so:graphics/libdrm \
+ libwayland-server.so:graphics/wayland
+
+USES= gl meson pkgconfig
+USE_GITHUB= yes
+USE_GL= egl gbm
+USE_LDCONFIG= yes
+GH_ACCOUNT= NVIDIA
+
+PLIST_SUB= DISTVERSION=${DISTVERSION}
+
+post-patch:
+ @${REINPLACE_CMD} -e "/install/s/datadir')/prefix'), 'libdata'/" \
+ ${WRKSRC}/meson.build
+
+.include <bsd.port.mk>
diff --git a/graphics/egl-wayland2/distinfo b/graphics/egl-wayland2/distinfo
new file mode 100644
--- /dev/null
+++ b/graphics/egl-wayland2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1772821408
+SHA256 (NVIDIA-egl-wayland2-v1.0.1_GH0.tar.gz) = 1d8f154e69b3055cb20f5eddda0fa438aea292e6ef835b129cd2efaae5eb95fc
+SIZE (NVIDIA-egl-wayland2-v1.0.1_GH0.tar.gz) = 80780
diff --git a/graphics/egl-wayland2/pkg-descr b/graphics/egl-wayland2/pkg-descr
new file mode 100644
--- /dev/null
+++ b/graphics/egl-wayland2/pkg-descr
@@ -0,0 +1,9 @@
+This is a new implementation of a EGL External Platform Library for Wayland
+(EGL_KHR_platform_wayland), using the NVIDIA driver's new platform surface
+interface, which simplifies a lot of the library and improves window resizing.
+
+This library implements an EGL External Platform interface to work
+along with EGL drivers that support the external platform mechanism.
+
+Minimum required version of nvidia-driver for this is 560.
+Any of legacy versions are not supported.
diff --git a/graphics/egl-wayland2/pkg-plist b/graphics/egl-wayland2/pkg-plist
new file mode 100644
--- /dev/null
+++ b/graphics/egl-wayland2/pkg-plist
@@ -0,0 +1,4 @@
+lib/libnvidia-egl-wayland2.so
+lib/libnvidia-egl-wayland2.so.1
+lib/libnvidia-egl-wayland2.so.%%DISTVERSION%%
+share/egl/egl_external_platform.d/09_nvidia_wayland2.json
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 4:10 PM (3 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29543543
Default Alt Text
D55798.id173507.diff (2 KB)
Attached To
Mode
D55798: graphics/egl-wayland2: Add new port
Attached
Detach File
Event Timeline
Log In to Comment