[arch-commits] Commit in vulkan-loader-layers/repos (8 files)

Laurent Carlier lcarlier at archlinux.org
Sun Sep 24 11:33:46 UTC 2017


    Date: Sunday, September 24, 2017 @ 11:33:45
  Author: lcarlier
Revision: 306195

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  vulkan-loader-layers/repos/extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch
    (from rev 306194, vulkan-loader-layers/trunk/0001-loader-Remove-executable-stack-from-libvulkan.so.patch)
  vulkan-loader-layers/repos/extra-i686/PKGBUILD
    (from rev 306194, vulkan-loader-layers/trunk/PKGBUILD)
  vulkan-loader-layers/repos/extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch
    (from rev 306194, vulkan-loader-layers/trunk/0001-loader-Remove-executable-stack-from-libvulkan.so.patch)
  vulkan-loader-layers/repos/extra-x86_64/PKGBUILD
    (from rev 306194, vulkan-loader-layers/trunk/PKGBUILD)
Deleted:
  vulkan-loader-layers/repos/extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch
  vulkan-loader-layers/repos/extra-i686/PKGBUILD
  vulkan-loader-layers/repos/extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch
  vulkan-loader-layers/repos/extra-x86_64/PKGBUILD

--------------------------------------------------------------------------+
 /0001-loader-Remove-executable-stack-from-libvulkan.so.patch             |   56 +++
 /PKGBUILD                                                                |  162 ++++++++++
 extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch   |   28 -
 extra-i686/PKGBUILD                                                      |   81 -----
 extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch |   28 -
 extra-x86_64/PKGBUILD                                                    |   81 -----
 6 files changed, 218 insertions(+), 218 deletions(-)

Deleted: extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch
===================================================================
--- extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch	2017-09-24 11:33:32 UTC (rev 306194)
+++ extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch	2017-09-24 11:33:45 UTC (rev 306195)
@@ -1,28 +0,0 @@
-From 3152f2a5056077d3e1061ac61e3ef7888ff96dc7 Mon Sep 17 00:00:00 2001
-From: Lenny Komow <lenny at lunarg.com>
-Date: Thu, 20 Jul 2017 16:07:14 -0600
-Subject: [PATCH] loader: Remove executable stack from libvulkan.so
-
-Change-Id: Id77d5560479cbbc6f5453a6362c5a20dd721fdd0
----
- loader/unknown_ext_chain_gas.asm | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/loader/unknown_ext_chain_gas.asm b/loader/unknown_ext_chain_gas.asm
-index e463f45b..798760bd 100644
---- a/loader/unknown_ext_chain_gas.asm
-+++ b/loader/unknown_ext_chain_gas.asm
-@@ -108,6 +108,10 @@ vkdev_ext\num:
- 
- .endif
- 
-+#if defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
- .data
- 
- termin_error_string:
--- 
-2.13.2
-

