From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-911618-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 53CA41395E4
	for <garchives@archives.gentoo.org>; Tue, 15 Nov 2016 01:25:45 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C7A26E0B5B;
	Tue, 15 Nov 2016 01:25:42 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A079AE0B5B
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Nov 2016 01:25:42 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 476D33416A0
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Nov 2016 01:25:41 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B093724C0
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Nov 2016 01:25:39 +0000 (UTC)
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org>
Message-ID: <1479173109.57af98d0165435bae03b4a067502c608107ba022.mattst88@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vulkan-loader/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/vulkan-loader/Manifest media-libs/vulkan-loader/metadata.xml media-libs/vulkan-loader/vulkan-loader-1.0.30.0.ebuild
X-VCS-Directories: media-libs/vulkan-loader/
X-VCS-Committer: mattst88
X-VCS-Committer-Name: Matt Turner
X-VCS-Revision: 57af98d0165435bae03b4a067502c608107ba022
X-VCS-Branch: master
Date: Tue, 15 Nov 2016 01:25:39 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 0e48887e-f2d2-4dfe-81df-91acc6166510
X-Archives-Hash: 21db6a1b1cd8d223c3fc0c401781c3ca

commit:     57af98d0165435bae03b4a067502c608107ba022
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  2 21:04:11 2016 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 01:25:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57af98d0

media-libs/vulkan-loader: New package.

 media-libs/vulkan-loader/Manifest                  |  1 +
 media-libs/vulkan-loader/metadata.xml              | 11 +++++
 .../vulkan-loader/vulkan-loader-1.0.30.0.ebuild    | 55 ++++++++++++++++++++++
 3 files changed, 67 insertions(+)

diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest
new file mode 100644
index 00000000..af2a0b8
--- /dev/null
+++ b/media-libs/vulkan-loader/Manifest
@@ -0,0 +1 @@
+DIST vulkan-loader-1.0.30.0.tar.gz 2525490 SHA256 c72586930967dd815bbd6d1cf8a20378e360c06814c78c8c8e6896d97c9541dc SHA512 0dd35aa1203b5420c7edd5bc56d8fca13472674dfe126702e09c2776f2bf68c18b762e551d9d5fd2def1200c7c757c9e590dd8e08adbcb064401d327b9a42960 WHIRLPOOL 634595ca53faac69f3eb5cb25cec4e044577fb3ac69b131e8cfd411c576e15ded0a4e1f4a683c23a12fd4e1ab7c73d490ffa0cefa6653eedb8e5a993fc74d9f1

diff --git a/media-libs/vulkan-loader/metadata.xml b/media-libs/vulkan-loader/metadata.xml
new file mode 100644
index 00000000..1c806f3
--- /dev/null
+++ b/media-libs/vulkan-loader/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>x11@gentoo.org</email>
+		<name>X11</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">KhronosGroup/Vulkan-LoaderAndValidationLayers</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.30.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.30.0.ebuild
new file mode 100644
index 00000000..c8b0993
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.0.30.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 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=True
+		-DBUILD_DEMOS=False
+		-DBUILD_VKJSON=False
+		-DBUILD_LOADER=True
+	)
+	cmake-utils_src_configure
+}
+
+multilib_src_install() {
+	keepdir /etc/vulkan/icd.d
+
+	cd "${BUILD_DIR}/loader"
+	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}"
+	insinto /usr/include/vulkan
+	doins include/vulkan/*.h
+	einstalldocs
+}