summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/vulkan-loader')
-rw-r--r--media-libs/vulkan-loader/Manifest1
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.0.39.1.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest
index 6a8f7fb0f390..7af2b8896f7f 100644
--- a/media-libs/vulkan-loader/Manifest
+++ b/media-libs/vulkan-loader/Manifest
@@ -1 +1,2 @@
DIST vulkan-loader-1.0.39.0.tar.gz 3614236 SHA256 146efb378dc143f9dc15843b29aec8e5a0ad74161628931f0057d9517457a846 SHA512 23d7ced204f76952d8b15b192c325d80264b75a7128d45a5d5dd7e9c033157ef18c9002138d89857f376b38b55974070ffacc60169ada19329f8ccd8122294fc WHIRLPOOL fb2565abc33f21fd02ff583768c0c23613c9d978e681e017639edefea276c4ff2153b10d042a9e35ee95c41b5276178210e9ee92e4c380e1d67419e464379f3d
+DIST vulkan-loader-1.0.39.1.tar.gz 3614260 SHA256 39d130d2fc4cd59e3e3477330944e8c6f2beb8dff05a94af3861487a73d3952a SHA512 f5d808efb786d658b5e8837bb4910bd2e6ac536ada830b0f19a1602995849ebcc3f80f95890a6a2debeb05a62c0460d7af6e0041c0d7f79c70b9422be07bd79a WHIRLPOOL 0c9eb00cf872d3a6e375383194a7ccef59e40daded7c86554439eb94bb343f58cbb02b76c760aaab34f717655de65173b146e6c85ae4b1df01aee1e50c751e7d
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.39.1.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.39.1.ebuild
new file mode 100644
index 000000000000..bc5901ed390d
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.0.39.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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://www.khronos.org/vulkan/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND=""
+
+DOCS=( README.md LICENSE.txt )
+
+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
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ keepdir /etc/vulkan/icd.d
+
+ cd "${BUILD_DIR}/loader" || die
+ dolib libvulkan.so.1.*
+ dosym libvulkan.so.1.* /usr/$(get_libdir)/libvulkan.so.1
+ dosym libvulkan.so.1.* /usr/$(get_libdir)/libvulkan.so
+
+ cd "${S}" || die
+ insinto /usr/include/vulkan
+ doins include/vulkan/*.h
+ einstalldocs
+}