mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libplacebo, bump to 7.351.0 (for glslang) (#12976)
This commit is contained in:
@@ -5,9 +5,9 @@ Supports Vulkan, OpenGL, Metal (via MoltenVK) and Direct3D 11."
|
||||
HOMEPAGE="https://libplacebo.org/"
|
||||
COPYRIGHT="2017-2022 Niklas Haas"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://code.videolan.org/videolan/libplacebo/-/archive/v${portVersion}/libplacebo-v${portVersion}.tar.bz2"
|
||||
CHECKSUM_SHA256="38c9c75d9c1bb412baf34845d1ca58c41a9804d1d0798091d7a8602a0d7c9aa6"
|
||||
CHECKSUM_SHA256="d68159280842a7f0482dcea44a440f4c9a8e9403b82eccf185e46394dfc77e6a"
|
||||
SOURCE_DIR="libplacebo-v$portVersion"
|
||||
PATCHES="libplacebo-$portVersion.patchset"
|
||||
|
||||
@@ -16,7 +16,7 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libplacebo$secondaryArchSuffix = $portVersion compat >= 7
|
||||
lib:libplacebo$secondaryArchSuffix = 349
|
||||
lib:libplacebo$secondaryArchSuffix = 351
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -29,7 +29,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libplacebo${secondaryArchSuffix}_devel = $portVersion compat >= 7
|
||||
devel:libplacebo$secondaryArchSuffix = 349
|
||||
devel:libplacebo$secondaryArchSuffix = 351
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libplacebo$secondaryArchSuffix == $portVersion base
|
||||
@@ -1,4 +1,4 @@
|
||||
From b76d9c41814b7885bc64ff22e7923430f10f4c24 Mon Sep 17 00:00:00 2001
|
||||
From 7ea44e09a847b3538d94757d6f6e236a913ba68f Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sun, 31 Mar 2024 03:57:07 +0000
|
||||
Subject: Use _Static_assert
|
||||
@@ -15,10 +15,10 @@ index b4c6656..1105ab9 100644
|
||||
-#define pl_static_assert(expr) static_assert(expr, #expr)
|
||||
+#define pl_static_assert(expr) _Static_assert(expr, #expr)
|
||||
diff --git a/src/vulkan/context.c b/src/vulkan/context.c
|
||||
index 8f4ae72..3a2036c 100644
|
||||
index 3e149d9..293a4ba 100644
|
||||
--- a/src/vulkan/context.c
|
||||
+++ b/src/vulkan/context.c
|
||||
@@ -220,7 +220,7 @@ const int pl_vulkan_num_recommended_extensions =
|
||||
@@ -218,7 +218,7 @@ const int pl_vulkan_num_recommended_extensions =
|
||||
PL_ARRAY_SIZE(pl_vulkan_recommended_extensions);
|
||||
|
||||
// +1 because VK_KHR_swapchain is not automatically pulled in
|
||||
@@ -28,5 +28,5 @@ index 8f4ae72..3a2036c 100644
|
||||
"pl_vulkan_recommended_extensions out of sync with "
|
||||
"vk_device_extensions?");
|
||||
--
|
||||
2.45.2
|
||||
2.50.1
|
||||
|
||||
Reference in New Issue
Block a user