diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2016-05-20 13:00:59 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2016-05-20 13:00:59 +0300 |
commit | 9a66e500300e161ede2cdc7e7afd9811a1a01acf (patch) | |
tree | 9d8b1263e0af4b015dc18f6cf51ae0f74fa1729f /media-libs | |
parent | b46abf7d0ac253099d8e3af4821bcdf011c8199f (diff) |
mesa: sync with upstream
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/mesa/mesa-scm.ebuild | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/media-libs/mesa/mesa-scm.ebuild b/media-libs/mesa/mesa-scm.ebuild index d6e2d42..b58c7b3 100644 --- a/media-libs/mesa/mesa-scm.ebuild +++ b/media-libs/mesa/mesa-scm.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# $Id$ EAPI=5 @@ -11,7 +11,7 @@ EXPERIMENTAL="true" GIT_ECLASS="git-r3" EXPERIMENTAL="true" -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python2_7 ) inherit base autotools multilib multilib-minimal flag-o-matic \ python-any-r1 toolchain-funcs pax-utils ${GIT_ECLASS} @@ -38,7 +38,7 @@ KEYWORDS="" INTEL_CARDS="i915 i965 ilo intel" RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi" -VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vmware" +VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vc4 vmware" for card in ${VIDEO_CARDS}; do IUSE_VIDEO_CARDS+=" video_cards_${card}" done @@ -75,7 +75,7 @@ REQUIRED_USE=" ${PYTHON_REQUIRED_USE} " -LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.64" +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.67" # keep correct libdrm and dri2proto dep # keep blocks in rdepend for binpkg RDEPEND=" @@ -107,7 +107,7 @@ RDEPEND=" >=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}] ) ) ) - >=sys-devel/llvm-3.4.2:=[${MULTILIB_USEDEP}] + >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}] ) opencl? ( app-eselect/eselect-opencl @@ -118,7 +118,7 @@ RDEPEND=" ) ) openmax? ( >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}] ) - vaapi? ( >=x11-libs/libva-0.35.0:=[${MULTILIB_USEDEP}] ) + vaapi? ( >=x11-libs/libva-1.6.0:=[${MULTILIB_USEDEP}] ) vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) wayland? ( >=dev-libs/wayland-1.2.0:=[${MULTILIB_USEDEP}] ) xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) @@ -227,7 +227,7 @@ multilib_src_configure() { fi if use egl; then - myconf+="--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm") " + myconf+=" --with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" fi if use gallium; then @@ -240,9 +240,10 @@ multilib_src_configure() { $(use_enable xa) $(use_enable xvmc) " - use vaapi && myconf+="--with-va-libdir=/usr/$(get_libdir)/va/drivers" + use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers" gallium_enable swrast + gallium_enable video_cards_vc4 vc4 gallium_enable video_cards_vmware svga gallium_enable video_cards_nouveau nouveau gallium_enable video_cards_i915 i915 @@ -271,10 +272,8 @@ multilib_src_configure() { fi # x86 hardened pax_kernel needs glx-rts, bug 240956 - if use pax_kernel; then - myconf+=" - $(use_enable x86 glx-rts) - " + if [[ ${ABI} == x86 ]]; then + myconf+=" $(use_enable pax_kernel glx-read-only-text)" fi # on abi_x86_32 hardened we need to have asm disable @@ -282,6 +281,12 @@ multilib_src_configure() { myconf+=" --disable-asm" fi + if use gallium; then + myconf+=" $(use_enable osmesa gallium-osmesa)" + else + myconf+=" $(use_enable osmesa)" + fi + # build fails with BSD indent, bug #428112 use userland_GNU || export INDENT=cat @@ -300,7 +305,6 @@ multilib_src_configure() { $(use_enable gles1) \ $(use_enable gles2) \ $(use_enable nptl glx-tls) \ - $(use_enable osmesa) \ $(use_enable !udev sysfs) \ --enable-llvm-shared-libs \ --with-dri-drivers=${DRI_DRIVERS} \ |