aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2017-04-16 21:23:22 -0700
committerSteve Arnold <nerdboy@gentoo.org>2017-04-16 21:23:22 -0700
commitb3c7757e0b18a133bec1512daec9f1d766a94324 (patch)
tree7720589207a5f17b55bd6fe864e21e7fd95601e3
parentmedia-libs/mesa: enable mir patch, no custom drivers (diff)
downloadarm-b3c7757e0b18a133bec1512daec9f1d766a94324.tar.gz
arm-b3c7757e0b18a133bec1512daec9f1d766a94324.tar.bz2
arm-b3c7757e0b18a133bec1512daec9f1d766a94324.zip
x11-drivers/xf86-video-armada: add use flag for dri3, enable dri2
Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
-rw-r--r--x11-drivers/xf86-video-armada/xf86-video-armada-0.0.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-armada/xf86-video-armada-0.0.1.ebuild b/x11-drivers/xf86-video-armada/xf86-video-armada-0.0.1.ebuild
index 9f3afbe..f54e069 100644
--- a/x11-drivers/xf86-video-armada/xf86-video-armada-0.0.1.ebuild
+++ b/x11-drivers/xf86-video-armada/xf86-video-armada-0.0.1.ebuild
@@ -20,7 +20,7 @@ else
fi
DESCRIPTION="Xorg graphics driver for KMS based systems with pluggable GPU backend"
-IUSE=""
+IUSE="dri3"
RDEPEND=">=x11-base/xorg-server-1.18"
@@ -32,10 +32,12 @@ DEPEND="${RDEPEND}
pkg_setup() {
xorg-2_pkg_setup
- # note: vivante requires libGAL
+ # note: vivante requires libGAL and other vendor-y stuff
XORG_CONFIGURE_OPTIONS=(
--disable-vivante
--enable-etnaviv
+ --enable-dri2
+ $(use_enable dri3)
)
}