From a6455a3c5e15e8fde7fb94dae386361ae274950e Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 4 May 2023 00:39:01 +0600 Subject: x11-misc/slop: add icu useflag upstream supports disabling icu/unicode support, so add a useflag for it. Signed-off-by: NRK Signed-off-by: Joonas Niilola --- 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 } -- cgit v1.2.3-65-gdbad