pkg-config is only needed to detect libcheck used to build tests. Running tests requires /dev/uinput which is only implemented by evdev(4) from GSoC2014 but not webcamd.