dev-libs/efl: fix build issue with 'xpresent' USE enabled for 1.21.1
authorJoonas Niilola <juippis@gmail.com>
Fri, 12 Oct 2018 06:09:20 +0000 (09:09 +0300)
committerMichał Górny <mgorny@gentoo.org>
Fri, 12 Oct 2018 19:47:49 +0000 (21:47 +0200)
Closes: https://bugs.gentoo.org/668354
Signed-off-by: Joonas Niilola <juippis@gmail.com>
Package-Manager: Portage[mgorny]-2.3.49.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-libs/efl/efl-1.21.1.ebuild

index d020ef97f293f5cc8619eed6b5d7972a067cfa4f..c627b1a33b8440fee6309acbbb291ed46c306e88 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,6 +30,7 @@ REQUIRED_USE="
        vnc? ( X fbcon )
        wayland? ( egl gles !opengl )
        xim? ( X )
+       xpresent? ( X )
 "
 
 RDEPEND="
@@ -123,11 +124,11 @@ RDEPEND="
                        x11-libs/libX11
                        x11-libs/libXrender
                        virtual/opengl
-                       xpresent? ( x11-libs/libXpresent )
                )
        )
        xine? ( media-libs/xine-lib )
        xpm? ( x11-libs/libXpm )
+       xpresent? ( x11-libs/libXpresent )
 "
 
 DEPEND="
@@ -215,6 +216,7 @@ src_configure() {
                $(use_enable xim)
                $(use_enable xine)
                $(use_enable xpm image-loader-xpm)
+               $(use_enable xpresent)
 
                --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none))
                --with-glib=$(usex glib)
@@ -227,7 +229,6 @@ src_configure() {
        )
 
        use drm && use wayland && myconf+=( --enable-gl-drm )
-       use X && use xpresent && myconf+=( --enable-xpresent )
 
        if use opengl ; then
                myconf+=( --with-opengl=full )