[arch-commits] Commit in lib32-vulkan-validation-layers/repos/multilib-x86_64 (2 files)
Laurent Carlier
lcarlier at gemini.archlinux.org
Thu Nov 25 13:49:22 UTC 2021
Date: Thursday, November 25, 2021 @ 13:49:22
Author: lcarlier
Revision: 1054777
archrelease: copy trunk to multilib-x86_64
Added:
lib32-vulkan-validation-layers/repos/multilib-x86_64/PKGBUILD
(from rev 1054776, lib32-vulkan-validation-layers/trunk/PKGBUILD)
Deleted:
lib32-vulkan-validation-layers/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-25 13:49:18 UTC (rev 1054776)
+++ PKGBUILD 2021-11-25 13:49:22 UTC (rev 1054777)
@@ -1,55 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=lib32-vulkan-validation-layers
-pkgver=1.2.194
-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=('cmake' 'python' 'lib32-libx11' 'lib32-libxrandr' 'lib32-wayland' 'git')
-provides=('libVkLayer_khronos_validation.so')
-source=("https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v${pkgver}.tar.gz")
-sha256sums=('c2a601fa8ccf2ae633c9e929149c489fbf97e951995f8982001e129fa1b850c2')
-
-prepare() {
- cd "${srcdir}"/Vulkan-ValidationLayers*
-
- rm -rf build && mkdir build
-}
-
-build() {
- export ASFLAGS=--32
- export CFLAGS=-m32
- export CXXFLAGS=-m32
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- cd "${srcdir}"/Vulkan-ValidationLayers*/build
-
- ../scripts/update_deps.py --config release
- 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 \
- -DCMAKE_BUILD_TYPE=Release \
- ..
- make
-}
-
-package() {
- cd "${srcdir}"/Vulkan-ValidationLayers*/build
-
- make DESTDIR="${pkgdir}" install
-
- rm -r "${pkgdir}"/usr/share/vulkan
-
- install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: lib32-vulkan-validation-layers/repos/multilib-x86_64/PKGBUILD (from rev 1054776, lib32-vulkan-validation-layers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-25 13:49:22 UTC (rev 1054777)
@@ -0,0 +1,55 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=lib32-vulkan-validation-layers
+pkgver=1.2.199
+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=('cmake' 'python' 'lib32-libx11' 'lib32-libxrandr' 'lib32-wayland' 'git')
+provides=('libVkLayer_khronos_validation.so')
+source=("https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v${pkgver}.tar.gz")
+sha256sums=('1ed0659a348d16d1a22683dca72cb03ec47c136e68498d34436ec3ea65aafc4c')
+
+prepare() {
+ cd "${srcdir}"/Vulkan-ValidationLayers*
+
+ rm -rf build && mkdir build
+}
+
+build() {
+ export ASFLAGS=--32
+ export CFLAGS=-m32
+ export CXXFLAGS=-m32
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}"/Vulkan-ValidationLayers*/build
+
+ ../scripts/update_deps.py --config release
+ 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 \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}"/Vulkan-ValidationLayers*/build
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -r "${pkgdir}"/usr/share/vulkan
+
+ install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list