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@gmail.com>
<email>x11@gentoo.org</email>
<name>X11</name>
</maintainer>
-<use>
- <flag name="glamor">Enable Glamor OpenGL 2D acceleration</flag>
-</use>
</pkgmetadata>
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
}
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
}
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
}