Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/libplacebo: add optional dependencies to lcms & xxhash
@ 2026-10-21 18:41 Bernd Kuhls
  2026-10-21 18:41 ` [Buildroot] [PATCH 2/3] package/xxhash: fix prefix in libxxhash.pc Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-10-21 18:41 UTC (permalink / raw)
  To: buildroot

Buildroot commit 006aab8d64d2179d77df9a696b3fd8636f541640 added the
package at version v7.351.0.

This version includes optional upstream support for

lcms, added in v0.5.0:
https://code.videolan.org/videolan/libplacebo/-/commit/eb14d3bdf22605263a9b6025ed6280eb1515a89a

xxhash, added in v6.338.0:
https://code.videolan.org/videolan/libplacebo/-/commit/cb1009d1455e64787e52c5c3b6f7042aa37e5c14

This patch adds handling of these optional dependencies.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/libplacebo/libplacebo.mk | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/package/libplacebo/libplacebo.mk b/package/libplacebo/libplacebo.mk
index e03f224971..c3a2822fb5 100644
--- a/package/libplacebo/libplacebo.mk
+++ b/package/libplacebo/libplacebo.mk
@@ -12,4 +12,18 @@ LIBPLACEBO_LICENSE = LGPL-2.1+
 LIBPLACEBO_LICENSE_FILES = LICENSE
 LIBPLACEBO_INSTALL_STAGING = YES
 
+ifeq ($(BR2_PACKAGE_LCMS2),y)
+LIBPLACEBO_DEPENDENCIES += lcms2
+LIBPLACEBO_CONF_OPTS += -Dlcms=disabled
+else
+LIBPLACEBO_CONF_OPTS += -Dlcms=disabled
+endif
+
+ifeq ($(BR2_PACKAGE_XXHASH),y)
+LIBPLACEBO_DEPENDENCIES += xxhash
+LIBPLACEBO_CONF_OPTS += -Dxxhash=disabled
+else
+LIBPLACEBO_CONF_OPTS += -Dxxhash=disabled
+endif
+
 $(eval $(meson-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-10-21 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-21 18:41 [Buildroot] [PATCH 1/3] package/libplacebo: add optional dependencies to lcms & xxhash Bernd Kuhls
2026-10-21 18:41 ` [Buildroot] [PATCH 2/3] package/xxhash: fix prefix in libxxhash.pc Bernd Kuhls
2026-10-21 18:46   ` Thomas Petazzoni via buildroot
2026-10-21 19:28     ` Julien Olivain via buildroot
2026-10-21 18:41 ` [Buildroot] [PATCH 3/3] package/xxhash: bump version to 0.8.4 Bernd Kuhls
2026-10-21 19:27 ` [Buildroot] [PATCH 1/3] package/libplacebo: add optional dependencies to lcms & xxhash Julien Olivain via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox