libplaceboReusable library for GPU-accelerated video/image rendering
7.387.0graphicsΣ=10 7.360.1Version of this port present on the latest quarterly branch.upstream: v8.3.3A newer version was found upstream by portscout, first on 2026-11-01.
libplacebo is essentially the core rendering algorithms and ideas of
mpv turned into a library. This grew out of an interest to accomplish
the following goals:
- Clean up mpv's internal rendering abstraction API and make it
reusable for other projects.
- Provide a standard library of useful GPU-accelerated image processing
primitives based on GLSL, so projects like VLC or Firefox can use them
without incurring a heavy dependency on libmpv.
- Rewrite core parts of mpv's GPU-accelerated video renderer on top of
redesigned abstractions. (Basically, I wanted to eliminate stateful APIs like
shader_cache.c and totally redesign gpu/video.c)
===> The following configuration options are available for libplacebo-7.387.0:
LCMS2=on: Little CMS 2.x support
LIBUNWIND=on: Use libunwind for stacktraces
OPENGL=on: 2D/3D rendering support via OpenGL
TEST=off: Build and/or run tests
VULKAN=on: Vulkan-based renderer
XXHASH=on: Faster replacement for internal siphash
====> Vulkan-based renderer: you have to select exactly one of them
GLSLANG=off: glslang SPIR-V compiler
SHADERC=on: libshaderc SPIR-V compiler
===> Use 'make config' to modify these settings
graphics/libplacebo: unbreak GLSLANG build after 1697360b7726
src/glsl/meson.build:52:16: ERROR: C++ static library 'SPIRV' not found
PR: 294727
Reported by: Ivan Rozhuk
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
graphics/libplacebo: unbreak GLSLANG=on after 1801dc29cec9
compiler.find_library(static: true) ignores LDFLAGS and LIBRARY_PATH
as Meson uses --print-search-dirs instead of trying to link.
src/glsl/meson.build:34:4: ERROR: C++ static library 'SPIRV' not found
src/glsl/meson.build:45:12: ERROR: C++ static library 'MachineIndependent' not
found
PR: 270221
Reported by: Philipp Ost
Regressed
by: https://code.videolan.org/videolan/libplacebo/-/commit/980f2574aa0f
graphics/libplacebo: unbreak with --auto-features=enabled
src/d3d11/meson.build:3:0: ERROR: C header 'd3d11_4.h' not usable
src/meson.build:148:0: ERROR: Dependency "dovi" not found, tried pkgconfig and
cmake
PR: 270361
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 )
devel/vulkan-*: move to graphics/ where vulkan-loader is
Vulkan isn't used for generic compute workloads unlike OpenCL.
For example, waifu2x-ncnn-vulkan is still graphics-related.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Add option helper for MESON_ARGS = -Dfoo=enabled
feature options define combo like auto/yes/no in a standand way.
In other words, upstream projects of ports that use _MESON_YES are
supposed to migrate to _MESON_ENABLED.
https://mesonbuild.com/Build-options.html#features
Reviewed by: tobik (implicit)
Approved by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D19127