[arch-commits] Commit in lib32-vulkan-validation-layers/repos/multilib-x86_64 (2 files)
Laurent Carlier
lcarlier at archlinux.org
Wed Aug 15 17:42:08 UTC 2018
Date: Wednesday, August 15, 2018 @ 17:42:08
Author: lcarlier
Revision: 371868
archrelease: copy trunk to multilib-x86_64
Added:
lib32-vulkan-validation-layers/repos/multilib-x86_64/PKGBUILD
(from rev 371867, lib32-vulkan-validation-layers/trunk/PKGBUILD)
Deleted:
lib32-vulkan-validation-layers/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-15 17:42:05 UTC (rev 371867)
+++ PKGBUILD 2018-08-15 17:42:08 UTC (rev 371868)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=lib32-vulkan-validation-layers
-pkgver=1.1.79+7729+3bd8e348
-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)
-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}/usr/include
- 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 371867, lib32-vulkan-validation-layers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-15 17:42:08 UTC (rev 371868)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=lib32-vulkan-validation-layers
+pkgver=1.1.82+7759+0cb86f5f
+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)
+source=("git+https://github.com/KhronosGroup/Vulkan-ValidationLayers.git#commit=0cb86f5f6d93b142f3610940b560304240318eb4")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/Vulkan-ValidationLayers"
+
+ echo 1.1.82+$(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}/usr/include
+ 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