Copied: vulkan-loader-layers/repos/extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch (from rev 306194, vulkan-loader-layers/trunk/0001-loader-Remove-executable-stack-from-libvulkan.so.patch)
===================================================================
--- extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch	                        (rev 0)
+++ extra-i686/0001-loader-Remove-executable-stack-from-libvulkan.so.patch	2017-09-24 11:33:45 UTC (rev 306195)
@@ -0,0 +1,28 @@
+From 3152f2a5056077d3e1061ac61e3ef7888ff96dc7 Mon Sep 17 00:00:00 2001
+From: Lenny Komow <lenny at lunarg.com>
+Date: Thu, 20 Jul 2017 16:07:14 -0600
+Subject: [PATCH] loader: Remove executable stack from libvulkan.so
+
+Change-Id: Id77d5560479cbbc6f5453a6362c5a20dd721fdd0
+---
+ loader/unknown_ext_chain_gas.asm | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/loader/unknown_ext_chain_gas.asm b/loader/unknown_ext_chain_gas.asm
+index e463f45b..798760bd 100644
+--- a/loader/unknown_ext_chain_gas.asm
++++ b/loader/unknown_ext_chain_gas.asm
+@@ -108,6 +108,10 @@ vkdev_ext\num:
+ 
+ .endif
+ 
++#if defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
+ .data
+ 
+ termin_error_string:
+-- 
+2.13.2
+

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2017-09-24 11:33:32 UTC (rev 306194)
+++ extra-i686/PKGBUILD	2017-09-24 11:33:45 UTC (rev 306195)
@@ -1,81 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgbase=vulkan-loader-layers
-pkgname=(vulkan-icd-loader vulkan-validation-layers)
-_pkgname=Vulkan-LoaderAndValidationLayers
-pkgver=1.0.57.0
-pkgrel=1
-arch=(i686 x86_64)
-url="https://www.khronos.org/vulkan/"
-license=('custom')
-depends=()
-makedepends=(git cmake python-lxml libx11 libxrandr wayland)
-source=("https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
-sha256sums=('a425caf7cdd4328555de20174e40092aeff491cc511bfc65435fa66dc983461e')
-
-build() {
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
-
-  ./update_external_sources.sh
-
-  rm -rf build ; mkdir build ; cd build
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
-    -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_vulkan-icd-loader() {
-  pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
-  depends=(glibc)
-  optdepends=('vulkan-driver: packaged vulkan driver') # vulkan-driver: vulkan-intel/vulkan-radeon/nvidia-utils/....
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}/build"
-  
-  make DESTDIR="${pkgdir}" install
-  
-  rm -r ${pkgdir}/etc
-  rm -r ${pkgdir}/usr/bin
-  rm ${pkgdir}/usr/include/vulkan/*{.h,.hpp}
-  rm ${pkgdir}/usr/lib/libVkLayer*.so
-
-  install -m644 ../include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
-   
-  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
-
-package_vulkan-validation-layers() {
-  pkgdesc="Vulkan Software Development Kit"
-  depends=(gcc-libs vulkan-icd-loader vulkan-headers libx11)
-  conflicts=('vulkan-sdk')
-  replaces=('vulkan-sdk')
-  groups=('vulkan-devel')
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}/build"
-  
-  make DESTDIR="${pkgdir}" install
-
-  install -dm755 ${pkgdir}/usr/
-  mv -v ${pkgdir}/etc ${pkgdir}/usr/share/
-  
-  # already in vulkan-headers
-  rm ${pkgdir}/usr/include/vulkan/{vulkan,vk_platform}.h
-  rm ${pkgdir}/usr/include/vulkan/vulkan.hpp
-  # already in vulkan-icd-loader
-  rm ${pkgdir}/usr/include/vulkan/vk_icd.h
-  rm ${pkgdir}/usr/lib/libvulkan.so*
-  rm -r ${pkgdir}/usr/lib/pkgconfig
-   
-  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
-  install -m644 ../loader/LoaderAndLayerInterface.md "${pkgdir}"/usr/share/doc/${pkgname}/
-  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: vulkan-loader-layers/repos/extra-i686/PKGBUILD (from rev 306194, vulkan-loader-layers/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2017-09-24 11:33:45 UTC (rev 306195)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgbase=vulkan-loader-layers
+pkgname=(vulkan-icd-loader vulkan-validation-layers)
+_pkgname=Vulkan-LoaderAndValidationLayers
+pkgver=1.0.61.1
+pkgrel=1
+arch=(i686 x86_64)
+url="https://www.khronos.org/vulkan/"
+license=('custom')
+depends=()
+makedepends=(git cmake python-lxml libx11 libxrandr wayland)
+source=("https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
+sha256sums=('47a2e56e4721ffac7df6a4e8ce2189da41331b7ed91e3879266c69302604e615')
+
+build() {
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
+
+  ./update_external_sources.sh
+
+  rm -rf build ; mkdir build ; cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+    -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_vulkan-icd-loader() {
+  pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
+  depends=(glibc)
+  optdepends=('vulkan-driver: packaged vulkan driver') # vulkan-driver: vulkan-intel/vulkan-radeon/nvidia-utils/....
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}/build"
+  
+  make DESTDIR="${pkgdir}" install
+  
+  rm -r ${pkgdir}/etc
+  rm -r ${pkgdir}/usr/bin
+  rm ${pkgdir}/usr/include/vulkan/*{.h,.hpp}
+  rm ${pkgdir}/usr/lib/libVkLayer*.so
+
+  install -m644 ../include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
+   
+  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+
+package_vulkan-validation-layers() {
+  pkgdesc="Vulkan Software Development Kit"
+  depends=(gcc-libs vulkan-icd-loader vulkan-headers libx11)
+  conflicts=('vulkan-sdk')
+  replaces=('vulkan-sdk')
+  groups=('vulkan-devel')
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}/build"
+  
+  make DESTDIR="${pkgdir}" install
+
+  install -dm755 ${pkgdir}/usr/
+  mv -v ${pkgdir}/etc ${pkgdir}/usr/share/
+  
+  # already in vulkan-headers
+  rm ${pkgdir}/usr/include/vulkan/{vulkan,vk_platform}.h
+  rm ${pkgdir}/usr/include/vulkan/vulkan.hpp
+  # already in vulkan-icd-loader
+  rm ${pkgdir}/usr/include/vulkan/vk_icd.h
+  rm ${pkgdir}/usr/lib/libvulkan.so*
+  rm -r ${pkgdir}/usr/lib/pkgconfig
+   
+  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
+  install -m644 ../loader/LoaderAndLayerInterface.md "${pkgdir}"/usr/share/doc/${pkgname}/
+  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}

Deleted: extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch
===================================================================
--- extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch	2017-09-24 11:33:32 UTC (rev 306194)
+++ extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch	2017-09-24 11:33:45 UTC (rev 306195)
@@ -1,28 +0,0 @@
-From 3152f2a5056077d3e1061ac61e3ef7888ff96dc7 Mon Sep 17 00:00:00 2001
-From: Lenny Komow <lenny at lunarg.com>
-Date: Thu, 20 Jul 2017 16:07:14 -0600
-Subject: [PATCH] loader: Remove executable stack from libvulkan.so
-
-Change-Id: Id77d5560479cbbc6f5453a6362c5a20dd721fdd0
----
- loader/unknown_ext_chain_gas.asm | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/loader/unknown_ext_chain_gas.asm b/loader/unknown_ext_chain_gas.asm
-index e463f45b..798760bd 100644
---- a/loader/unknown_ext_chain_gas.asm
-+++ b/loader/unknown_ext_chain_gas.asm
-@@ -108,6 +108,10 @@ vkdev_ext\num:
- 
- .endif
- 
-+#if defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
- .data
- 
- termin_error_string:
--- 
-2.13.2
-

Copied: vulkan-loader-layers/repos/extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch (from rev 306194, vulkan-loader-layers/trunk/0001-loader-Remove-executable-stack-from-libvulkan.so.patch)
===================================================================
--- extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch	                        (rev 0)
+++ extra-x86_64/0001-loader-Remove-executable-stack-from-libvulkan.so.patch	2017-09-24 11:33:45 UTC (rev 306195)
@@ -0,0 +1,28 @@
+From 3152f2a5056077d3e1061ac61e3ef7888ff96dc7 Mon Sep 17 00:00:00 2001
+From: Lenny Komow <lenny at lunarg.com>
+Date: Thu, 20 Jul 2017 16:07:14 -0600
+Subject: [PATCH] loader: Remove executable stack from libvulkan.so
+
+Change-Id: Id77d5560479cbbc6f5453a6362c5a20dd721fdd0
+---
+ loader/unknown_ext_chain_gas.asm | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/loader/unknown_ext_chain_gas.asm b/loader/unknown_ext_chain_gas.asm
+index e463f45b..798760bd 100644
+--- a/loader/unknown_ext_chain_gas.asm
++++ b/loader/unknown_ext_chain_gas.asm
+@@ -108,6 +108,10 @@ vkdev_ext\num:
+ 
+ .endif
+ 
++#if defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
+ .data
+ 
+ termin_error_string:
+-- 
+2.13.2
+

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2017-09-24 11:33:32 UTC (rev 306194)
+++ extra-x86_64/PKGBUILD	2017-09-24 11:33:45 UTC (rev 306195)
@@ -1,81 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgbase=vulkan-loader-layers
-pkgname=(vulkan-icd-loader vulkan-validation-layers)
-_pkgname=Vulkan-LoaderAndValidationLayers
-pkgver=1.0.57.0
-pkgrel=1
-arch=(i686 x86_64)
-url="https://www.khronos.org/vulkan/"
-license=('custom')
-depends=()
-makedepends=(git cmake python-lxml libx11 libxrandr wayland)
-source=("https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
-sha256sums=('a425caf7cdd4328555de20174e40092aeff491cc511bfc65435fa66dc983461e')
-
-build() {
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
-
-  ./update_external_sources.sh
-
-  rm -rf build ; mkdir build ; cd build
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
-    -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_vulkan-icd-loader() {
-  pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
-  depends=(glibc)
-  optdepends=('vulkan-driver: packaged vulkan driver') # vulkan-driver: vulkan-intel/vulkan-radeon/nvidia-utils/....
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}/build"
-  
-  make DESTDIR="${pkgdir}" install
-  
-  rm -r ${pkgdir}/etc
-  rm -r ${pkgdir}/usr/bin
-  rm ${pkgdir}/usr/include/vulkan/*{.h,.hpp}
-  rm ${pkgdir}/usr/lib/libVkLayer*.so
-
-  install -m644 ../include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
-   
-  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
-
-package_vulkan-validation-layers() {
-  pkgdesc="Vulkan Software Development Kit"
-  depends=(gcc-libs vulkan-icd-loader vulkan-headers libx11)
-  conflicts=('vulkan-sdk')
-  replaces=('vulkan-sdk')
-  groups=('vulkan-devel')
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}/build"
-  
-  make DESTDIR="${pkgdir}" install
-
-  install -dm755 ${pkgdir}/usr/
-  mv -v ${pkgdir}/etc ${pkgdir}/usr/share/
-  
-  # already in vulkan-headers
-  rm ${pkgdir}/usr/include/vulkan/{vulkan,vk_platform}.h
-  rm ${pkgdir}/usr/include/vulkan/vulkan.hpp
-  # already in vulkan-icd-loader
-  rm ${pkgdir}/usr/include/vulkan/vk_icd.h
-  rm ${pkgdir}/usr/lib/libvulkan.so*
-  rm -r ${pkgdir}/usr/lib/pkgconfig
-   
-  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
-  install -m644 ../loader/LoaderAndLayerInterface.md "${pkgdir}"/usr/share/doc/${pkgname}/
-  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: vulkan-loader-layers/repos/extra-x86_64/PKGBUILD (from rev 306194, vulkan-loader-layers/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2017-09-24 11:33:45 UTC (rev 306195)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgbase=vulkan-loader-layers
+pkgname=(vulkan-icd-loader vulkan-validation-layers)
+_pkgname=Vulkan-LoaderAndValidationLayers
+pkgver=1.0.61.1
+pkgrel=1
+arch=(i686 x86_64)
+url="https://www.khronos.org/vulkan/"
+license=('custom')
+depends=()
+makedepends=(git cmake python-lxml libx11 libxrandr wayland)
+source=("https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
+sha256sums=('47a2e56e4721ffac7df6a4e8ce2189da41331b7ed91e3879266c69302604e615')
+
+build() {
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
+
+  ./update_external_sources.sh
+
+  rm -rf build ; mkdir build ; cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+    -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_vulkan-icd-loader() {
+  pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
+  depends=(glibc)
+  optdepends=('vulkan-driver: packaged vulkan driver') # vulkan-driver: vulkan-intel/vulkan-radeon/nvidia-utils/....
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}/build"
+  
+  make DESTDIR="${pkgdir}" install
+  
+  rm -r ${pkgdir}/etc
+  rm -r ${pkgdir}/usr/bin
+  rm ${pkgdir}/usr/include/vulkan/*{.h,.hpp}
+  rm ${pkgdir}/usr/lib/libVkLayer*.so
+
+  install -m644 ../include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
+   
+  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+
+package_vulkan-validation-layers() {
+  pkgdesc="Vulkan Software Development Kit"
+  depends=(gcc-libs vulkan-icd-loader vulkan-headers libx11)
+  conflicts=('vulkan-sdk')
+  replaces=('vulkan-sdk')
+  groups=('vulkan-devel')
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}/build"
+  
+  make DESTDIR="${pkgdir}" install
+
+  install -dm755 ${pkgdir}/usr/
+  mv -v ${pkgdir}/etc ${pkgdir}/usr/share/
+  
+  # already in vulkan-headers
+  rm ${pkgdir}/usr/include/vulkan/{vulkan,vk_platform}.h
+  rm ${pkgdir}/usr/include/vulkan/vulkan.hpp
+  # already in vulkan-icd-loader
+  rm ${pkgdir}/usr/include/vulkan/vk_icd.h
+  rm ${pkgdir}/usr/lib/libvulkan.so*
+  rm -r ${pkgdir}/usr/lib/pkgconfig
+   
+  install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
+  install -m644 ../loader/LoaderAndLayerInterface.md "${pkgdir}"/usr/share/doc/${pkgname}/
+  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list