libdisplay-info: make edid-decode dependency optional

This commit is contained in:
Markus Volk 2024-04-15 14:46:10 +02:00
parent 9d5c0ae90f
commit 799a848c5e

View File

@ -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"