[build] type = "meson" [build.flags] build_dir = "build" configure = [ "-Dtests=true", "-Dvulkan=enabled", "-Dglslang=enabled", "-Dshaderc=enabled", "-Dlcms=enabled", "-Dd3d11=disabled", "-Dlibdovi=enabled", "-Ddemos=false", ] cxxflags += [ "-I/usr/include/glslang" ] skip_tests = true # need a graphical env [dependencies] build = [ "meson", "vulkan-headers", "glad", "nuklear", "python", "python-setuptools", "python-mako", "python-markupsafe", "python-jinja", "libglvnd", ] runtime = [ "vulkan-icd-loader", "glslang", "lcms2", "shaderc", "glibc", "libunwind", "libcxx", "libdovi", "xxhash", ] [[manual_sources]] file = "fix_glslang_linking.patch" [package] description = "Reusable library for GPU-accelerated video/image rendering primitives" homepage = "https://github.com/haasn/libplacebo" license = "LGPL-2.1-or-later" name = "libplacebo" version = "7.360.1" [[source]] extract_dir = "$name-$version" patches = ["fix_glslang_linking.patch"] url = "https://code.videolan.org/videolan/libplacebo.git#v$version"