From: Matt Turner Date: Thu, 5 Dec 2019 21:37:54 +0000 (-0500) Subject: media-libs/libglvnd: Convert to Meson X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f01a8731c52d34ca5c777992682f34768d9f0dd2;p=gentoo.git media-libs/libglvnd: Convert to Meson Also add ~ppc ~ppc64 ~x86 keywords, for platforms where I've run the test suite. Signed-off-by: Matt Turner --- diff --git a/media-libs/libglvnd/libglvnd-9999.ebuild b/media-libs/libglvnd/libglvnd-9999.ebuild index 877b89fb3094..1905bb39e78e 100644 --- a/media-libs/libglvnd/libglvnd-9999.ebuild +++ b/media-libs/libglvnd/libglvnd-9999.ebuild @@ -9,24 +9,27 @@ if [[ ${PV} = 9999* ]]; then GIT_ECLASS="git-r3" fi -PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) -inherit autotools ${GIT_ECLASS} multilib-minimal python-any-r1 +PYTHON_COMPAT=( python3_{5,6,7,8} ) +VIRTUALX_REQUIRED=manual + +inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1 virtualx DESCRIPTION="The GL Vendor-Neutral Dispatch library" HOMEPAGE="https://gitlab.freedesktop.org/glvnd/libglvnd" if [[ ${PV} = 9999* ]]; then SRC_URI="" else - KEYWORDS="~amd64" - COMMIT="" - SRC_URI="https://github.com/NVIDIA/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S=${WORKDIR}/${PN}-${COMMIT} + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + SRC_URI="https://gitlab.freedesktop.org/glvnd/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" + S=${WORKDIR}/${PN}-v${PV} fi LICENSE="MIT" SLOT="0" -IUSE="X" +IUSE="test X" +BDEPEND="${PYTHON_DEPS} + test? ( X? ( ${VIRTUALX_DEPEND} ) )" RDEPEND=" !media-libs/mesa[-libglvnd(-)] !