commit:     a6455a3c5e15e8fde7fb94dae386361ae274950e
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Wed May  3 18:39:01 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun May  7 07:05:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6455a3c

x11-misc/slop: add icu useflag

upstream supports disabling icu/unicode support, so add a useflag for
it.

Signed-off-by: NRK <nrk <AT> disroot.org>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-misc/slop/slop-7.6.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/x11-misc/slop/slop-7.6.ebuild b/x11-misc/slop/slop-7.6.ebuild
index eae133af55d8..7a396e8e3619 100644
--- a/x11-misc/slop/slop-7.6.ebuild
+++ b/x11-misc/slop/slop-7.6.ebuild
@@ -12,10 +12,10 @@ KEYWORDS="amd64 ~x86"
 
 LICENSE="GPL-3"
 SLOT="0/${PV}"
-IUSE="opengl"
+IUSE="opengl icu"
 
 RDEPEND="
-       dev-libs/icu:=
+       icu? ( dev-libs/icu:= )
        x11-libs/libX11
        x11-libs/libXext
        opengl? (
@@ -37,6 +37,9 @@ DEPEND="
 PATCHES=( "${FILESDIR}/${PN}"-7.5-missing-header.patch )
 
 src_configure() {
-       local mycmakeargs=( -DSLOP_OPENGL=$(usex opengl) )
+       local mycmakeargs=(
+               -DSLOP_OPENGL=$(usex opengl)
+               -DSLOP_UNICODE=$(usex icu)
+       )
        cmake_src_configure
 }

Reply via email to