summaryrefslogtreecommitdiff
path: root/dev-util/vulkan-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-18 04:11:17 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-18 04:11:17 +0100
commit75b7b7da41881995754ded71c9c029cb1686096d (patch)
tree02022977f8ef1eed026d9f132e5951721aded5ef /dev-util/vulkan-tools
parent6854913aa1a57839328baafb435b84f9baacae65 (diff)
gentoo auto-resync : 18:05:2023 - 04:11:16
Diffstat (limited to 'dev-util/vulkan-tools')
-rw-r--r--dev-util/vulkan-tools/Manifest2
-rw-r--r--dev-util/vulkan-tools/vulkan-tools-1.3.246.ebuild78
2 files changed, 80 insertions, 0 deletions
diff --git a/dev-util/vulkan-tools/Manifest b/dev-util/vulkan-tools/Manifest
index faf6a902deeb..d6c0124a5640 100644
--- a/dev-util/vulkan-tools/Manifest
+++ b/dev-util/vulkan-tools/Manifest
@@ -1,4 +1,6 @@
DIST vulkan-tools-1.3.243.tar.gz 778991 BLAKE2B 4b1e2a1b92ab4b4db7967fa01980b50845e8495c4ba638fe472968ec0069ce3d5207436e081401e7cacfd673002aff681ecd97ef2545a52decbbbb98b9150fd0 SHA512 6ba4c14073006e12615fcf054cd224b6e9f7f60215454349c19f671f4f9f987f38fe3d3dcd610d9a7dc7a39c6fdfcfae61509d31e44c86cb83b8429d1cb0febf
+DIST vulkan-tools-1.3.246.tar.gz 783735 BLAKE2B fd95f9b2dac60ab5c8231b0f600dd897a2fb16c0b3782e40f39e997caafa15c22d78df064701ff68cb8e6bd18108c8ed4357b75d569ae34f4142a9ed3cf7b0d7 SHA512 5320b25fd3ec5cd9afee3a746b1e09dac1d9aac9831cd41b58d6768316eb1c490d7fd8db27610c76a27d8e6a3b681f8a3b1408dfc6d353178594a7b74ef4f6d8
EBUILD vulkan-tools-1.3.243.ebuild 1895 BLAKE2B b62ab9d1a808a44ec9b5c756cb914e0807ca043e9515e89320203c39b4d18613cf1c8728eb97a609b1e815e096ac0731dd4061bcc8d224de9bb3198dc2869531 SHA512 11e950158f1ee4dc2c0d4960c4496f8e518f7e02b9ed90ebd643b1270fd2515dd7f1a9cff617d11f3d7bfa850b2832b7a5ba0686aef868ad58c8b02852ab9e70
+EBUILD vulkan-tools-1.3.246.ebuild 1900 BLAKE2B 6599fa23b8bb2e178420e33d7e6d093467a72cd0b04028b92c59d0434458f80f81b6e34eba26143e76c831624f222080cf7cf1811941e36f0addc83139fc2d83 SHA512 c507621b6a5535d02371d4cf3c3bb12edc82b5322ebf47ae9c52af04090c4f0ac292f6fd89244c9fb7592c4d2698c2f2da896f1665222e3235890b128dbf12dc
EBUILD vulkan-tools-9999.ebuild 1900 BLAKE2B 6599fa23b8bb2e178420e33d7e6d093467a72cd0b04028b92c59d0434458f80f81b6e34eba26143e76c831624f222080cf7cf1811941e36f0addc83139fc2d83 SHA512 c507621b6a5535d02371d4cf3c3bb12edc82b5322ebf47ae9c52af04090c4f0ac292f6fd89244c9fb7592c4d2698c2f2da896f1665222e3235890b128dbf12dc
MISC metadata.xml 500 BLAKE2B 9fb4ff756cb14accac7b9c8e262ba8fc0108f68acaeaad81085ea91939ef683a21dfdb68ac4689e71c6b3b490e758af2711b1c436c65a7aa0e3b030aec982c93 SHA512 03a8e309f115934d5195da8aaa7bcd3e4f95f28269671a2eb8426941bb9bae815bcd3448d2e97006ddb2ab7ec52179117604b6fbf0f293e4285b303da573d435
diff --git a/dev-util/vulkan-tools/vulkan-tools-1.3.246.ebuild b/dev-util/vulkan-tools/vulkan-tools-1.3.246.ebuild
new file mode 100644
index 000000000000..ae7ec142589b
--- /dev/null
+++ b/dev-util/vulkan-tools/vulkan-tools-1.3.246.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=Vulkan-Tools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit cmake-multilib python-any-r1
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
+ EGIT_SUBMODULES=()
+ inherit git-r3
+else
+ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/sdk-${PV}.0.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv"
+ S="${WORKDIR}"/${MY_PN}-sdk-${PV}.0
+fi
+
+DESCRIPTION="Official Vulkan Tools and Utilities for Windows, Linux, Android, and MacOS"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Tools"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="cube wayland +X"
+
+# Cube demo only supports one window system at a time
+REQUIRED_USE="cube? ( ^^ ( X wayland ) )"
+
+BDEPEND="${PYTHON_DEPS}
+ cube? ( ~dev-util/glslang-${PV}:=[${MULTILIB_USEDEP}] )
+"
+RDEPEND="
+ ~media-libs/vulkan-loader-${PV}:=[${MULTILIB_USEDEP},wayland?,X?]
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+ X? (
+ x11-libs/libX11:=[${MULTILIB_USEDEP}]
+ x11-libs/libXrandr:=[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}
+ ~dev-util/vulkan-headers-${PV}
+"
+
+pkg_setup() {
+ MULTILIB_CHOST_TOOLS=(
+ /usr/bin/vulkaninfo
+ )
+
+ use cube && MULTILIB_CHOST_TOOLS+=(
+ /usr/bin/vkcube
+ /usr/bin/vkcubepp
+ )
+
+ python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG"
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG"
+ -DCMAKE_SKIP_RPATH=ON
+ -DBUILD_VULKANINFO=ON
+ -DBUILD_CUBE=$(usex cube)
+ -DBUILD_WERROR=OFF
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ -DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr"
+ )
+
+ use cube && mycmakeargs+=(
+ -DGLSLANG_INSTALL_DIR="${ESYSROOT}/usr"
+ -DCUBE_WSI_SELECTION=$(usex X XCB WAYLAND)
+ )
+
+ cmake_src_configure
+}