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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5BFB138350 for ; Sun, 15 Mar 2020 21:29:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F657E117C; Sun, 15 Mar 2020 21:29:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 027CEE117A for ; Sun, 15 Mar 2020 21:29:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B95934F19B for ; Sun, 15 Mar 2020 21:29:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9478F197 for ; Sun, 15 Mar 2020 21:28:57 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1584307720.faeb6091af47d0c828d641dd74b36acd1dd8b5e1.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vulkan-loader/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/vulkan-loader/vulkan-loader-1.2.133.ebuild X-VCS-Directories: media-libs/vulkan-loader/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: faeb6091af47d0c828d641dd74b36acd1dd8b5e1 X-VCS-Branch: master Date: Sun, 15 Mar 2020 21:28:57 +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: 02899b3f-046d-4dea-a243-82a98f7591e5 X-Archives-Hash: 26db7cbc372568792db763d075d7ecee commit: faeb6091af47d0c828d641dd74b36acd1dd8b5e1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Mar 11 20:44:22 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Sun Mar 15 21:28:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faeb6091 media-libs/vulkan-loader: Fix 1.2.133, copying over from 9999 Closes: https://bugs.gentoo.org/712090 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> Signed-off-by: Matt Turner gentoo.org> .../vulkan-loader/vulkan-loader-1.2.133.ebuild | 39 ++++++++++------------ 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/media-libs/vulkan-loader/vulkan-loader-1.2.133.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.2.133.ebuild index 8d64aee32dd..a7a9bb3c842 100644 --- a/media-libs/vulkan-loader/vulkan-loader-1.2.133.ebuild +++ b/media-libs/vulkan-loader/vulkan-loader-1.2.133.ebuild @@ -2,27 +2,22 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Loader.git" +MY_PN=Vulkan-Loader +CMAKE_ECLASS="cmake" +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit cmake-multilib python-any-r1 toolchain-funcs + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" 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 + SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~ppc64 ~x86" - SRC_URI="https://github.com/KhronosGroup/Vulkan-Loader/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}"/${MY_P} + S="${WORKDIR}"/${MY_PN}-${PV} fi -inherit toolchain-funcs python-any-r1 cmake-multilib - DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader" HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader" @@ -30,14 +25,16 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="layers wayland X" -PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )" +BDEPEND=">=dev-util/cmake-3.10.2" DEPEND="${PYTHON_DEPS} >=dev-util/vulkan-headers-${PV} wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] x11-libs/libXrandr:=[${MULTILIB_USEDEP}] - )" + ) +" +PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )" multilib_src_configure() { # Integrated clang assembler doesn't work with x86 - Bug #698164 @@ -46,21 +43,21 @@ multilib_src_configure() { fi local mycmakeargs=( - -DCMAKE_SKIP_RPATH=True - -DBUILD_TESTS=False - -DBUILD_LOADER=True + -DCMAKE_SKIP_RPATH=ON + -DBUILD_TESTS=OFF + -DBUILD_LOADER=ON -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) -DBUILD_WSI_XCB_SUPPORT=$(usex X) -DBUILD_WSI_XLIB_SUPPORT=$(usex X) -DVULKAN_HEADERS_INSTALL_DIR="/usr" ) - cmake-utils_src_configure + cmake_src_configure } multilib_src_install() { keepdir /etc/vulkan/icd.d - cmake-utils_src_install + cmake_src_install } pkg_postinst() {