mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/vulkan-layers: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST vulkan-layers-0_pre20180601.tar.gz 1099188 BLAKE2B 74bc6aeb789485768639482bee5d4383db80344b3bd1f25c8767769d99199fb7db8c9bb6dfc597290aac1bec742851658300e52884fc734f5f6a1e4f8d3f8194 SHA512 7212a5359e56ef593d05c9aa61fd64f13737c55757a38d5d45d71f97f59a0719bf154dfc5a62a54905a944b3fcc24c08b56226c517fc79180a6f6584bf54850b
|
||||
DIST vulkan-layers-1.1.77.0.tar.gz 1099507 BLAKE2B b23efed4b99f3d7ca6a5938467b80fd0e7afed281a44eb5fd24b2e6f1340dd9bcc05d9e4a45ce936a4c90db9d3b8269ae4f4b4a786fefb16f28a0b58df5e265d SHA512 0c7f3cdcf99dafa6ea8d169ef5627c5ee392844bb0e95647faa14998fc3fd121e34ec035ce17567dff61f4efa2d88738e45eda2827b6048ae8ade25adea1a411
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# 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="cd83f4cb83aad4b279642beb9e9d6bd988b66338"
|
||||
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:=[${MULTILIB_USEDEP}]
|
||||
>=dev-util/spirv-tools-2018.2-r1:=[${MULTILIB_USEDEP}]
|
||||
dev-util/vulkan-headers
|
||||
wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
|
||||
X? (
|
||||
x11-libs/libX11:=[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr:=[${MULTILIB_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-Use-usr-for-vulkan-headers.patch"
|
||||
"${FILESDIR}/${PN}-Use-a-file-to-get-the-spirv-tools-commit-ID.patch"
|
||||
)
|
||||
|
||||
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"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user