# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/cogl-1.20.0.ebuild,v 1.3 2015/07/27 13:29:46 tetromino Exp $ EAPI="5" GCONF_DEBUG="yes" inherit gnome2 multilib virtualx DESCRIPTION="A library for using 3D graphics hardware to draw pretty pictures" HOMEPAGE="http://www.cogl3d.org/" LICENSE="MIT BSD" SLOT="1.0/20" # subslot = .so version # doc and profile disable for now due bugs #484750 and #483332 IUSE="examples gles2 gstreamer +introspection +kms +opengl +pango test wayland" # doc profile REQUIRED_USE="wayland? ( gles2 ) || ( gles2 opengl )" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" COMMON_DEPEND=" >=dev-libs/glib-2.32:2 x11-libs/cairo:= >=x11-libs/gdk-pixbuf-2:2 x11-libs/libX11 >=x11-libs/libXcomposite-0.4 x11-libs/libXdamage x11-libs/libXext >=x11-libs/libXfixes-3 >=x11-libs/libXrandr-1.2 virtual/opengl gles2? ( media-libs/mesa[gles2] ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) introspection? ( >=dev-libs/gobject-introspection-1.34.2:= ) kms? ( media-libs/mesa[gbm] x11-libs/libdrm:= ) pango? ( >=x11-libs/pango-1.20.0[introspection?] ) wayland? ( >=dev-libs/wayland-1.1.90 media-libs/mesa[egl,wayland] ) " # before clutter-1.7, cogl was part of clutter RDEPEND="${COMMON_DEPEND} !