[arch-commits] Commit in (4 files)
Laurent Carlier
lcarlier at archlinux.org
Sat Jul 21 06:47:23 UTC 2018
Date: Saturday, July 21, 2018 @ 06:47:22
Author: lcarlier
Revision: 362659
splitted from lib32-vulkan-loader-layers
Added:
lib32-vulkan-validation-layers/
lib32-vulkan-validation-layers/repos/
lib32-vulkan-validation-layers/trunk/
lib32-vulkan-validation-layers/trunk/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
Added: lib32-vulkan-validation-layers/trunk/PKGBUILD
===================================================================
--- lib32-vulkan-validation-layers/trunk/PKGBUILD (rev 0)
+++ lib32-vulkan-validation-layers/trunk/PKGBUILD 2018-07-21 06:47:22 UTC (rev 362659)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=lib32-vulkan-validation-layers
+pkgver=1.1.73.0
+pkgrel=1
+arch=(x86_64)
+pkgdesc="Vulkan Validation Layers (32-bit)"
+url="https://www.khronos.org/vulkan/"
+license=('custom')
+depends=(lib32-gcc-libs lib32-vulkan-icd-loader vulkan-headers)
+makedepends=(git cmake python-lxml lib32-libx11 lib32-libxrandr lib32-wayland)
+source=("git+https://github.com/KhronosGroup/Vulkan-ValidationLayers.git#commit=3bd8e3489213612ff6129fc6e668d6d355d3c73c")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/Vulkan-ValidationLayers"
+
+ echo 1.1.79+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
+}
+
+build() {
+ export ASFLAGS=--32
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/Vulkan-ValidationLayers"
+
+ rm -rf build ; mkdir build ; cd build
+ ../scripts/update_deps.py
+ cmake -C helper.cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LIBDIR=lib32 \
+ -DCMAKE_INSTALL_DATADIR=/share \
+ -DCMAKE_SKIP_RPATH=True \
+ -DBUILD_TESTS=Off \
+ -DBUILD_WSI_XCB_SUPPORT=On \
+ -DBUILD_WSI_XLIB_SUPPORT=On \
+ -DBUILD_WSI_WAYLAND_SUPPORT=On \
+ -DBUILD_WSI_MIR_SUPPORT=Off \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}/Vulkan-ValidationLayers/build"
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -r ${pkgdir}/etc
+ rm -r ${pkgdir}/usr/bin
+ rm -r ${pkgdir}/usr/include
+ rm -r ${pkgdir}/usr/lib32/pkgconfig
+
+ install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+ install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+
Property changes on: lib32-vulkan-validation-layers/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list