Previously with autotools I could manually override the SPOTREAD variable in package build to force it to be found. There doesn't seem to be an equivalent thing for meson, so spit out a warning if spotread is not found but allow the build to proceed.
Also it seems that cd-sensor-argyll sometimes spawns spotread and sometimes spawns /usr/bin/spotread; since the meson check is for spotread in $PATH, consistently use non-absolute paths.
Previously with autotools I could manually override the
SPOTREAD
variable in package build to force it to be found. There doesn't seem to be an equivalent thing for meson, so spit out a warning if spotread is not found but allow the build to proceed.Also it seems that cd-sensor-argyll sometimes spawns
spotread
and sometimes spawns/usr/bin/spotread
; since the meson check is forspotread
in$PATH
, consistently use non-absolute paths.