diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-28 08:31:11 +0100 |
commit | ad6182343997a405079870a2fe91c4e0c6b94595 (patch) | |
tree | 4aa7483cd0ad7de54338afc8e7971417abe1dd81 /media-libs/libglvnd/libglvnd-9999.ebuild | |
parent | e8f81810baa21f490d6910e8e2d424546b72a333 (diff) |
gentoo resync : 25.09.2019
Diffstat (limited to 'media-libs/libglvnd/libglvnd-9999.ebuild')
-rw-r--r-- | media-libs/libglvnd/libglvnd-9999.ebuild | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/media-libs/libglvnd/libglvnd-9999.ebuild b/media-libs/libglvnd/libglvnd-9999.ebuild index 494820dda945..846bfd27931f 100644 --- a/media-libs/libglvnd/libglvnd-9999.ebuild +++ b/media-libs/libglvnd/libglvnd-9999.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then GIT_ECLASS="git-r3" fi -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) inherit autotools ${GIT_ECLASS} multilib-minimal python-any-r1 DESCRIPTION="The GL Vendor-Neutral Dispatch library" @@ -25,14 +25,18 @@ fi LICENSE="MIT" SLOT="0" -IUSE="" +IUSE="X" RDEPEND=" !media-libs/mesa[-libglvnd(-)] - x11-libs/libX11[${MULTILIB_USEDEP}] - " + !<media-libs/mesa-19.2.0_rc1 + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + )" DEPEND="${PYTHON_DEPS} - ${RDEPEND}" + ${RDEPEND} + X? ( x11-base/xorg-proto )" src_prepare() { default @@ -40,7 +44,12 @@ src_prepare() { } multilib_src_configure() { - ECONF_SOURCE=${S} econf + myconf=( + --disable-headers + $(use_enable X x11) + $(use_enable X glx) + ) + ECONF_SOURCE=${S} econf "${myconf[@]}" } multilib_src_install() { |