From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 73CF115810F for ; Mon, 12 Jun 2023 01:24:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA449E0885; Mon, 12 Jun 2023 01:24:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0474E0885 for ; Mon, 12 Jun 2023 01:24:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E268534143C for ; Mon, 12 Jun 2023 01:24:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 869B9A96 for ; Mon, 12 Jun 2023 01:24:20 +0000 (UTC) From: "Nick Sarnie" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nick Sarnie" Message-ID: <1686532900.9b7f81fff646baa4b75d8cea5a72e1006302c124.sarnex@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/vulkan-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/vulkan-tools/Manifest dev-util/vulkan-tools/vulkan-tools-1.3.250.ebuild X-VCS-Directories: dev-util/vulkan-tools/ X-VCS-Committer: sarnex X-VCS-Committer-Name: Nick Sarnie X-VCS-Revision: 9b7f81fff646baa4b75d8cea5a72e1006302c124 X-VCS-Branch: master Date: Mon, 12 Jun 2023 01:24:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e9167760-6482-4c54-a58c-643de78c725f X-Archives-Hash: bea26f6fe049c0e30f572fbe06c3ea75 commit: 9b7f81fff646baa4b75d8cea5a72e1006302c124 Author: Nick Sarnie gentoo org> AuthorDate: Mon Jun 12 01:14:57 2023 +0000 Commit: Nick Sarnie gentoo org> CommitDate: Mon Jun 12 01:21:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7f81ff dev-util/vulkan-tools: add 1.3.250 Signed-off-by: Nick Sarnie gentoo.org> dev-util/vulkan-tools/Manifest | 1 + dev-util/vulkan-tools/vulkan-tools-1.3.250.ebuild | 78 +++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/dev-util/vulkan-tools/Manifest b/dev-util/vulkan-tools/Manifest index 03b83a0f1bc8..1966d7e3ca7e 100644 --- a/dev-util/vulkan-tools/Manifest +++ b/dev-util/vulkan-tools/Manifest @@ -1,2 +1,3 @@ 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 +DIST vulkan-tools-1.3.250.tar.gz 785979 BLAKE2B d496f3859d3884cc2aaffdae62db9776f56dae1a45cc74bf093517d299fb9ff4e28d6a5227436c30faeab3fb5bceed6dec1a82bc327c539c9038b1a08960ab50 SHA512 7eecdd98e6be2f5dc66b32ed9962b0b7225f94d6185b490da0a6f3c6699ef6626a4db28615c73ecf6370efd6ccd5904e352c78947ec50dec57e32ae734f134b2 diff --git a/dev-util/vulkan-tools/vulkan-tools-1.3.250.ebuild b/dev-util/vulkan-tools/vulkan-tools-1.3.250.ebuild new file mode 100644 index 000000000000..1269dcab52ee --- /dev/null +++ b/dev-util/vulkan-tools/vulkan-tools-1.3.250.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..12} ) +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 +}