* update vulkan-validation-layers to 1.3.290-2

This commit is contained in:
Alexander Baldeck 2024-09-29 10:26:06 +02:00
parent e43fafd1d7
commit ac67982998
3 changed files with 37 additions and 14 deletions

View File

@ -0,0 +1,27 @@
pkgbase = vulkan-validation-layers
pkgdesc = Vulkan Validation Layers
pkgver = 1.3.290
pkgrel = 2
url = https://www.khronos.org/vulkan/
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
groups = vulkan-devel
license = custom
makedepends = cmake
makedepends = python-lxml
makedepends = libxrandr
makedepends = wayland
makedepends = ninja
makedepends = git
depends = gcc-libs
depends = vulkan-icd-loader
depends = vulkan-headers
depends = libx11
options = !lto
source = https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/vulkan-sdk-1.3.290.tar.gz
sha256sums = c5ea27590207423bcb0686004f2814e136c44fa749e1fb9894d0d5cb713a8948
pkgname = vulkan-validation-layers

View File

@ -0,0 +1,4 @@
[vulkan-validation-layers]
source = "git"
git = "https://github.com/KhronosGroup/Vulkan-ValidationLayers.git"
prefix = "v"

View File

@ -2,19 +2,19 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=vulkan-validation-layers
pkgver=1.3.275
pkgrel=1
pkgver=1.3.290
pkgrel=2
pkgdesc="Vulkan Validation Layers"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://www.khronos.org/vulkan/"
license=('custom')
groups=('vulkan-devel')
depends=('gcc-libs' 'vulkan-icd-loader' 'vulkan-headers' 'libx11')
makedepends=('cmake' 'python-lxml' 'libxrandr' 'wayland' 'git')
options=('!lto' '!strip') # disable LTO (https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/5994)
makedepends=('cmake' 'python-lxml' 'libxrandr' 'wayland' 'ninja' 'git')
options=('!lto') # disable LTO (https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/5994)
source=("https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/vulkan-sdk-${pkgver}.tar.gz")
#source=("git+https://github.com/KhronosGroup/Vulkan-ValidationLayers.git#commit=35d091dad71304dab79758fdae4bda12f692d735")
sha256sums=('09e74ce39198d20e322d2f8401719d0724b84055754105def1926dabcdb82480')
sha256sums=('c5ea27590207423bcb0686004f2814e136c44fa749e1fb9894d0d5cb713a8948')
#pkgver() {
# cd "${srcdir}/Vulkan-ValidationLayers"
@ -31,15 +31,7 @@ prepare() {
build() {
cd "${srcdir}"/Vulkan-ValidationLayers*/build
# case "${CARCH}" in
# powerpc*|riscv64)
# LD_FLAGS+=' -Wl,--no-keep-memory'
# CFLAGS="${CFLAGS/-O?/-Os}"
# CXXFLAGS="${CXXFLAGS/-O?/-Os}"
# ;;
# esac
../scripts/update_deps.py
../scripts/update_deps.py --config release --generator Ninja
cmake -C helper.cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \