diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-09-25 09:53:49 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-09-25 09:53:55 -0700 |
commit | 498e41a898903e4c5ab7b99f5688ad0c03859966 (patch) | |
tree | 5b1bfd4cbcac7d49804eb03a439e5124c2fd8d55 /media-libs/libglvnd | |
parent | dev-util/meson: remove old version (diff) | |
download | gentoo-498e41a898903e4c5ab7b99f5688ad0c03859966.tar.gz gentoo-498e41a898903e4c5ab7b99f5688ad0c03859966.tar.bz2 gentoo-498e41a898903e4c5ab7b99f5688ad0c03859966.zip |
media-libs/libglvnd: Version bump to 1.2.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/libglvnd')
-rw-r--r-- | media-libs/libglvnd/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libglvnd/libglvnd-1.2.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-libs/libglvnd/Manifest b/media-libs/libglvnd/Manifest index e8408ade024b..f1d1bbc8d4b5 100644 --- a/media-libs/libglvnd/Manifest +++ b/media-libs/libglvnd/Manifest @@ -1 +1,2 @@ DIST libglvnd-1.1.1.tar.gz 1851222 BLAKE2B 58a6e997b64bd22c4af0136fb37959f45df4a738bfcff205d7efb7ac08e7897a19164cb36f11d556c5a1bd3d46f0f1df3f89a36b7352b8a880c3570b2cf462cf SHA512 9106ae3cd3bdce8f4def3c7e08645f76e1a65f51e184510088e79b834899061d357422376e0efd56e1bc9dc7d3150f74837f43bd3e6c4c44faa3859844ab21b7 +DIST libglvnd-1.2.0.tar.gz 2030275 BLAKE2B b6b147f431ba9a177be9eada7af0e4ffc05c412e29f3a257746d74ff99078ecf87f7e66a97f7c1ce2779b3224bf3e7d1c4ab57c437074ae754e646c9275dae7f SHA512 f09a3ab3f1ba7397616cf2b0baf4385bd2127abb06817f8b383549cb21f36802be24a29598d7bfdd4c410b9ea95335b4ffc52529824dc88a719af52432c6b74c diff --git a/media-libs/libglvnd/libglvnd-1.2.0.ebuild b/media-libs/libglvnd/libglvnd-1.2.0.ebuild new file mode 100644 index 000000000000..c7d45b570081 --- /dev/null +++ b/media-libs/libglvnd/libglvnd-1.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 2018-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_REPO_URI="https://github.com/NVIDIA/${PN}.git" + +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 + +DESCRIPTION="The GL Vendor-Neutral Dispatch library" +HOMEPAGE="https://github.com/NVIDIA/libglvnd" +if [[ ${PV} = 9999* ]]; then + SRC_URI="" +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/NVIDIA/${PN}/releases/download/v${PV}/${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="X" + +RDEPEND=" + !media-libs/mesa[-libglvnd(-)] + !<media-libs/mesa-19.2.0_rc1 + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + )" +DEPEND="${PYTHON_DEPS} + ${RDEPEND} + X? ( x11-base/xorg-proto )" + +src_prepare() { + default + [[ $PV = 9999* ]] && eautoreconf +} + +multilib_src_configure() { + myconf=( + --disable-headers + $(use_enable X x11) + $(use_enable X glx) + ) + ECONF_SOURCE=${S} econf "${myconf[@]}" +} + +multilib_src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +multilib_src_test() { + emake check +} |