dev-util/vulkan-headers: Block against old vulkan-loader packaging
authorNick Sarnie <sarnex@gentoo.org>
Sun, 27 May 2018 01:53:00 +0000 (21:53 -0400)
committerNick Sarnie <sarnex@gentoo.org>
Sun, 27 May 2018 02:01:27 +0000 (22:01 -0400)
Reported-by: [Arfrever] on IRC
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild
dev-util/vulkan-headers/vulkan-headers-9999.ebuild

index 6ee6d098e650637bff09b91c14a096e3871343fa..531392083dfb000d0595b1bed3d79c3c6f3716aa 100644 (file)
@@ -19,6 +19,9 @@ 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"
+
 src_install() {
        mkdir "include/vulkan/registry" || die
        mv "registry/" "include/vulkan/" || die
index 6ee6d098e650637bff09b91c14a096e3871343fa..531392083dfb000d0595b1bed3d79c3c6f3716aa 100644 (file)
@@ -19,6 +19,9 @@ 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"
+
 src_install() {
        mkdir "include/vulkan/registry" || die
        mv "registry/" "include/vulkan/" || die