games-simulation/openttd: require icu-layoutex alongside with recent icu
authorAlexander Golubev <fatzer2@gmail.com>
Sat, 31 Dec 2016 00:51:08 +0000 (03:51 +0300)
committerLars Wendler <polynomial-c@gentoo.org>
Sun, 1 Jan 2017 17:19:15 +0000 (18:19 +0100)
Gentoo bug: 601302
Closes: https://github.com/gentoo/gentoo/pull/3289

games-simulation/openttd/openttd-1.6.0.ebuild

index debc52b9ea6ba7766f8d49297d38ac37fbb9daac..6a080a0ef48fc3c1a419ebcff5edb96b0de4a288 100644 (file)
@@ -17,7 +17,17 @@ RESTRICT="test" # needs a graphics set in order to test
 
 RDEPEND="!dedicated? (
                media-libs/libsdl[sound,X,video]
-               icu? ( dev-libs/icu:= )
+               icu? (
+                       || (
+                               (
+                                       dev-libs/icu-layoutex
+                                       dev-libs/icu-le-hb
+                                       >=dev-libs/icu-58.1
+                               )
+                               <dev-libs/icu-58.1
+                       )
+                       dev-libs/icu:=
+               )
                truetype? (
                        media-libs/fontconfig
                        media-libs/freetype:2