The libei package contains a set of libraries for handling emulated inputs. It is primarily aimed at the Wayland stack.
![[Note]](../images/note.png) 
          Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://gitlab.freedesktop.org/libinput/libei/-/archive/1.5.0/libei-1.5.0.tar.bz2
Download MD5 sum: 3afe06351cfb6e47bd48f284b1213205
Download size: 184 KB
Estimated disk space required: 5.7 MB
Estimated build time: less than 0.1 SBU
attrs-25.4.0 and elogind-255.17
libevdev-1.13.5, libxkbcommon-1.12.2, libxml2-2.15.1, munit, and structlog
Install libei by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release -D tests=disabled && ninja
This package does come with a test suite, but it requires an external dependency. If you have both munit and structlog installed, and you wish to run the test suite, run the following commands:
meson configure -D tests=enabled && ninja test
          Now, as the root user:
        
ninja install
          --buildtype=release:
          Specify a buildtype suitable for stable releases of the package, as
          the default may produce unoptimized binaries.
        
          -D tests=disabled: This
          switch avoids a dependency on munit. Remove this switch if
          you have munit installed and wish
          to run the test suite.