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

Laurent Carlier lcarlier at archlinux.org
Tue Nov 3 10:05:03 UTC 2020


    Date: Tuesday, November 3, 2020 @ 10:05:03
  Author: lcarlier
Revision: 399203

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |  178 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 90 insertions(+), 88 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-03 10:04:58 UTC (rev 399202)
+++ PKGBUILD	2020-11-03 10:05:03 UTC (rev 399203)
@@ -1,88 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgbase=vulkan-lunarg-tools
-pkgname=(vulkan-extra-tools vulkan-extra-layers)
-pkgver=1.2.153+10858+bde9980a3
-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=bde9980a31a0bc6197ee9f66f71775ce4f014879")
-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.2.153+$(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=ON \
-    -DCMAKE_BUILD_TYPE=Release \
-    ..
-  make
-  make DESTDIR="${srcdir}/fakeinstall" install
-}
-
-package_vulkan-extra-tools() {
-  pkgdesc="Vulkan lunarg tools"
-  depends=(vulkan-validation-layers qt5-svg qt5-webengine)
-  conflicts=('vulkan-trace<1.2.148.1')
-  groups=('vulkan-devel')
-
-  _install fakeinstall/usr/bin/*
-
-  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
-  install -m644 VulkanTools*/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-  install -m644 VulkanTools*/vkconfig/vkconfig.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}/
-}
-

Copied: vulkan-lunarg-tools/repos/extra-x86_64/PKGBUILD (from rev 399202, vulkan-lunarg-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-03 10:05:03 UTC (rev 399203)
@@ -0,0 +1,90 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgbase=vulkan-lunarg-tools
+pkgname=(vulkan-extra-tools vulkan-extra-layers)
+_tag=1.2.154.0
+pkgver=1.2.154.0
+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#tag=sdk-${_tag}")
+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 ${_tag}+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
+ echo ${_tag}
+}
+
+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=ON \
+    -DCMAKE_BUILD_TYPE=Release \
+    ..
+  make
+  make DESTDIR="${srcdir}/fakeinstall" install
+}
+
+package_vulkan-extra-tools() {
+  pkgdesc="Vulkan lunarg tools"
+  depends=(vulkan-validation-layers qt5-svg qt5-webengine)
+  conflicts=('vulkan-trace<1.2.148.1')
+  groups=('vulkan-devel')
+
+  _install fakeinstall/usr/bin/*
+
+  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
+  install -m644 VulkanTools*/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+  install -m644 VulkanTools*/vkconfig/vkconfig.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