gjdwebserver-overlay/www-client/chromium/files/chromium-124-libwebp-shim-sharpyuv.patch

37 lines
870 B
Diff
Raw Normal View History

2024-05-21 21:40:30 +02:00
From 40c466949bd8ccb61cb55655848d23684a9f8a94 Mon Sep 17 00:00:00 2001
From: Matt Jolly <kangie@gentoo.org>
Date: Mon, 25 Mar 2024 21:38:35 +1000
Subject: [PATCH] libwebp shim: add libwebp_sharpyuv target
Signed-off-by: Matt Jolly <Kangie@gentoo.org>
--- a/build/linux/unbundle/libwebp.gn
+++ b/build/linux/unbundle/libwebp.gn
@@ -22,14 +22,24 @@ shim_headers("libwebp_shim") {
"webp/mux.h",
"webp/mux_types.h",
"webp/types.h",
+ "webp/sharpyuv/sharpyuv.h",
+ "webp/sharpyuv/sharpyuv_csp.h",
]
}
+source_set("libwebp_sharpyuv") {
+ deps = [ ":libwebp_shim" ]
+ public_configs = [ ":system_libwebp" ]
+}
+
source_set("libwebp_webp") {
deps = [ ":libwebp_shim" ]
public_configs = [ ":system_libwebp" ]
}
group("libwebp") {
- deps = [ ":libwebp_webp" ]
+ deps = [
+ ":libwebp_webp",
+ ":libwebp_sharpyuv"
+ ]
}
--
2.44.0