Skip to content

Commit

Permalink
media-libs/mesa: Add support for libglvnd
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/606924
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Mar 3, 2019
1 parent 4f22a7a commit b51d6fe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
8 changes: 5 additions & 3 deletions media-libs/mesa/mesa-19.0.0_rc6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ for card in ${VIDEO_CARDS}; do
done

IUSE="${IUSE_VIDEO_CARDS}
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm lm_sensors
opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind vdpau
vulkan wayland xa xvmc"
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +libglvnd +llvm
lm_sensors opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind
vdpau vulkan wayland xa xvmc"

REQUIRED_USE="
d3d9? ( dri3 || ( video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
Expand Down Expand Up @@ -106,6 +106,7 @@ RDEPEND="
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
)
libglvnd? ( media-libs/libglvnd )
wayland? (
>=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}]
>=dev-libs/wayland-protocols-1.8
Expand Down Expand Up @@ -458,6 +459,7 @@ multilib_src_configure() {
$(meson_use gbm)
$(meson_use gles1)
$(meson_use gles2)
$(meson_use libglvnd glvnd)
$(meson_use selinux)
-Dvalgrind=$(usex valgrind auto false)
-Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}")
Expand Down
8 changes: 5 additions & 3 deletions media-libs/mesa/mesa-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ for card in ${VIDEO_CARDS}; do
done

IUSE="${IUSE_VIDEO_CARDS}
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm lm_sensors
opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind vdpau
vulkan wayland xa xvmc"
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +libglvnd +llvm
lm_sensors opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind
vdpau vulkan wayland xa xvmc"

REQUIRED_USE="
d3d9? ( dri3 || ( video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
Expand Down Expand Up @@ -106,6 +106,7 @@ RDEPEND="
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
)
libglvnd? ( media-libs/libglvnd )
wayland? (
>=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}]
>=dev-libs/wayland-protocols-1.8
Expand Down Expand Up @@ -458,6 +459,7 @@ multilib_src_configure() {
$(meson_use gbm)
$(meson_use gles1)
$(meson_use gles2)
$(meson_use libglvnd glvnd)
$(meson_use selinux)
-Dvalgrind=$(usex valgrind auto false)
-Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}")
Expand Down
6 changes: 5 additions & 1 deletion profiles/base/package.use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
# This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base.

# Georgy Yakovlev <[email protected]> (17 Jan 2019 )
# Matt Turner <[email protected]> (03 Mar 2019)
# Mask for testing. Bug 606924
media-libs/mesa libglvnd

# Georgy Yakovlev <[email protected]> (17 Jan 2019)
# Mask openjdk:8 for use as system java-vm until it's proven to work
dev-java/openjdk:8 gentoo-vm
dev-java/openjdk-bin:8 gentoo-vm
Expand Down

0 comments on commit b51d6fe

Please sign in to comment.