diff options
-rw-r--r-- | media-libs/mesa/mesa-9999.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index ae4a7c1da5f8..802aa20c7f78 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 |