summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sarnie <sarnex@gentoo.org>2018-06-02 07:11:17 -0400
committerNick Sarnie <sarnex@gentoo.org>2018-06-02 07:34:37 -0400
commit26871dd47a92e0468cd80f04c78aab7e47cb13dd (patch)
tree18aed8dda9e8e0e0923dd0ecbe83fae40e14b06a /dev-util/vulkan-headers
parentprofiles: arm64: Mask >=media-video/vlc-3.0.3[chromecast] (diff)
downloadgentoo-26871dd47a92e0468cd80f04c78aab7e47cb13dd.tar.gz
gentoo-26871dd47a92e0468cd80f04c78aab7e47cb13dd.tar.bz2
gentoo-26871dd47a92e0468cd80f04c78aab7e47cb13dd.zip
dev-util/vulkan-headers: Support install target, resnapshot, drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-util/vulkan-headers')
-rw-r--r--dev-util/vulkan-headers/Manifest2
-rw-r--r--dev-util/vulkan-headers/vulkan-headers-0_p20180601.ebuild (renamed from dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild)11
-rw-r--r--dev-util/vulkan-headers/vulkan-headers-9999.ebuild11
3 files changed, 7 insertions, 17 deletions
diff --git a/dev-util/vulkan-headers/Manifest b/dev-util/vulkan-headers/Manifest
index 15c4e47500f2..889ce1c830f1 100644
--- a/dev-util/vulkan-headers/Manifest
+++ b/dev-util/vulkan-headers/Manifest
@@ -1 +1 @@
-DIST vulkan-headers-0_p20180526.tar.gz 451276 BLAKE2B 7090189d4620c32f80ee9ca2e515f3e563c5ab32d695d8a6f34396071fa54989e6048f42de54c32f28fe0a2ba5d18c2028be35793153acadaaa1377b8172787c SHA512 a6af6dbfcc5512b7a303dad3e9e31a0eb09559da94b71dfb0dc21494e66ac973f5349abdfde1e6ed5d02445f32e5d251070ce45bc73964bec51cb0ffc3930d55
+DIST vulkan-headers-0_p20180601.tar.gz 451276 BLAKE2B 7090189d4620c32f80ee9ca2e515f3e563c5ab32d695d8a6f34396071fa54989e6048f42de54c32f28fe0a2ba5d18c2028be35793153acadaaa1377b8172787c SHA512 a6af6dbfcc5512b7a303dad3e9e31a0eb09559da94b71dfb0dc21494e66ac973f5349abdfde1e6ed5d02445f32e5d251070ce45bc73964bec51cb0ffc3930d55
diff --git a/dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild b/dev-util/vulkan-headers/vulkan-headers-0_p20180601.ebuild
index 531392083dfb..d6e2cd6c4876 100644
--- a/dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild
+++ b/dev-util/vulkan-headers/vulkan-headers-0_p20180601.ebuild
@@ -3,11 +3,13 @@
EAPI=6
+inherit cmake-utils
+
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Headers.git"
inherit git-r3
else
- EGIT_COMMIT="a901a3edf256c1a1441433e77feac919fb8e5ed6"
+ EGIT_COMMIT="afd12b7bdcd63bf4d8d669d6e06a368a0954b6e3"
KEYWORDS="~amd64"
SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Vulkan-Headers-${EGIT_COMMIT}"
@@ -21,10 +23,3 @@ SLOT="0"
# Old packaging will cause file collisions
RDEPEND="!<=media-libs/vulkan-loader-1.1.70.0-r999"
-
-src_install() {
- mkdir "include/vulkan/registry" || die
- mv "registry/" "include/vulkan/" || die
- insinto /usr/include/vulkan
- doins -r include/vulkan/*
-}
diff --git a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
index 531392083dfb..d6e2cd6c4876 100644
--- a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
+++ b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
@@ -3,11 +3,13 @@
EAPI=6
+inherit cmake-utils
+
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Headers.git"
inherit git-r3
else
- EGIT_COMMIT="a901a3edf256c1a1441433e77feac919fb8e5ed6"
+ EGIT_COMMIT="afd12b7bdcd63bf4d8d669d6e06a368a0954b6e3"
KEYWORDS="~amd64"
SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Vulkan-Headers-${EGIT_COMMIT}"
@@ -21,10 +23,3 @@ SLOT="0"
# Old packaging will cause file collisions
RDEPEND="!<=media-libs/vulkan-loader-1.1.70.0-r999"
-
-src_install() {
- mkdir "include/vulkan/registry" || die
- mv "registry/" "include/vulkan/" || die
- insinto /usr/include/vulkan
- doins -r include/vulkan/*
-}