Skip to content

Commit

Permalink
media-gfx/imv: libgrapheme support for live ebuild
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ionenwks committed Dec 23, 2021
1 parent 1c7c50d commit 507cc32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions media-gfx/imv/imv-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )
Expand Down Expand Up @@ -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)
)

Expand Down

0 comments on commit 507cc32

Please sign in to comment.