diff options
author | 2021-12-22 19:49:49 -0500 | |
---|---|---|
committer | 2021-12-22 19:58:07 -0500 | |
commit | 507cc32a6212108c0edd1c0eb4d81e6b0c219185 (patch) | |
tree | 71794a7ff15ede4fd6232fa3826677f426114713 /media-gfx/imv | |
parent | dev-libs/libgrapheme: initial import, version 1 (diff) | |
download | gentoo-507cc32a6212108c0edd1c0eb4d81e6b0c219185.tar.gz gentoo-507cc32a6212108c0edd1c0eb4d81e6b0c219185.tar.bz2 gentoo-507cc32a6212108c0edd1c0eb4d81e6b0c219185.zip |
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@gentoo.org>
Diffstat (limited to 'media-gfx/imv')
-rw-r--r-- | media-gfx/imv/imv-9999.ebuild | 6 |
1 files 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) ) |