Skip to content

Commit

Permalink
media-libs/mesa: allow USE=libressl too for sha1 funcs #591246
Browse files Browse the repository at this point in the history
  • Loading branch information
joecool1029 authored and vapier committed Nov 11, 2016
1 parent 2818328 commit c941486
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
11 changes: 7 additions & 4 deletions media-libs/mesa/mesa-13.0.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ done

IUSE="${IUSE_VIDEO_CARDS}
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gcrypt gles1 gles2
+llvm nettle +nptl opencl osmesa pax_kernel openmax +openssl pic selinux
vaapi valgrind vdpau wayland xvmc xa kernel_FreeBSD"
libressl +llvm nettle +nptl opencl osmesa pax_kernel openmax +openssl pic
selinux vaapi valgrind vdpau wayland xvmc xa kernel_FreeBSD"

REQUIRED_USE="
|| ( gcrypt nettle openssl )
|| ( gcrypt libressl nettle openssl )
d3d9? ( dri3 gallium )
llvm? ( gallium )
opencl? ( gallium llvm )
Expand Down Expand Up @@ -104,7 +104,10 @@ RDEPEND="
nettle? ( dev-libs/nettle:=[${MULTILIB_USEDEP}] )
!nettle? (
gcrypt? ( dev-libs/libgcrypt:=[${MULTILIB_USEDEP}] )
!gcrypt? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
!gcrypt? (
libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
!libressl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
)
)
opencl? (
app-eselect/eselect-opencl
Expand Down
11 changes: 7 additions & 4 deletions media-libs/mesa/mesa-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ done

IUSE="${IUSE_VIDEO_CARDS}
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gcrypt gles1 gles2
+llvm nettle +nptl opencl osmesa pax_kernel openmax +openssl pic selinux
vaapi valgrind vdpau wayland xvmc xa kernel_FreeBSD"
libressl +llvm nettle +nptl opencl osmesa pax_kernel openmax +openssl pic
selinux vaapi valgrind vdpau wayland xvmc xa kernel_FreeBSD"

REQUIRED_USE="
|| ( gcrypt nettle openssl )
|| ( gcrypt libressl nettle openssl )
d3d9? ( dri3 gallium )
llvm? ( gallium )
opencl? ( gallium llvm )
Expand Down Expand Up @@ -104,7 +104,10 @@ RDEPEND="
nettle? ( dev-libs/nettle:=[${MULTILIB_USEDEP}] )
!nettle? (
gcrypt? ( dev-libs/libgcrypt:=[${MULTILIB_USEDEP}] )
!gcrypt? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
!gcrypt? (
libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
!libressl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
)
)
opencl? (
app-eselect/eselect-opencl
Expand Down
1 change: 1 addition & 0 deletions media-libs/mesa/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<flag name="gbm">Enable the Graphics Buffer Manager for EGL on KMS.</flag>
<flag name="gles1">Enable GLESv1 support.</flag>
<flag name="gles2">Enable GLESv2 support.</flag>
<flag name="libressl">Use <pkg>dev-libs/libressl</pkg> for low level sha1 utility functions.</flag>
<flag name="llvm">Enable LLVM backend for Gallium3D.</flag>
<flag name="nettle">Use <pkg>dev-libs/nettle</pkg> for low level sha1 utility functions.</flag>
<flag name="opencl">Enable the Clover Gallium OpenCL state tracker.</flag>
Expand Down

0 comments on commit c941486

Please sign in to comment.