Skip to content

Commit

Permalink
media-libs/mesa: Drop sha1 dependencies.
Browse files Browse the repository at this point in the history
Upstream commit d1efa09d342bff removed all this nonsense by importing a
single implementation of SHA1.
  • Loading branch information
mattst88 committed Jan 25, 2017
1 parent dd54986 commit 6d40780
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 26 deletions.
16 changes: 3 additions & 13 deletions media-libs/mesa/mesa-17.0.0_rc2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ for card in ${VIDEO_CARDS}; do
done

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

REQUIRED_USE="
|| ( gcrypt libressl nettle openssl )
d3d9? ( dri3 gallium )
llvm? ( gallium )
opencl? ( gallium llvm )
Expand Down Expand Up @@ -103,14 +102,6 @@ RDEPEND="
) )
>=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
)
nettle? ( dev-libs/nettle:=[${MULTILIB_USEDEP}] )
!nettle? (
gcrypt? ( dev-libs/libgcrypt:=[${MULTILIB_USEDEP}] )
!gcrypt? (
libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
!libressl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
)
)
opencl? (
app-eselect/eselect-opencl
dev-libs/libclc
Expand Down Expand Up @@ -321,7 +312,6 @@ multilib_src_configure() {
--with-dri-drivers=${DRI_DRIVERS} \
--with-gallium-drivers=${GALLIUM_DRIVERS} \
--with-vulkan-drivers=${VULKAN_DRIVERS} \
--with-sha1=$(usex nettle libnettle $(usex gcrypt libgcrypt libcrypto)) \
PYTHON2="${PYTHON}" \
${myconf}
}
Expand Down
16 changes: 3 additions & 13 deletions media-libs/mesa/mesa-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ for card in ${VIDEO_CARDS}; do
done

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

REQUIRED_USE="
|| ( gcrypt libressl nettle openssl )
d3d9? ( dri3 gallium )
llvm? ( gallium )
opencl? ( gallium llvm )
Expand Down Expand Up @@ -103,14 +102,6 @@ RDEPEND="
) )
>=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
)
nettle? ( dev-libs/nettle:=[${MULTILIB_USEDEP}] )
!nettle? (
gcrypt? ( dev-libs/libgcrypt:=[${MULTILIB_USEDEP}] )
!gcrypt? (
libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
!libressl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
)
)
opencl? (
app-eselect/eselect-opencl
dev-libs/libclc
Expand Down Expand Up @@ -321,7 +312,6 @@ multilib_src_configure() {
--with-dri-drivers=${DRI_DRIVERS} \
--with-gallium-drivers=${GALLIUM_DRIVERS} \
--with-vulkan-drivers=${VULKAN_DRIVERS} \
--with-sha1=$(usex nettle libnettle $(usex gcrypt libgcrypt libcrypto)) \
PYTHON2="${PYTHON}" \
${myconf}
}
Expand Down

0 comments on commit 6d40780

Please sign in to comment.