input-leap: Change libei flag to wayland

This commit is contained in:
projectmoon 2024-08-14 10:15:00 +02:00
parent 84ae5a22ff
commit dea32190a3
2 changed files with 7 additions and 6 deletions

View File

@ -34,21 +34,22 @@ x11-misc/input-leap::projectmoon **
## USE Flags
This ebuild of Input Leap supports Wayland integration via `libei`, onb
This ebuild of Input Leap supports Wayland integration via `libei`, on
supported compositors (notably, wlroots is apparently not supported by
upstream). To use the `libei` integration, you must have a version of
`libportal` with Input Capture support, which at time of writing
(libportal 0.7.1) is not yet released.
This overlay contains a custom ebuild of `dev-libs/libportal` that can
enable Input Capture.
enable Input Capture. The patch is cherry-picked from the upstream
commits.
To configure Input Leap to use `libei` for Wayland support, add the
following USE declarations:
```
dev-libs/libportal inputcapture
x11-misc/input-leap libei
x11-misc/input-leap wayland
```
Note that `inputcapture` is NOT a USE flag on the main Gentoo ebuild. So

View File

@ -11,7 +11,7 @@ EGIT_REPO_URI="https://github.com/input-leap/input-leap.git"
LICENSE="GPL-2"
SLOT="0"
IUSE="libei gui test"
IUSE="wayland gui test"
RESTRICT="!test? ( test )"
RDEPEND="
@ -24,7 +24,7 @@ RDEPEND="
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXtst
libei? (
wayland? (
dev-libs/libei
dev-libs/libportal[inputcapture]
)
@ -64,7 +64,7 @@ src_configure() {
-DBARRIER_BUILD_GUI=$(usex gui)
-DBARRIER_BUILD_INSTALLER=OFF
-DBARRIER_BUILD_TESTS=$(usex test)
-DINPUTLEAP_BUILD_LIBEI=$(usex libei)
-DINPUTLEAP_BUILD_LIBEI=$(usex wayland)
-DBARRIER_REVISION=00000000
-DBARRIER_USE_EXTERNAL_GTEST=ON
-DBARRIER_VERSION_STAGE=gentoo