x11-libs/libxkbcommon: Depend on xproto and kbproto only for USE=X
authorMatt Turner <mattst88@gentoo.org>
Sat, 4 Mar 2017 07:10:46 +0000 (23:10 -0800)
committerMatt Turner <mattst88@gentoo.org>
Sat, 4 Mar 2017 07:23:33 +0000 (23:23 -0800)
Bug: https://bugs.gentoo.org/589598

x11-libs/libxkbcommon/libxkbcommon-0.7.1.ebuild

index e5f42e6ef0d50e39e6e2e81d6b83f01b2f88f689..a8a1cb62faf4027af439505100962e5e33a5dbe3 100644 (file)
@@ -22,9 +22,11 @@ IUSE="X doc test"
 
 DEPEND="sys-devel/bison
        sys-devel/flex
-       X? ( >=x11-libs/libxcb-1.10[${MULTILIB_USEDEP},xkb] )
-       >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]
-       >=x11-proto/kbproto-1.0.6-r1[${MULTILIB_USEDEP}]
+       X? (
+               >=x11-libs/libxcb-1.10[${MULTILIB_USEDEP},xkb]
+               >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]
+               >=x11-proto/kbproto-1.0.6-r1[${MULTILIB_USEDEP}]
+       )
        doc? ( app-doc/doxygen )"
 RDEPEND=""