From 57ce68a0c0cab56c3d08120e6f55c11a8c248f06 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Mon, 12 Oct 2020 08:30:54 +0000 Subject: graphics/mesa*: Update to 20.2 Update to 20.2 Move graphics/libxatracker to graphics/mesa-gallium-xa Remove VAAPI and VDPAU options in mesa-libs in favor of two new ports : mesa-gallium-va and mesa-gallium-vdpau Bump needed llvm to llvm10 Change a lot of meson option from false to disabled as it's deprecated. Remove the drm and surfaceless platform from mesa* as it's always enabled now. Add zstd option, used for shader cache. Reviewed by: x11 (zeising@) Differential Revision: https://reviews.freebsd.org/D26682 --- graphics/mesa-gallium-vdpau/Makefile | 45 +++++++++++++++++++++++++++++++++++ graphics/mesa-gallium-vdpau/pkg-descr | 9 +++++++ graphics/mesa-gallium-vdpau/pkg-plist | 13 ++++++++++ 3 files changed, 67 insertions(+) create mode 100644 graphics/mesa-gallium-vdpau/Makefile create mode 100644 graphics/mesa-gallium-vdpau/pkg-descr create mode 100644 graphics/mesa-gallium-vdpau/pkg-plist (limited to 'graphics/mesa-gallium-vdpau') diff --git a/graphics/mesa-gallium-vdpau/Makefile b/graphics/mesa-gallium-vdpau/Makefile new file mode 100644 index 000000000000..a80b4fd19377 --- /dev/null +++ b/graphics/mesa-gallium-vdpau/Makefile @@ -0,0 +1,45 @@ +# $FreeBSD$ + +PORTNAME= mesa-gallium-vdpau +PORTVERSION= ${MESAVERSION} +CATEGORIES= graphics + +COMMENT= Mesa Gallium VDPAU drivers + +USES= xorg +USE_XORG= xcb xfixes xrandr + +LIB_DEPENDS= libva.so:multimedia/libva \ + libvdpau.so:multimedia/libvdpau \ + libzstd.so:archivers/zstd +BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols + +.include +.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" + +ONLY_FOR_ARCHS= i386 amd64 aarch64 powerpc64 +ONLY_FOR_ARCHS_REASON= Used only by amd/radeon hardware + +MESON_ARGS+= -Ddri-drivers="" \ + -Dgallium-drivers="r300,r600,radeonsi" \ + -Dvulkan-drivers="" \ + -Dgallium-va=disabled \ + -Dgallium-omx=disabled \ + -Dgallium-xa=disabled \ + -Dgallium-opencl=disabled \ + -Dgallium-xvmc=disabled \ + -Dgallium-nine=false \ + -Degl=disabled \ + -Dgbm=disabled \ + -Dgles2=disabled \ + -Dglx=disabled \ + -Dopengl=false \ + -Dshared-glapi=disabled \ + -Dosmesa=none + +LDFLAGS_i386= -Wl,-znotext + +MESON_ARGS+= -Dgallium-vdpau=enabled + +.include "${MASTERDIR}/Makefile.targets" +.include diff --git a/graphics/mesa-gallium-vdpau/pkg-descr b/graphics/mesa-gallium-vdpau/pkg-descr new file mode 100644 index 000000000000..31a2390ed7c1 --- /dev/null +++ b/graphics/mesa-gallium-vdpau/pkg-descr @@ -0,0 +1,9 @@ +Mesa is a 3-D graphics library with an API which is very similar to that +of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or +state machine, it is being used with authorization from Silicon Graphics, +Inc. However, the author makes no claim that Mesa is in any way a +compatible replacement for OpenGL or associated with Silicon Graphics, Inc. + +VDPAU is a Gallium driver for video decoding on AMD hardware. + +WWW: https://www.mesa3d.org/ diff --git a/graphics/mesa-gallium-vdpau/pkg-plist b/graphics/mesa-gallium-vdpau/pkg-plist new file mode 100644 index 000000000000..ed12f5810083 --- /dev/null +++ b/graphics/mesa-gallium-vdpau/pkg-plist @@ -0,0 +1,13 @@ +lib/vdpau/libvdpau_r300.so +lib/vdpau/libvdpau_r300.so.1 +lib/vdpau/libvdpau_r300.so.1.0 +lib/vdpau/libvdpau_r300.so.1.0.0 +lib/vdpau/libvdpau_r600.so +lib/vdpau/libvdpau_r600.so.1 +lib/vdpau/libvdpau_r600.so.1.0 +lib/vdpau/libvdpau_r600.so.1.0.0 +lib/vdpau/libvdpau_radeonsi.so +lib/vdpau/libvdpau_radeonsi.so.1 +lib/vdpau/libvdpau_radeonsi.so.1.0 +lib/vdpau/libvdpau_radeonsi.so.1.0.0 +@comment share/drirc.d/00-mesa-defaults.conf -- cgit v1.2.3