diff options
author | Paul Zander <negril.nx+gentoo@gmail.com> | 2024-05-13 16:33:32 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2024-06-05 16:01:31 -0400 |
commit | 1dceac8f5b331f00eb68730315452f9c68549c70 (patch) | |
tree | 04c0207f48f4d80fad8f63862a4ead290e53fe0d /media-libs/mesa | |
parent | media-libs/mesa: rename zink -> video_cards_zink (diff) | |
download | gentoo-1dceac8f5b331f00eb68730315452f9c68549c70.tar.gz gentoo-1dceac8f5b331f00eb68730315452f9c68549c70.tar.bz2 gentoo-1dceac8f5b331f00eb68730315452f9c68549c70.zip |
media-libs/mesa: update USE=d3d9 dependencies
Update d3d9/gallium-nine to match meson.build.
- add freedreno
- add panfrost
- add zink
https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.1.0-r1/meson.build?ref_type=tags#L746
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/mesa')
-rw-r--r-- | media-libs/mesa/mesa-24.1.0-r1.ebuild | 14 | ||||
-rw-r--r-- | media-libs/mesa/mesa-9999.ebuild | 14 |
2 files changed, 20 insertions, 8 deletions
diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild b/media-libs/mesa/mesa-24.1.0-r1.ebuild index 98068e596279..59d4567a934d 100644 --- a/media-libs/mesa/mesa-24.1.0-r1.ebuild +++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild @@ -60,12 +60,15 @@ RESTRICT="!test? ( test )" REQUIRED_USE=" d3d9? ( || ( + video_cards_freedreno video_cards_intel + video_cards_nouveau + video_cards_panfrost video_cards_r300 video_cards_r600 video_cards_radeonsi - video_cards_nouveau video_cards_vmware + video_cards_zink ) ) llvm? ( ${LLVM_REQUIRED_USE} ) @@ -302,12 +305,15 @@ multilib_src_configure() { use wayland && platforms+=",wayland" emesonargs+=(-Dplatforms=${platforms#,}) - if use video_cards_intel || + if use video_cards_freedreno || + use video_cards_intel || # crocus i915 iris + use video_cards_nouveau || + use video_cards_panfrost || use video_cards_r300 || use video_cards_r600 || use video_cards_radeonsi || - use video_cards_nouveau || - use video_cards_vmware; then + use video_cards_vmware || # swrast + use video_cards_zink; then emesonargs+=($(meson_use d3d9 gallium-nine)) else emesonargs+=(-Dgallium-nine=false) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index bced699ca70a..571709ebd6a4 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -60,12 +60,15 @@ RESTRICT="!test? ( test )" REQUIRED_USE=" d3d9? ( || ( + video_cards_freedreno video_cards_intel + video_cards_nouveau + video_cards_panfrost video_cards_r300 video_cards_r600 video_cards_radeonsi - video_cards_nouveau video_cards_vmware + video_cards_zink ) ) llvm? ( ${LLVM_REQUIRED_USE} ) @@ -299,12 +302,15 @@ multilib_src_configure() { use wayland && platforms+=",wayland" emesonargs+=(-Dplatforms=${platforms#,}) - if use video_cards_intel || + if use video_cards_freedreno || + use video_cards_intel || # crocus i915 iris + use video_cards_nouveau || + use video_cards_panfrost || use video_cards_r300 || use video_cards_r600 || use video_cards_radeonsi || - use video_cards_nouveau || - use video_cards_vmware; then + use video_cards_vmware || # swrast + use video_cards_zink; then emesonargs+=($(meson_use d3d9 gallium-nine)) else emesonargs+=(-Dgallium-nine=false) |