media-libs/mesa: imx driver has been replaced by generic kmsro driver
authorJames Le Cuirot <chewi@gentoo.org>
Fri, 22 Mar 2019 22:45:38 +0000 (22:45 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Fri, 22 Mar 2019 22:45:38 +0000 (22:45 +0000)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
media-libs/mesa/mesa-9999.ebuild

index ae4a7c1da5f8d29760ac9946dec8c2389d935ce6..802aa20c7f788f3eba6737854b6e4d1f21393d41 100644 (file)
@@ -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