x11-drivers/xf86-video-intel: Add a USE=tools flag.
authorMatt Turner <mattst88@gentoo.org>
Sat, 4 Mar 2017 06:35:45 +0000 (22:35 -0800)
committerMatt Turner <mattst88@gentoo.org>
Sat, 4 Mar 2017 06:49:29 +0000 (22:49 -0800)
Bug: https://bugs.gentoo.org/584866

x11-drivers/xf86-video-intel/metadata.xml
x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20170216.ebuild

index 0deb4bd3c1b49a62be0ed69b4bc9173e2ea9bf70..ba66807bf03d342019f2fa69af7d65e144363f5f 100644 (file)
@@ -9,6 +9,7 @@
                <flag name="dri3" restrict="&lt;=x11-drivers/xf86-video-intel-2.99.917_p20160621">Enable DRI3 support</flag>
                <flag name="dri3">Use DRI3 by default</flag>
                <flag name="sna">Enable SandyBridge's New Acceleration (useful on all chipsets, not just SandyBridge)</flag>
+               <flag name="tools">Build the intel-virtual-output tool</flag>
                <flag name="uxa">Enable UMA Acceleration Architecture</flag>
                <flag name="xvmc">Enables X-Video Motion Compensation support</flag>
        </use>
index c5b6ccb86c77c39eca68e7d9fe280e7e748dcc62..2a3ba759a68fce6447f22431325aa5878c626fc0 100644 (file)
@@ -10,7 +10,7 @@ inherit linux-info xorg-2 flag-o-matic
 DESCRIPTION="X.Org driver for Intel cards"
 
 KEYWORDS="~amd64 ~x86 ~amd64-fbsd -x86-fbsd"
-IUSE="debug dri3 +sna +udev uxa xvmc"
+IUSE="debug dri3 +sna tools +udev uxa xvmc"
 COMMIT_ID="860c3664fe79c1fe92095ff345068f1fc7e4e651"
 SRC_URI="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/${COMMIT_ID}.tar.xz -> ${P}.tar.xz"
 
@@ -31,6 +31,17 @@ RDEPEND="
        sna? (
                >=x11-base/xorg-server-1.10
        )
+       tools? (
+               x11-libs/libX11
+               x11-libs/libxcb
+               x11-libs/libXcursor
+               x11-libs/libXdamage
+               x11-libs/libXinerama
+               x11-libs/libXrandr
+               x11-libs/libXrender
+               x11-libs/libxshmfence
+               x11-libs/libXtst
+       )
        udev? (
                virtual/udev
        )
@@ -54,6 +65,7 @@ src_configure() {
                $(use_enable dri dri3)
                $(usex dri3 "--with-default-dri=3")
                $(use_enable sna)
+               $(use_enable tools)
                $(use_enable udev)
                $(use_enable uxa)
                $(use_enable xvmc)