commit: 507cc32a6212108c0edd1c0eb4d81e6b0c219185 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Thu Dec 23 00:49:49 2021 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Thu Dec 23 00:58:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507cc32a
media-gfx/imv: libgrapheme support for live ebuild Library had its first release and been informed api should be stable, allows to skip the heavier icu dependency on an otherwise small tool. Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> media-gfx/imv/imv-9999.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/media-gfx/imv/imv-9999.ebuild b/media-gfx/imv/imv-9999.ebuild index 55cdc69ad90e..95ff5b86dae8 100644 --- a/media-gfx/imv/imv-9999.ebuild +++ b/media-gfx/imv/imv-9999.ebuild @@ -19,13 +19,12 @@ HOMEPAGE="https://sr.ht/~exec64/imv/" LICENSE="MIT-with-advertising" SLOT="0" -IUSE="+X +freeimage gif heif jpeg png svg test tiff wayland" +IUSE="+X +freeimage gif heif icu jpeg png svg test tiff wayland" REQUIRED_USE="|| ( X wayland )" RESTRICT="!test? ( test )" RDEPEND=" dev-libs/glib:2 - dev-libs/icu:= dev-libs/inih media-libs/libglvnd[X?] x11-libs/cairo @@ -38,6 +37,8 @@ RDEPEND=" freeimage? ( media-libs/freeimage ) gif? ( media-libs/libnsgif ) heif? ( media-libs/libheif:= ) + icu? ( dev-libs/icu:= ) + !icu? ( dev-libs/libgrapheme ) jpeg? ( media-libs/libjpeg-turbo:= ) png? ( media-libs/libpng:= ) svg? ( >=gnome-base/librsvg-2.44:2 ) @@ -74,6 +75,7 @@ src_configure() { $(meson_feature svg librsvg) $(meson_feature test) $(meson_feature tiff libtiff) + -Dunicode=$(usex icu{,} grapheme) -Dwindows=$(usex X $(usex wayland all x11) wayland) )