[arch-commits] Commit in vulkan-validation-layers/repos/extra-x86_64 (2 files)
Laurent Carlier
lcarlier at archlinux.org
Wed Apr 8 07:03:16 UTC 2020
Date: Wednesday, April 8, 2020 @ 07:03:16
Author: lcarlier
Revision: 379788
archrelease: copy trunk to extra-x86_64
Added:
vulkan-validation-layers/repos/extra-x86_64/PKGBUILD
(from rev 379787, vulkan-validation-layers/trunk/PKGBUILD)
Deleted:
vulkan-validation-layers/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-08 07:03:11 UTC (rev 379787)
+++ PKGBUILD 2020-04-08 07:03:16 UTC (rev 379788)
@@ -1,53 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=vulkan-validation-layers
-pkgver=1.2.133
-pkgrel=1
-pkgdesc="Vulkan Validation Layers"
-arch=(x86_64)
-url="https://www.khronos.org/vulkan/"
-license=('custom')
-depends=(gcc-libs vulkan-icd-loader vulkan-headers libx11)
-makedepends=(cmake python-lxml libx11 libxrandr wayland git)
-source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v${pkgver}.tar.gz)
-#source=("git+https://github.com/KhronosGroup/Vulkan-ValidationLayers.git#commit=35d091dad71304dab79758fdae4bda12f692d735")
-sha256sums=('f9a87f424960457d6798baa3c592b09a14e2f29533851dddb3fa8a110cf0ae8a')
-
-#pkgver() {
-# cd "${srcdir}/Vulkan-ValidationLayers"
-#
-# echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
-#}
-
-build() {
- 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_LIBDIR=lib \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc \
- -DCMAKE_INSTALL_DATADIR=/share \
- -DCMAKE_INSTALL_INCLUDEDIR="/usr/include/vulkan/" \
- -DBUILD_LAYER_SUPPORT_FILES=ON \
- -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() {
- groups=('vulkan-devel')
- cd "${srcdir}"/Vulkan-ValidationLayers*/build
-
- make DESTDIR="${pkgdir}" install
-
- install -dm755 "${pkgdir}"/usr/share/{licenses/,doc/}${pkgname}/
- install -m644 ../docs/* "${pkgdir}"/usr/share/doc/${pkgname}/
- install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: vulkan-validation-layers/repos/extra-x86_64/PKGBUILD (from rev 379787, vulkan-validation-layers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-08 07:03:16 UTC (rev 379788)
@@ -0,0 +1,53 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=vulkan-validation-layers
+pkgver=1.2.135
+pkgrel=1
+pkgdesc="Vulkan Validation Layers"
+arch=(x86_64)
+url="https://www.khronos.org/vulkan/"
+license=('custom')
+depends=(gcc-libs vulkan-icd-loader vulkan-headers libx11)
+makedepends=(cmake python-lxml libx11 libxrandr wayland git)
+source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v${pkgver}.tar.gz)
+#source=("git+https://github.com/KhronosGroup/Vulkan-ValidationLayers.git#commit=35d091dad71304dab79758fdae4bda12f692d735")
+sha256sums=('e2b28f99912558b15fd8cf32250c4b6e33b8ca4711a7a9102e24a3192488e772')
+
+#pkgver() {
+# cd "${srcdir}/Vulkan-ValidationLayers"
+#
+# echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
+#}
+
+build() {
+ 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_LIBDIR=lib \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_DATADIR=/share \
+ -DCMAKE_INSTALL_INCLUDEDIR="/usr/include/vulkan/" \
+ -DBUILD_LAYER_SUPPORT_FILES=ON \
+ -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() {
+ groups=('vulkan-devel')
+ cd "${srcdir}"/Vulkan-ValidationLayers*/build
+
+ make DESTDIR="${pkgdir}" install
+
+ install -dm755 "${pkgdir}"/usr/share/{licenses/,doc/}${pkgname}/
+ install -m644 ../docs/* "${pkgdir}"/usr/share/doc/${pkgname}/
+ install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list