commit:     fc115d74f4ef6895c0ae06c65ff1cd11b9981592
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 17:50:53 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 17:51:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc115d74

media-libs/cogl: add missing mesa[egl] dep for USE=kms

If any EGL platform is enabled, it requires the EGL headers.
This includes kms-egl-platform, which also sets NEED_EGL in
configure.ac.
Remove rm -f option usage while here (it makes the `|| die`
useless and makes us not notice once this call isn't necessary
anymore).

Closes: https://bugs.gentoo.org/613728
Package-Manager: Portage-2.3.69, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 media-libs/cogl/cogl-1.22.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/cogl/cogl-1.22.4.ebuild 
b/media-libs/cogl/cogl-1.22.4.ebuild
index 2191b69cd4a..12bd445b80f 100644
--- a/media-libs/cogl/cogl-1.22.4.ebuild
+++ b/media-libs/cogl/cogl-1.22.4.ebuild
@@ -36,7 +36,7 @@ COMMON_DEPEND="
                media-libs/gst-plugins-base:1.0 )
        introspection? ( >=dev-libs/gobject-introspection-1.34.2:= )
        kms? (
-               media-libs/mesa[gbm]
+               media-libs/mesa[egl,gbm]
                x11-libs/libdrm:= )
        pango? ( >=x11-libs/pango-1.20.0[introspection?] )
        wayland? (
@@ -114,5 +114,5 @@ src_install() {
        gnome2_src_install
 
        # Remove silly examples-data directory
-       rm -rvf "${ED}/usr/share/cogl/examples-data/" || die
+       rm -rv "${ED}/usr/share/cogl/examples-data/" || die
 }

Reply via email to