Left over lib/lirc/config.h lead to "LIRC_LOCKDIR" redefined to not existing
"/var/lock/lockdir" (beside others):
/home/docker/LibreELEC.tv/build.LibreELEC-gbm.x86_64-12.0-devel-mg/build/lirc-0.10.2/lib/lirc/config.h:198: warning: "LIRC_LOCKDIR" redefined
198 | #define LIRC_LOCKDIR "/var/lock/lockdev"
|
In file included from /home/docker/LibreELEC.tv/build.LibreELEC-gbm.x86_64-12.0-devel-mg/build/lirc-0.10.2/lib/driver.c:12:
./config.h:198: note: this is the location of the previous definition
198 | #define LIRC_LOCKDIR "/var/lock"
|
Furthermore define lock dir because lirc's configure does check the host system and use
/var/lock/lockdev if existing.
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>
The patch accidentally dropped installation of pkgconfig files which
lead to libirman not detecting lirc
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