diff options
author | Matt Turner <mattst88@gentoo.org> | 2017-04-01 09:49:32 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2017-04-01 09:49:32 -0700 |
commit | 9bfdbb3fbcfb19f7699dc7cbe271da9ef786be38 (patch) | |
tree | 771199cd3a2f862b777005d1e8723dde3dd41520 /media-libs | |
parent | media-libs/mesa: Version bump to 17.0.3 (diff) | |
download | gentoo-9bfdbb3fbcfb19f7699dc7cbe271da9ef786be38.tar.gz gentoo-9bfdbb3fbcfb19f7699dc7cbe271da9ef786be38.tar.bz2 gentoo-9bfdbb3fbcfb19f7699dc7cbe271da9ef786be38.zip |
media-libs/vulkan-loader: Version bump to 1.0.42.2
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/vulkan-loader/Manifest | 1 | ||||
-rw-r--r-- | media-libs/vulkan-loader/vulkan-loader-1.0.42.2.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest index af60ddb2b64a..4821afb8f2d7 100644 --- a/media-libs/vulkan-loader/Manifest +++ b/media-libs/vulkan-loader/Manifest @@ -1 +1,2 @@ DIST vulkan-loader-1.0.42.0.tar.gz 3699030 SHA256 305d3070f559a3f5ad332aff285a3ea0618f9d0696cde81a58765fcb5c7c4e42 SHA512 2c35aecffc60992023184e499d036d99a3c39b3b3856341f341fc9c5b2b0c71cc49a4658634165f4d5218a7202f4c2ddfb95107ba95f2c8a9870e375cff7a15b WHIRLPOOL f1f9bc0c7f1b78c37776d8143d110853333cc8015348d30e98cad2cd28b82fabb9b0405d536310421df4f41bad283e0cad0e0d8e24e15d2d37db3e33cf1baa93 +DIST vulkan-loader-1.0.42.2.tar.gz 3701608 SHA256 bc09a5e667c4a34c0a2969c8169e55bbabf9f57a76166ce43fd6e50c8e249725 SHA512 6f591bcb69edde516cf170936e23a3f19f2f57a22b65d19683c10528ed6559501d3dae29ee1d3e820a81a5cd6e608f5710ba15f7c9bc050ea0eaceef2cf82d37 WHIRLPOOL ab5b1cc3a65414c389ab216aba9bb12018969ec6559cfc381881137aa865d8cc79c06221f903f9a3db001fed75dbaea789bc7b17dacbab545ce8fa78f3e968a7 diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.42.2.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.42.2.ebuild new file mode 100644 index 000000000000..4ab7f86d5494 --- /dev/null +++ b/media-libs/vulkan-loader/vulkan-loader-1.0.42.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5} ) + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git" + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}" +fi + +inherit python-any-r1 cmake-multilib + +DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader" +HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="wayland X" + +RDEPEND="" +DEPEND="${PYTHON_DEPS} + wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) + X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )" + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=True + -DBUILD_TESTS=False + -DBUILD_LAYERS=False + -DBUILD_DEMOS=False + -DBUILD_VKJSON=False + -DBUILD_LOADER=True + -DBUILD_WSI_MIR_SUPPORT=False + -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) + -DBUILD_WSI_XCB_SUPPORT=$(usex X) + -DBUILD_WSI_XLIB_SUPPORT=$(usex X) + ) + cmake-utils_src_configure +} + +multilib_src_install() { + keepdir /etc/vulkan/icd.d + + default +} |