mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
x11-servers/xwayland-devel: expose x11/nvidia-driver support
Disabled for now as runtime wasn't tested. EGLStreams is supported by x11-wm/mutter and x11-wm/plasma5-kwin.
This commit is contained in:
parent
ee9d838b41
commit
87762c1bbc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526006
@ -146,6 +146,8 @@
|
||||
SUBDIR += dynamechs
|
||||
SUBDIR += ebsynth
|
||||
SUBDIR += edje_viewer
|
||||
SUBDIR += egl-wayland
|
||||
SUBDIR += eglexternalplatform
|
||||
SUBDIR += electricsheep
|
||||
SUBDIR += embree
|
||||
SUBDIR += enblend
|
||||
|
30
graphics/egl-wayland/Makefile
Normal file
30
graphics/egl-wayland/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= egl-wayland
|
||||
DISTVERSION= 1.1.4
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
COMMENT= EGLStream-based Wayland external platform
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= eglexternalplatform>=1.1:graphics/eglexternalplatform
|
||||
LIB_DEPENDS= libwayland-server.so:graphics/wayland
|
||||
|
||||
USES= gl meson pkgconfig
|
||||
USE_GITHUB= yes
|
||||
USE_GL= egl
|
||||
GH_ACCOUNT= NVIDIA
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "/install/s/datadir')/prefix'), 'libdata'/" \
|
||||
${WRKSRC}/meson.build
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/egl/egl_external_platform.d
|
||||
${INSTALL_DATA} ${FILESDIR}/10_nvidia_wayland.json \
|
||||
${STAGEDIR}${PREFIX}/share/egl/egl_external_platform.d
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/egl-wayland/distinfo
Normal file
3
graphics/egl-wayland/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1570655351
|
||||
SHA256 (NVIDIA-egl-wayland-1.1.4_GH0.tar.gz) = b3cfb99803a0324478f0824e35521a42ade118e7c11aa9a6829a2dc82ca2453c
|
||||
SIZE (NVIDIA-egl-wayland-1.1.4_GH0.tar.gz) = 48479
|
6
graphics/egl-wayland/files/10_nvidia_wayland.json
Normal file
6
graphics/egl-wayland/files/10_nvidia_wayland.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"file_format_version" : "1.0.0",
|
||||
"ICD" : {
|
||||
"library_path" : "libnvidia-egl-wayland.so.1"
|
||||
}
|
||||
}
|
8
graphics/egl-wayland/pkg-descr
Normal file
8
graphics/egl-wayland/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
This is a work-in-progress implementation of a EGL External Platform
|
||||
library to add client-side Wayland support to EGL on top of EGLDevice
|
||||
and EGLStream families of extensions.
|
||||
|
||||
This library implements an EGL External Platform interface to work
|
||||
along with EGL drivers that support the external platform mechanism.
|
||||
|
||||
WWW: https://github.com/NVIDIA/egl-wayland
|
8
graphics/egl-wayland/pkg-plist
Normal file
8
graphics/egl-wayland/pkg-plist
Normal file
@ -0,0 +1,8 @@
|
||||
lib/libnvidia-egl-wayland.so
|
||||
lib/libnvidia-egl-wayland.so.1
|
||||
lib/libnvidia-egl-wayland.so.1.1.4
|
||||
libdata/pkgconfig/wayland-eglstream-protocols.pc
|
||||
libdata/pkgconfig/wayland-eglstream.pc
|
||||
share/egl/egl_external_platform.d/10_nvidia_wayland.json
|
||||
share/wayland-eglstream/wayland-eglstream-controller.xml
|
||||
share/wayland-eglstream/wayland-eglstream.xml
|
28
graphics/eglexternalplatform/Makefile
Normal file
28
graphics/eglexternalplatform/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= eglexternalplatform
|
||||
DISTVERSION= 1.1
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
COMMENT= EGL External Platform interface
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= NVIDIA
|
||||
NO_BUILD= yes
|
||||
PLIST_FILES= include/EGL/${PORTNAME}.h \
|
||||
include/EGL/${PORTNAME}version.h \
|
||||
libdata/pkgconfig/${PORTNAME}.pc
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's,/usr,${PREFIX},' ${WRKSRC}/eglexternalplatform.pc
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/EGL
|
||||
${INSTALL_DATA} ${WRKSRC}/interface/* ${STAGEDIR}${PREFIX}/include/EGL
|
||||
${INSTALL_DATA} ${WRKSRC}/*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/eglexternalplatform/distinfo
Normal file
3
graphics/eglexternalplatform/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1534447175
|
||||
SHA256 (NVIDIA-eglexternalplatform-1.1_GH0.tar.gz) = 72725c4c9dd06b4d44bceb8794e1e78f75ed8702be23201282f8f937252a6b32
|
||||
SIZE (NVIDIA-eglexternalplatform-1.1_GH0.tar.gz) = 10372
|
10
graphics/eglexternalplatform/pkg-descr
Normal file
10
graphics/eglexternalplatform/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
This is a work-in-progress specification of the EGL External Platform
|
||||
interface for writing EGL platforms and their interactions with modern
|
||||
window systems on top of existing low-level EGL platform
|
||||
implementations. This keeps window system implementation specifics out
|
||||
of EGL drivers by using application-facing EGL functions.
|
||||
|
||||
Examples of low-level EGL platforms are EGL_EXT_platform_device or
|
||||
EGL_KHR_platform_gbm.
|
||||
|
||||
WWW: https://github.com/NVIDIA/eglexternalplatform
|
@ -46,6 +46,12 @@ MESON_ARGS= -Dxwayland=true \
|
||||
-Ddefault_font_path=${NONEXISTENT}
|
||||
PLIST_FILES= bin/Xwayland
|
||||
|
||||
OPTIONS_DEFINE= NVIDIA
|
||||
|
||||
NVIDIA_DESC= EGLStream support for glamor on Xwayland
|
||||
NVIDIA_BUILD_DEPENDS= egl-wayland>0:graphics/egl-wayland
|
||||
NVIDIA_MESON_TRUE= xwayland_eglstream
|
||||
|
||||
do-install:
|
||||
# Wayland compositors only use the binary
|
||||
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/hw/xwayland/Xwayland \
|
||||
|
Loading…
Reference in New Issue
Block a user