mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Benjamin Gaignard <benjamin.gaignard@collabora.com>
To: ptxdist@pengutronix.de
Cc: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Subject: [ptxdist] [PATCH v2] weston: build color management module
Date: Tue, 3 Sep 2024 13:14:09 +0000	[thread overview]
Message-ID: <01020191b8056f7a-3e4afd70-98bc-4b9e-900f-2ed40b95ee1b-000000@eu-west-1.amazonses.com> (raw)

Add an option to build weston color management module.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
---
 rules/weston.in   | 1 +
 rules/weston.make | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/weston.in b/rules/weston.in
index 10f0e9172..bc742d2fc 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -40,6 +40,7 @@ menuconfig WESTON
 	select PIPEWIRE 		if WESTON_BACKEND_PIPEWIRE
 	select NEATVNC			if WESTON_BACKEND_VNC
 	select PAM			if WESTON_BACKEND_VNC
+	select LCMS			if WESTON_COLOR_MANAGEMENT_LCMS
 	prompt "weston                        "
 	help
 	  Wayland compositor reference implementation
diff --git a/rules/weston.make b/rules/weston.make
index 35ddab180..b44b661a7 100644
--- a/rules/weston.make
+++ b/rules/weston.make
@@ -45,7 +45,7 @@ WESTON_CONF_OPT		:= \
 	-Dbackend-vnc=$(call ptx/truefalse,PTXCONF_WESTON_BACKEND_VNC) \
 	-Dbackend-wayland=$(call ptx/truefalse,PTXCONF_WESTON_GL) \
 	-Dbackend-x11=false \
-	-Dcolor-management-lcms=false \
+	-Dcolor-management-lcms=$(call ptx/truefalse,PTXCONF_WESTON_COLOR_MANAGEMENT_LCMS) \
 	-Ddemo-clients=$(call ptx/truefalse,PTXCONF_WESTON_IVISHELL_EXAMPLE) \
 	-Ddeprecated-color-management-colord=false \
 	-Ddeprecated-color-management-static=false \
-- 
2.43.0




             reply	other threads:[~2024-09-04  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03 13:14 Benjamin Gaignard [this message]
2024-09-04 14:19 ` Christian Melki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01020191b8056f7a-3e4afd70-98bc-4b9e-900f-2ed40b95ee1b-000000@eu-west-1.amazonses.com \
    --to=benjamin.gaignard@collabora.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox