media-libs/cogl: Drop dead video_cards_fglrx
authorMatt Turner <mattst88@gentoo.org>
Fri, 24 Nov 2017 05:57:21 +0000 (21:57 -0800)
committerMatt Turner <mattst88@gentoo.org>
Fri, 24 Nov 2017 06:06:12 +0000 (22:06 -0800)
media-libs/cogl/cogl-1.22.2.ebuild
media-libs/cogl/files/cogl-1.22.0-fglrx.patch [deleted file]

index 0419b0b738887a1290678d42ef5f1a37dda27971..97738b3c596991d3410fcb7ebd5232c4f2c4a67d 100644 (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
diff --git a/media-libs/cogl/files/cogl-1.22.0-fglrx.patch b/media-libs/cogl/files/cogl-1.22.0-fglrx.patch
deleted file mode 100644 (file)
index dac1419..0000000
+++ /dev/null
@@ -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;