From 799a848c5e317383de1e8050f69b0bcb940529f3 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 15 Apr 2024 14:46:10 +0200 Subject: [PATCH] libdisplay-info: make edid-decode dependency optional --- recipes-extended/libdisplay-info/libdisplay-info_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-extended/libdisplay-info/libdisplay-info_git.bb b/recipes-extended/libdisplay-info/libdisplay-info_git.bb index beda1c1..f7b159a 100644 --- a/recipes-extended/libdisplay-info/libdisplay-info_git.bb +++ b/recipes-extended/libdisplay-info/libdisplay-info_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e4426409957080ee0352128354cea2de" SRC_URI = "git://gitlab.freedesktop.org/emersion/libdisplay-info.git;branch=main;protocol=https" -DEPENDS = "hwdata-native edid-decode-native" +DEPENDS = "hwdata-native" S = "${WORKDIR}/git" PV = "0.1.1" @@ -13,5 +13,7 @@ SRCREV = "92b031749c0fe84ef5cdf895067b84a829920e25" inherit meson pkgconfig -BBCLASSEXTEND = "native" +PACKAGECONFIG ?= "" +PACKAGECONFIG[test] = ",,edid-decode-native" +BBCLASSEXTEND = "native"