media-libs/vulkan-layers: Bump to 1.1.92.0
authorNick Sarnie <sarnex@gentoo.org>
Fri, 30 Nov 2018 02:20:10 +0000 (21:20 -0500)
committerNick Sarnie <sarnex@gentoo.org>
Fri, 30 Nov 2018 02:45:43 +0000 (21:45 -0500)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
media-libs/vulkan-layers/Manifest
media-libs/vulkan-layers/vulkan-layers-1.1.92.0.ebuild [new file with mode: 0644]
media-libs/vulkan-layers/vulkan-layers-9999.ebuild

index 222e6f8e9359433a26a73bad208103c0f78a65ce..07fb85ac8ca85aab15311134db5ec45a34ed279e 100644 (file)
@@ -1,2 +1,3 @@
 DIST vulkan-layers-1.1.77.0.tar.gz 1099507 BLAKE2B b23efed4b99f3d7ca6a5938467b80fd0e7afed281a44eb5fd24b2e6f1340dd9bcc05d9e4a45ce936a4c90db9d3b8269ae4f4b4a786fefb16f28a0b58df5e265d SHA512 0c7f3cdcf99dafa6ea8d169ef5627c5ee392844bb0e95647faa14998fc3fd121e34ec035ce17567dff61f4efa2d88738e45eda2827b6048ae8ade25adea1a411
 DIST vulkan-layers-1.1.82.0.tar.gz 962993 BLAKE2B 6fe541116f8d4d4370cb5a0b2a98c07139577edf20653359f9f149b503c3d2e9aa98e95af14582c80033b535cc4cec5cc5f148396f472aaf75a8767579978a61 SHA512 c34b691a340830462b917890c97dd86c66eac097ba284183d8bf148267b1a881c909b89c6f9ab78ddd03a60cc884c982bc578cc67e4fbaf37d044004b006a65a
+DIST vulkan-layers-1.1.92.0.tar.gz 955136 BLAKE2B 8a039c17a231cda732aafd947c01a658c72932048307b81777254236eb6a2945e287cd098c2ee1fa264c21477b30e48ba83bfd0af4fb5f5bcb0adc502cc45a03 SHA512 09b32635bf26cdf3c1f18e57f7c7348a72c25de37c7afe03c0508cf5d3c6f39779d4a819eb92b2bf4f9300d80e757e8aaf9ec2164d7fd9f523f2926a497c08f6
diff --git a/media-libs/vulkan-layers/vulkan-layers-1.1.92.0.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.1.92.0.ebuild
new file mode 100644 (file)
index 0000000..108acb0
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-ValidationLayers.git"
+       EGIT_SUBMODULES=()
+       inherit git-r3
+else
+       EGIT_COMMIT="6e6da6ccab8931f7c30815966ef839b1155e5bec"
+       KEYWORDS="~amd64"
+       SRC_URI="https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/Vulkan-ValidationLayers-${EGIT_COMMIT}"
+fi
+
+inherit python-any-r1 cmake-multilib
+
+DESCRIPTION="Vulkan Validation Layers"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-ValidationLayers"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="X wayland"
+
+# Old packaging will cause file collisions
+RDEPEND="!<=media-libs/vulkan-loader-1.1.70.0-r999"
+DEPEND="${PYTHON_DEPS}
+               >=dev-util/glslang-7.10.2984:=[${MULTILIB_USEDEP}]
+               >=dev-util/spirv-tools-2018.2-r1:=[${MULTILIB_USEDEP}]
+               >=dev-util/vulkan-headers-1.1.82.0
+               wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+               X? (
+                  x11-libs/libX11:=[${MULTILIB_USEDEP}]
+                  x11-libs/libXrandr:=[${MULTILIB_USEDEP}]
+                  )"
+
+multilib_src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_SKIP_RPATH=True
+               -DBUILD_WSI_MIR_SUPPORT=False
+               -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+               -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+               -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+               -DBUILD_TESTS=False
+               -DGLSLANG_INSTALL_DIR="/usr"
+               -DVULKAN_HEADERS_INSTALL_DIR="/usr"
+       )
+       cmake-utils_src_configure
+}
index 3ea3133c04132339676d12baf079cfd832a6138e..45f0e2906c45929707acbea1c2d9b45ab1f7188d 100644 (file)
@@ -27,7 +27,7 @@ IUSE="X wayland"
 # Old packaging will cause file collisions
 RDEPEND="!<=media-libs/vulkan-loader-1.1.70.0-r999"
 DEPEND="${PYTHON_DEPS}
-               >=dev-util/glslang-7.9.2888:=[${MULTILIB_USEDEP}]
+               >=dev-util/glslang-7.10.2984:=[${MULTILIB_USEDEP}]
                >=dev-util/spirv-tools-2018.2-r1:=[${MULTILIB_USEDEP}]
                >=dev-util/vulkan-headers-1.1.82.0
                wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )