summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-11 19:52:48 +0100
committerMatt Turner <mattst88@gentoo.org>2020-03-15 14:28:03 -0700
commit8a31e1bad6691b7b43d2d1e722a67247c65c236a (patch)
tree34ebb1938afc3e561899c5538507e86951ae0afe /dev-util/vulkan-headers/vulkan-headers-1.2.133.ebuild
parentdev-util/vulkan-headers: 9999 cleanup, cmake.eclass, >=cmake-3.10.2 (diff)
downloadgentoo-8a31e1bad6691b7b43d2d1e722a67247c65c236a.tar.gz
gentoo-8a31e1bad6691b7b43d2d1e722a67247c65c236a.tar.bz2
gentoo-8a31e1bad6691b7b43d2d1e722a67247c65c236a.zip
dev-util/vulkan-headers: Fix 1.2.133, copying over from 9999
No change to tarball manifest. Closes: https://bugs.gentoo.org/712090 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-util/vulkan-headers/vulkan-headers-1.2.133.ebuild')
-rw-r--r--dev-util/vulkan-headers/vulkan-headers-1.2.133.ebuild27
1 files changed, 12 insertions, 15 deletions
diff --git a/dev-util/vulkan-headers/vulkan-headers-1.2.133.ebuild b/dev-util/vulkan-headers/vulkan-headers-1.2.133.ebuild
index a6116b545273..0e6fb86ea21e 100644
--- a/dev-util/vulkan-headers/vulkan-headers-1.2.133.ebuild
+++ b/dev-util/vulkan-headers/vulkan-headers-1.2.133.ebuild
@@ -3,29 +3,26 @@
EAPI=7
-inherit cmake-utils
+MY_PN=Vulkan-Headers
+inherit cmake
-if [[ "${PV}" == "9999" ]]; then
- EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Headers.git"
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
inherit git-r3
else
- 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
+ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~ppc64 ~x86"
- SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/${MY_P}
+ S="${WORKDIR}"/${MY_PN}-${PV}
fi
-RDEPEND="!<dev-util/vulkan-tools-${PV}
- !<media-libs/vulkan-layers-${PV}"
-
DESCRIPTION="Vulkan Header files and API registry"
HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers"
LICENSE="Apache-2.0"
SLOT="0"
+
+BDEPEND=">=dev-util/cmake-3.10.2"
+RDEPEND="
+ !<dev-util/vulkan-tools-1.1.124
+ !<media-libs/vulkan-layers-1.1.125
+"