Skip to content
Snippets Groups Projects
Commit dda4f1f9 authored by Jan Beich's avatar Jan Beich
Browse files

graphics/libplacebo: switch d5d48006 to upstream fix

parent 7817c5e1
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,9 @@ DISTVERSION= 5.229.2
PORTREVISION= 1
CATEGORIES= graphics
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= baec0e53c959.patch:-p1 # https://code.videolan.org/videolan/libplacebo/-/issues/249
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Reusable library for GPU-accelerated video/image rendering
WWW= https://code.videolan.org/videolan/libplacebo
......@@ -17,9 +20,6 @@ USE_LDCONFIG= yes
GH_ACCOUNT= haasn
MESON_ARGS= -Ddemos=false
# XXX https://code.videolan.org/videolan/libplacebo/-/issues/249
GH_TUPLE+= KhronosGroup:Vulkan-Headers:v1.3.240:vkheaders/3rdparty/Vulkan-Headers
OPTIONS_DEFINE= LCMS2 LIBUNWIND OPENGL TEST VULKAN
OPTIONS_DEFAULT=LCMS2 LIBUNWIND OPENGL SHADERC
OPTIONS_SINGLE= VULKAN
......
TIMESTAMP = 1672849094
SHA256 (haasn-libplacebo-v5.229.2_GH0.tar.gz) = 1c67bec76832c7a42242570798cc96a3f58a70be79daa84ade628d5bce749c84
SIZE (haasn-libplacebo-v5.229.2_GH0.tar.gz) = 673761
SHA256 (KhronosGroup-Vulkan-Headers-v1.3.240_GH0.tar.gz) = 98734513f4847254ef5bdd31a9c897f64938dac0733b9aea9e4b3fd339d82281
SIZE (KhronosGroup-Vulkan-Headers-v1.3.240_GH0.tar.gz) = 1810650
SHA256 (Dav1dde-glad-v2.0.1_GH0.tar.gz) = bbdfb8a2c8ea7fbad747dd91424fc9fc7bb22e1b95c7a5b451e68c3d9bd96d95
SIZE (Dav1dde-glad-v2.0.1_GH0.tar.gz) = 581028
SHA256 (baec0e53c959.patch) = 9a76a9f79658fef0bc41c3633cda2238c7ea7ea4606a21cd57c8745bc49a720b
SIZE (baec0e53c959.patch) = 5828
Workaround for https://code.videolan.org/videolan/libplacebo/-/issues/249
--- src/vulkan/meson.build.orig 2023-01-04 16:18:14 UTC
+++ src/vulkan/meson.build
@@ -4,17 +4,10 @@ registry_xml = get_option('vulkan-registry')
vulkan_headers = disabler()
registry_xml = get_option('vulkan-registry')
-if vulkan_loader.found()
- vulkan_headers = vulkan_loader.partial_dependency(includes: true, compile_args: true)
-# Probe for <vulkan/vulkan.h> as a fallback for the vulkan headers
-elif cc.has_header_symbol('vulkan/vulkan_core.h', 'VK_VERSION_1_2')
- vulkan_headers = declare_dependency()
-elif fs.is_dir(thirdparty/'Vulkan-Headers/include')
vulkan_inc = include_directories('../../3rdparty/Vulkan-Headers/include')
vulkan_headers = declare_dependency(include_directories: vulkan_inc)
# Force the use of this vk.xml because it has to be in sync with the headers
registry_xml = thirdparty/'Vulkan-Headers/registry/vk.xml'
-endif
build_deps += vulkan_headers
if not vulkan_headers.found()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment