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.
VA is a Gallium driver for video decoding on AMD hardware.
===> The following configuration options are available for mesa-gallium-va-25.2.8:
X11=on: Enable X11 support
====> Gallium Video Drivers
radeonsi=on: AMD/ATI Southern Islands and newer
r600=on: AMD/ATI R600, R700, Evergreen, Northern Islands
===> Use 'make config' to modify these settings
graphics/mesa-gallium-{va,vdpau}: Turn gallium drivers into options
While here bring back i386 support but only for the r600 driver as amdgpu
isn't supported on this arch.
Requested by: danfe, jbeich
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/mesa-gallium-{va,vdpau}: Drop i386 support
We've never supported amdgpu for i386 in drm-*-kmod so no need for video
decoding support.
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/mesa: Unbreak on !amd64
Disable intel-rt for all arches except amd64 as it's only supported there.
PR: 280979
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/mesa: Remove Makefile.targets
This was only used to specify directory for drirc.d but the default one
works fine.
No functional changes intended.
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/mesa-gallium-va: Remove libva from LIB_DEPENDS
This port provides a lib for libva to use, not the other way
around so add it to BUILD_DEPENDS
Differential Revision: https://reviews.freebsd.org/D44829
PR: 278324
Reported by: autodep
Reviewed by: bapt
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/mesa*: Drop llvm,noexport in Makefile.common
And put noexport in every mesa ports.
It does work to have multiple USES= llvm (see PR 199603).
Reported by: jbeich
Fixes: fa7309cb976e ("lang/clover: Restrict llvm to max version 16")
Sponsored by: Beckhoff Automation GmbH & Co. KG
lang/clover: Restrict llvm to max version 16
Clover cannot (yet?) be compiled with LLVM17, it misses
llvm/Transforms/IPO/PassManagerBuilder.h
For now set a max version of llvm to 16 for clover only, people should still
be able to use llvm17 for other mesa componant if they are not interested in
clover.
While here clean up a bit the USES=llvm for mesa port, we already set noexport
in mesa-dri/Makefile.common so no need to set it in all the ports.
Sponsored by: Beckhoff Automation GmbH & Co. KG
PR: 275290
graphics/mesa: update to 23.1.8
While here:
- Remove some unneeded dep in gallium-vdpau
- Disable libelf from devel/elfutils (we will fallback on base libelf), PR
273803
- Always disable libunwind, if you want stacktrace you will need to compile from
upstream PR: 250306
- enable vulkan haswell driver
Co-authored-by: manu, vishwin
PR: 273703, 273803, 250306
graphics/mesa: Stop adding libglapi.so as a deps when not needed
Not every mesa port needs this lib so stop adding a dep on it if not needed.
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/mesa: Do not add USE_LDCONFIG for every mesa ports
Not every mesa ports provides shared libraries intented for dynamic uses
so stop running ldconfig script for those ports.
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/mesa*: Stop using meson native-file
Use BINARY_ALIAS instead, this is cleaner.
While here directly record the deps on libLLVM for packages that
needs it.
Sponsored by: Beckhoff Automation GmbH & Co. KG
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Style: improve ONLY_FOR_ARCHS_REASON (grammar, markup, etc.)
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.
While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names.
mesa*: Update to 21.1.5
- swrast is only a gallium driver now.
- Bump needed llvm to 12
- libclc is still a llvm10, moving to >10 needs to change
from where we pick libclc as its now part of llvm
Differential Revision: https://reviews.freebsd.org/D31165
Reviewed by: kbowling, zeising
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
mesa-*: Update to 20.2.3
- Fix mesa-gallium-va and mesa-gallium-vdpau for X11 usage
- Add a patch so iris will be prefered for compatible intel GPUs (>=broadwell)
PR: 250307250325
graphics/mesa*: Add Iris Gallium driver and libunwind for more arch
Iris is the prefered gallium driver for Intel Gen8 to Gen11, add it
to the build. [1]
Add libunwind support for more arch. [2]
PR: 250307 [1], 250305 [2]
Submitted by: jbeich [2]
Reported by: jbeich [1]
Reviewed by: zeising
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