media-libs/cogl: Drop dead video_cards_fglrx

This commit is contained in:
Matt Turner
2017-11-23 21:57:21 -08:00
parent 967d752ecd
commit 54bdbb5491
2 changed files with 1 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ LICENSE="MIT BSD"
SLOT="1.0/20" # subslot = .so version
# doc and profile disable for now due to bugs #484750 and #483332
IUSE="debug examples gles2 gstreamer +introspection +kms +opengl +pango test video_cards_fglrx wayland" # doc profile
IUSE="debug examples gles2 gstreamer +introspection +kms +opengl +pango test wayland" # doc profile
REQUIRED_USE="
wayland? ( gles2 )
|| ( gles2 opengl )
@@ -61,10 +61,6 @@ DEPEND="${COMMON_DEPEND}
RESTRICT="test"
src_prepare() {
# Let cogl work with fglrx driver, bug #567168
# https://bugzilla.gnome.org/show_bug.cgi?id=756306
use video_cards_fglrx && eapply "${FILESDIR}"/${PN}-1.22.0-fglrx.patch
# Do not build examples
sed -e "s/^\(SUBDIRS +=.*\)examples\(.*\)$/\1\2/" \
-i Makefile.am Makefile.in || die

View File

@@ -1,10 +0,0 @@
--- a/cogl/driver/gl/gl/cogl-driver-gl.c 2015-09-02 18:39:02.000000000 +0200
+++ b/cogl/driver/gl/gl/cogl-driver-gl.c 2015-10-18 10:37:14.052350142 +0200
@@ -419,7 +419,7 @@
if (COGL_CHECK_GL_VERSION (ctx->glsl_major, ctx->glsl_minor, 1, 2))
/* We want to use version 120 if it is available so that the
* gl_PointCoord can be used. */
- ctx->glsl_version_to_use = 120;
+ ctx->glsl_version_to_use = 150;
else
ctx->glsl_version_to_use = 110;