The libplacebo package contains a library for processing image and video primitives and shaders. It also includes a high quality rendering pipeline that supports OpenGL and Vulkan.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/haasn/libplacebo/archive/v7.351.0/libplacebo-7.351.0.tar.gz
Download MD5 sum: 2bd64e3591e4689b29669cd915aa22a4
Download size: 832 KB
Estimated disk space required: 36 MB
Estimated build time: 0.1 SBU (With tests, both using parallelism=4)
Glslang-15.4.0 and Vulkan-Loader-1.4.321
Little CMS-2.17 libunwind-1.8.2, dovi_tool, Nuklear, and xxHash
First, fix an incompatibility with Python-3.13.6 and later:
sed -e '204a\ tree = ET.parse(xmlfile)' \ -e 's/VkXML(ET.parse(xmlfile))/VkXML(tree.getroot())/' \ -i src/vulkan/utils_gen.py
Install libplacebo by running the following commands:
mkdir build && cd build && meson setup .. \ --prefix=/usr \ --buildtype=release \ -D tests=true \ -D demos=false && ninja
To test the results, issue: ninja test. One test, opengl_surfaceless.c, is known to fail.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D demos=false
: This switch
disables building the demo programs because building plplay is currently broken.
-D tests=true
: This switch
enables building the code necessary to run the tests.