summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild')
-rw-r--r--x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild7
1 files changed, 3 insertions, 4 deletions
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 2fcd2628b398..4040501730a7 100644
--- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
+++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
XORG_DRI="always"
-inherit xorg-2
+inherit xorg-3
if [[ ${PV} == 9999* ]]; then
SRC_URI=""
@@ -20,10 +20,9 @@ RDEPEND=">=x11-libs/libdrm-2.4.89[video_cards_amdgpu]
udev? ( virtual/libudev:= )"
DEPEND="${RDEPEND}"
-src_configure() {
+pkg_setup() {
XORG_CONFIGURE_OPTIONS=(
--enable-glamor
$(use_enable udev)
)
- xorg-2_src_configure
}