commit:     e160452bbef03efa6284dcc3cb948a1462abf3f5
Author:     Nick Sarnie <commendsarnex <AT> gmail <DOT> com>
AuthorDate: Fri Nov 24 15:29:34 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 20:08:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e160452b

x11-drivers/xf86-video-amdgpu: Remove glamor USE flag

Glamor is required as per Michel Dänzer and Dave Airlie

Closes: https://github.com/gentoo/gentoo/pull/6283
Closes: https://bugs.gentoo.org/623142
Signed-off-by: Nick Sarnie <commendsarnex <AT> gmail.com>

 x11-drivers/xf86-video-amdgpu/metadata.xml                   | 3 ---
 x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.3.0.ebuild | 6 ++----
 x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.4.0.ebuild | 6 ++----
 x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild  | 6 ++----
 4 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/x11-drivers/xf86-video-amdgpu/metadata.xml 
b/x11-drivers/xf86-video-amdgpu/metadata.xml
index 38cf49862d0..e943b72b8a4 100644
--- a/x11-drivers/xf86-video-amdgpu/metadata.xml
+++ b/x11-drivers/xf86-video-amdgpu/metadata.xml
@@ -5,7 +5,4 @@
        <email>[email protected]</email>
        <name>X11</name>
 </maintainer>
-<use>
-       <flag name="glamor">Enable Glamor OpenGL 2D acceleration</flag>
-</use>
 </pkgmetadata>

diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.3.0.ebuild 
b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.3.0.ebuild
index 655b79e38bd..44a0b3d2125 100644
--- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.3.0.ebuild
+++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.3.0.ebuild
@@ -13,13 +13,11 @@ fi
 
 DESCRIPTION="Accelerated Open Source driver for AMDGPU cards"
 
-IUSE="glamor"
-
 RDEPEND=">=x11-libs/libdrm-2.4.72[video_cards_amdgpu]
-       x11-base/xorg-server[glamor(-)?]"
+       x11-base/xorg-server[glamor(-)]"
 DEPEND="${RDEPEND}"
 
 src_configure() {
-       XORG_CONFIGURE_OPTIONS="$(use_enable glamor)"
+       XORG_CONFIGURE_OPTIONS="--enable-glamor"
        xorg-2_src_configure
 }

diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.4.0.ebuild 
b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.4.0.ebuild
index 8d40b29af62..6345b82091b 100644
--- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.4.0.ebuild
+++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-1.4.0.ebuild
@@ -13,13 +13,11 @@ fi
 
 DESCRIPTION="Accelerated Open Source driver for AMDGPU cards"
 
-IUSE="glamor"
-
 RDEPEND=">=x11-libs/libdrm-2.4.72[video_cards_amdgpu]
-       x11-base/xorg-server[glamor(-)?]"
+       x11-base/xorg-server[glamor(-)]"
 DEPEND="${RDEPEND}"
 
 src_configure() {
-       XORG_CONFIGURE_OPTIONS="$(use_enable glamor)"
+       XORG_CONFIGURE_OPTIONS="--enable-glamor"
        xorg-2_src_configure
 }

diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild 
b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
index 8d40b29af62..6345b82091b 100644
--- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
+++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
@@ -13,13 +13,11 @@ fi
 
 DESCRIPTION="Accelerated Open Source driver for AMDGPU cards"
 
-IUSE="glamor"
-
 RDEPEND=">=x11-libs/libdrm-2.4.72[video_cards_amdgpu]
-       x11-base/xorg-server[glamor(-)?]"
+       x11-base/xorg-server[glamor(-)]"
 DEPEND="${RDEPEND}"
 
 src_configure() {
-       XORG_CONFIGURE_OPTIONS="$(use_enable glamor)"
+       XORG_CONFIGURE_OPTIONS="--enable-glamor"
        xorg-2_src_configure
 }

Reply via email to