add libei support to input-leap

This commit is contained in:
projectmoon 2024-08-11 22:02:21 +02:00
parent d4451829db
commit 64773e0a37
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -11,7 +11,7 @@ EGIT_REPO_URI="https://github.com/input-leap/input-leap.git"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
IUSE="gui test" IUSE="+libei gui test"
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
RDEPEND=" RDEPEND="
@ -24,6 +24,9 @@ RDEPEND="
x11-libs/libXinerama x11-libs/libXinerama
x11-libs/libXrandr x11-libs/libXrandr
x11-libs/libXtst x11-libs/libXtst
libei? (
dev-libs/libei
)
gui? ( gui? (
dev-qt/qtcore:5 dev-qt/qtcore:5
dev-qt/qtgui:5 dev-qt/qtgui:5
@ -53,6 +56,7 @@ src_configure() {
-DBARRIER_BUILD_GUI=$(usex gui) -DBARRIER_BUILD_GUI=$(usex gui)
-DBARRIER_BUILD_INSTALLER=OFF -DBARRIER_BUILD_INSTALLER=OFF
-DBARRIER_BUILD_TESTS=$(usex test) -DBARRIER_BUILD_TESTS=$(usex test)
-DINPUTLEAP_BUILD_LIBEI=$(usex libei)
-DBARRIER_REVISION=00000000 -DBARRIER_REVISION=00000000
-DBARRIER_USE_EXTERNAL_GTEST=ON -DBARRIER_USE_EXTERNAL_GTEST=ON
-DBARRIER_VERSION_STAGE=gentoo -DBARRIER_VERSION_STAGE=gentoo