diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /dev-util/vulkan-headers/vulkan-headers-9999.ebuild | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'dev-util/vulkan-headers/vulkan-headers-9999.ebuild')
-rw-r--r-- | dev-util/vulkan-headers/vulkan-headers-9999.ebuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild index 06f98f73c88e..4dfe2c54e31d 100644 --- a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild +++ b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit cmake-utils @@ -9,17 +9,23 @@ if [[ "${PV}" == "9999" ]]; then EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Headers.git" inherit git-r3 else - EGIT_COMMIT="b1577d5fbd5424c863710aa156aaafa77cae3de8" + if [[ -z ${SNAPSHOT_COMMIT} ]]; then + MY_PV=v${PV} + MY_P=Vulkan-Headers-${PV} + else + MY_PV=${SNAPSHOT_COMMIT} + MY_P=Vulkan-Headers-${SNAPSHOT_COMMIT} + fi KEYWORDS="~amd64 ~x86" - SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/Vulkan-Headers-${EGIT_COMMIT}" + SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${MY_P} fi +RDEPEND="!<dev-util/vulkan-tools-1.1.124 + !<media-libs/vulkan-layers-1.1.125" + DESCRIPTION="Vulkan Header files and API registry" HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers" LICENSE="Apache-2.0" SLOT="0" - -# Old packaging will cause file collisions -RDEPEND="!<=media-libs/vulkan-loader-1.1.70.0-r999" |