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

Laurent Carlier lcarlier at archlinux.org
Thu Feb 18 14:37:37 UTC 2021


    Date: Thursday, February 18, 2021 @ 14:37:37
  Author: lcarlier
Revision: 408493

archrelease: copy trunk to extra-x86_64

Added:
  spirv-tools/repos/extra-x86_64/PKGBUILD
    (from rev 408492, spirv-tools/trunk/PKGBUILD)
Deleted:
  spirv-tools/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 46 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-18 14:37:33 UTC (rev 408492)
+++ PKGBUILD	2021-02-18 14:37:37 UTC (rev 408493)
@@ -1,40 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=spirv-tools
-pkgver=2020.4
-pkgrel=1
-pkgdesc="API and commands for processing SPIR-V modules"
-arch=('x86_64')
-url="https://www.khronos.org/vulkan/"
-license=('custom')
-groups=(vulkan-devel)
-depends=(gcc-libs)
-makedepends=(cmake python git ninja)
-source=("git+https://github.com/KhronosGroup/SPIRV-Tools.git#tag=v${pkgver}"
-        git+https://github.com/KhronosGroup/SPIRV-Headers.git)
-sha256sums=('SKIP'
-            'SKIP')
-
-build() {
-  cd SPIRV-Tools
-
-  rm -rf build && mkdir build && cd build
-  cmake .. \
-      -GNinja \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DCMAKE_INSTALL_LIBDIR=lib \
-      -DCMAKE_BUILD_TYPE=Release \
-      -DSPIRV_WERROR=Off \
-      -DBUILD_SHARED_LIBS=ON \
-      -DSPIRV-Headers_SOURCE_DIR=${srcdir}/SPIRV-Headers
-  ninja
-}
-
-package() {
-  cd SPIRV-Tools/build
-
-  DESTDIR="${pkgdir}" ninja install
-
-  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: spirv-tools/repos/extra-x86_64/PKGBUILD (from rev 408492, spirv-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-18 14:37:37 UTC (rev 408493)
@@ -0,0 +1,46 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=spirv-tools
+pkgver=2020.6
+pkgrel=1
+pkgdesc="API and commands for processing SPIR-V modules"
+arch=('x86_64')
+url="https://www.khronos.org/vulkan/"
+license=('custom')
+groups=(vulkan-devel)
+depends=('gcc-libs')
+makedepends=('cmake' 'python' 'git' 'ninja')
+source=("git+https://github.com/KhronosGroup/SPIRV-Tools.git#tag=v${pkgver}"
+        "git+https://github.com/KhronosGroup/SPIRV-Headers.git#commit=f027d53ded7e230e008d37c8b47ede7cd308e19d") # for v2020.6
+sha256sums=('SKIP'
+            'SKIP')
+
+prepare() {
+  cd SPIRV-Tools
+
+  rm -rf build && mkdir build
+}
+
+build() {
+  cd SPIRV-Tools/build
+
+  cmake .. \
+      -GNinja \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_INSTALL_LIBDIR=lib \
+      -DCMAKE_BUILD_TYPE=Release \
+      -DSPIRV_WERROR=Off \
+      -DBUILD_SHARED_LIBS=ON \
+      -DSPIRV_TOOLS_BUILD_STATIC=OFF \
+      -DSPIRV-Headers_SOURCE_DIR="${srcdir}"/SPIRV-Headers
+  ninja
+}
+
+package() {
+  cd SPIRV-Tools/build
+
+  DESTDIR="${pkgdir}" ninja install
+
+  install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -m644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/
+}


More information about the arch-commits mailing list