commit:     3a798425093d275df51f726292c21457b93dda18
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 22 22:45:38 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 22:45:38 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a798425

media-libs/mesa: imx driver has been replaced by generic kmsro driver

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/mesa/mesa-9999.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index ae4a7c1da5f..802aa20c7f7 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -30,7 +30,7 @@ RESTRICT="
 "
 
 RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel iris nouveau vc4 
virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris nouveau vc4 virgl 
vivante vmware"
 for card in ${VIDEO_CARDS}; do
        IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -54,7 +54,6 @@ REQUIRED_USE="
        video_cards_i915?   ( || ( classic gallium ) )
        video_cards_i965?   ( classic )
        video_cards_iris?   ( gallium )
-       video_cards_imx?    ( gallium video_cards_vivante )
        video_cards_nouveau? ( || ( classic gallium ) )
        video_cards_radeon? ( || ( classic gallium )
                                                  gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
@@ -400,11 +399,16 @@ multilib_src_configure() {
                        emesonargs+=(-Dgallium-xvmc=false)
                fi
 
+               if use video_cards_freedreno ||
+                  use video_cards_vc4 ||
+                  use video_cards_vivante; then
+                       gallium_enable -- kmsro
+               fi
+
                gallium_enable video_cards_vc4 vc4
                gallium_enable video_cards_vivante etnaviv
                gallium_enable video_cards_vmware svga
                gallium_enable video_cards_nouveau nouveau
-               gallium_enable video_cards_imx imx
 
                # Only one i915 driver (classic vs gallium). Default to classic.
                if ! use classic; then

Reply via email to