Don't rely on autodetection as this will fail, eg when building
in a chroot without /dev/uinput, and result in lircd-uinput missing
Signed-off-by: Matthias Reichl <hias@horus.com>
When building lirc after alsa-utils, the following unwanted alsa libraries are built by lirc:
NEW FILE Delta: 10,536 devel-20190115185543-5767941: 10,536 devel-20190115133317-5767941: n/a /usr/lib/lirc/plugins/alsa_usb.so
NEW FILE Delta: 19,176 devel-20190115185543-5767941: 19,176 devel-20190115133317-5767941: n/a /usr/lib/lirc/plugins/audio_alsa.so
Add helper scripts for lircd and lircd-uinput so that we can
override lirc_options.conf and lircd.conf via files in
/storage/.config
Use separate systemd units for lircd and lircd-uinput, like in
upstream, and just add a ConditionPathExists to enable/disable
the services.
The lirc socket is managed by systemd via lircd.socket, like
in upstream.
Remove udev file for enabling lirc, this is now handled via
systemd only.