[arch-commits] Commit in lib32-vulkan-validation-layers/repos/multilib-x86_64 (2 files)
Laurent Carlier
lcarlier at archlinux.org
Thu Jun 24 08:09:59 UTC 2021
Date: Thursday, June 24, 2021 @ 08:09:59
Author: lcarlier
Revision: 967183
archrelease: copy trunk to multilib-x86_64
Added:
lib32-vulkan-validation-layers/repos/multilib-x86_64/PKGBUILD
(from rev 967182, 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-06-24 08:09:55 UTC (rev 967182)
+++ PKGBUILD 2021-06-24 08:09:59 UTC (rev 967183)
@@ -1,55 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=lib32-vulkan-validation-layers
-pkgver=1.2.172
-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=('0e29bf2545658177d37052bcce09f29d3f464caf31d00a84c37368dd1a660d29')
-
-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
- 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 967182, lib32-vulkan-validation-layers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-24 08:09:59 UTC (rev 967183)
@@ -0,0 +1,55 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=lib32-vulkan-validation-layers
+pkgver=1.2.182
+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=('5a1f7027c06a8e5ae777d9053b5ce46f10ca623806a43332eb2da06fe46476d4')
+
+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
+ 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