[arch-commits] Commit in vulkan-lunarg-tools/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Fri Jul 26 13:56:55 UTC 2019


    Date: Friday, July 26, 2019 @ 13:56:55
  Author: lcarlier
Revision: 358624

archrelease: copy trunk to extra-x86_64

Added:
  vulkan-lunarg-tools/repos/extra-x86_64/PKGBUILD
    (from rev 358623, vulkan-lunarg-tools/trunk/PKGBUILD)
Deleted:
  vulkan-lunarg-tools/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  182 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 90 insertions(+), 92 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-26 13:56:50 UTC (rev 358623)
+++ PKGBUILD	2019-07-26 13:56:55 UTC (rev 358624)
@@ -1,92 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgbase=vulkan-lunarg-tools
-pkgname=(vulkan-trace vulkan-extra-layers)
-pkgver=1.1.97.0+10340+118b2f331
-pkgrel=1
-arch=(x86_64)
-url="http://lunarg.com/"
-license=('custom')
-depends=()
-makedepends=(git cmake python vulkan-headers vulkan-validation-layers vulkan-icd-loader glslang spirv-tools libx11 libxrandr wayland qt5-svg)
-source=("VulkanLunargTools::git+https://github.com/LunarG/VulkanTools.git#commit=118b2f331839820636539390cdc777ef9e70391f")
-sha256sums=('SKIP')
-
-_install() {
-  local src f dir
-  for src; do
-    f="${src#fakeinstall/}"
-    dir="${pkgdir}/${f%/*}"
-    install -m755 -d "${dir}"
-    mv -v "${src}" "${dir}/"
-  done
-}
-
-pkgver() {
-  cd "${srcdir}/VulkanLunargTools"
-
-  echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
-}
-
-build() {
-  cd "${srcdir}/VulkanLunargTools"
-
-  ./update_external_sources.sh
-
-  rm -rf build ; mkdir build ; cd build
-  cmake \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
-    -DCMAKE_INSTALL_DATADIR=/usr/share \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_SKIP_RPATH=True \
-    -DGLSLANG_INSTALL_DIR=/usr \
-    -DVULKAN_HEADERS_INSTALL_DIR=/usr/include/vulkan \
-    -DVULKAN_LOADER_INSTALL_DIR=/usr \
-    -DVULKAN_VALIDATIONLAYERS_INSTALL_DIR=/usr \
-    -DBUILD_WSI_XCB_SUPPORT=On \
-    -DBUILD_WSI_XLIB_SUPPORT=On \
-    -DBUILD_WSI_WAYLAND_SUPPORT=On \
-    -DBUILD_TESTS=OFF \
-    -DBUILD_VIA=OFF \
-    -DCMAKE_BUILD_TYPE=Release \
-    ..
-  make
-  make DESTDIR="${srcdir}/fakeinstall" install
-}
-
-package_vulkan-trace() {
-  pkgdesc="Vulkan tracing and replaying tools"
-  depends=(vulkan-validation-layers qt5-svg)
-  groups=('vulkan-devel')
-
-  _install fakeinstall/usr/bin/*
-  _install fakeinstall/usr/lib/libVkLayer_vktrace_layer.so
-  _install fakeinstall/usr/lib/libvkdisplay_*.so
-  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_vktrace_layer.json
-
-  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
-  install -m644 VulkanLunargTools/vktrace/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/
-  install -m644 VulkanLunargTools/vktrace/vktrace.md "${pkgdir}"/usr/share/doc/${pkgname}/
-}
-
-package_vulkan-extra-layers() {
-  pkgdesc="Extra layers for Vulkan development"
-  depends=(vulkan-validation-layers)
-  groups=('vulkan-devel')
-  
-  _install fakeinstall/usr/lib/libVkLayer_api_dump.so
-  _install fakeinstall/usr/lib/libVkLayer_monitor.so
-  _install fakeinstall/usr/lib/libVkLayer_screenshot.so
-  _install fakeinstall/usr/lib/libVkLayer_device_simulation.so
-
-  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_api_dump.json
-  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_monitor.json
-  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_screenshot.json
-  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_device_simulation.json
-
-  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
-  install -m644 VulkanLunargTools/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-  install -m644 VulkanLunargTools/layersvt/README.md "${pkgdir}"/usr/share/doc/${pkgname}/
-}
-

Copied: vulkan-lunarg-tools/repos/extra-x86_64/PKGBUILD (from rev 358623, vulkan-lunarg-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-26 13:56:55 UTC (rev 358624)
@@ -0,0 +1,90 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgbase=vulkan-lunarg-tools
+pkgname=(vulkan-trace vulkan-extra-layers)
+pkgver=1.1.114+10539+8792090d5
+pkgrel=1
+arch=(x86_64)
+url="http://lunarg.com/"
+license=('custom')
+depends=()
+makedepends=(git cmake python libx11 libxrandr wayland qt5-svg qt5-webengine)
+#source=("https://github.com/LunarG/VulkanTools/archive/v${pkgver}.tar.gz")
+source=("VulkanTools-sdk::git+https://github.com/LunarG/VulkanTools.git#commit=8792090d531807522c808663b10043da4a2f502c")
+sha256sums=('SKIP')
+
+_install() {
+  local src f dir
+  for src; do
+    f="${src#fakeinstall/}"
+    dir="${pkgdir}/${f%/*}"
+    install -m755 -d "${dir}"
+    mv -v "${src}" "${dir}/"
+  done
+}
+
+pkgver() {
+  cd "${srcdir}"/VulkanTools*
+
+  echo 1.1.114+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
+}
+
+build() {
+  cd "${srcdir}"/VulkanTools*
+
+  ./update_external_sources.sh
+  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_DATADIR=/usr/share \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_SKIP_RPATH=True \
+    -DBUILD_WSI_XCB_SUPPORT=On \
+    -DBUILD_WSI_XLIB_SUPPORT=On \
+    -DBUILD_WSI_WAYLAND_SUPPORT=On \
+    -DBUILD_TESTS=OFF \
+    -DBUILD_VIA=OFF \
+    -DCMAKE_BUILD_TYPE=Release \
+    ..
+  make
+  make DESTDIR="${srcdir}/fakeinstall" install
+}
+
+package_vulkan-trace() {
+  pkgdesc="Vulkan tracing and replaying tools"
+  depends=(vulkan-validation-layers qt5-svg qt5-webengine)
+  groups=('vulkan-devel')
+
+  _install fakeinstall/usr/bin/*
+  _install fakeinstall/usr/lib/libVkLayer_vktrace_layer.so
+  _install fakeinstall/usr/lib/libvkdisplay_*.so
+  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_vktrace_layer.json
+
+  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
+  install -m644 VulkanTools*/vktrace/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/
+  install -m644 VulkanTools*/vktrace/vktrace.md "${pkgdir}"/usr/share/doc/${pkgname}/
+}
+
+package_vulkan-extra-layers() {
+  pkgdesc="Extra layers for Vulkan development"
+  depends=(vulkan-validation-layers)
+  groups=('vulkan-devel')
+  
+  _install fakeinstall/usr/lib/libVkLayer_api_dump.so
+  _install fakeinstall/usr/lib/libVkLayer_monitor.so
+  _install fakeinstall/usr/lib/libVkLayer_screenshot.so
+  _install fakeinstall/usr/lib/libVkLayer_device_simulation.so
+
+  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_api_dump.json
+  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_monitor.json
+  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_screenshot.json
+  _install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_device_simulation.json
+
+  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
+  install -m644 VulkanTools*/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+  install -m644 VulkanTools*/layersvt/README.md "${pkgdir}"/usr/share/doc/${pkgname}/
+}
+


More information about the arch-commits mailing list