commit: ee214ae774303f653814d19f79223b50c13f81b4
Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Mon Oct 21 00:47:09 2019 +0000
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 22:48:18 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee214ae7
media-libs/vulkan-loader: Update versioning scheme
Allow the live ebuild to be used as a template for all the others.
If SNAPSHOT_COMMIT is defined, it is used for a snapshot build.
Otherwise, PV is used for a standard release build.
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
media-libs/vulkan-loader/vulkan-loader-9999.ebuild | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
index 6cb83e24e22..29452cd21b5 100644
--- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
+++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
@@ -9,10 +9,16 @@ if [[ "${PV}" == "9999" ]]; then
EGIT_SUBMODULES=()
inherit git-r3
else
+ if [[ -z ${SNAPSHOT_COMMIT} ]]; then
+ MY_PV=v${PV}
+ MY_P=Vulkan-Loader-${PV}
+ else
+ MY_PV=${SNAPSHOT_COMMIT}
+ MY_P=Vulkan-Loader-${SNAPSHOT_COMMIT}
+ fi
KEYWORDS="~amd64"
- EGIT_COMMIT="979f925d939e4daa3c823bd2b9d46ca479481fe9"
-
SRC_URI="https://github.com/KhronosGroup/Vulkan-Loader/archive/${EGIT_COMMIT}.tar.gz
-> ${P}.tar.gz"
- S="${WORKDIR}/Vulkan-Loader-${EGIT_COMMIT}"
+
SRC_URI="https://github.com/KhronosGroup/Vulkan-Loader/archive/${MY_PV}.tar.gz
-> ${P}.tar.gz"
+ S="${WORKDIR}"/${MY_P}
fi
inherit python-any-r1 cmake-multilib
@@ -26,7 +32,7 @@ IUSE="layers wayland X"
PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )"
DEPEND="${PYTHON_DEPS}
- >=dev-util/vulkan-headers-1.1.114
+ >=dev-util/vulkan-headers-${PV}
wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
X? (
x11-libs/libX11:=[${MULTILIB_USEDEP}]