[arch-commits] Commit in lib32-vulkan-loader-layers/repos/multilib-x86_64 (2 files)

Laurent Carlier lcarlier at archlinux.org
Fri Oct 28 07:20:15 UTC 2016


    Date: Friday, October 28, 2016 @ 07:20:14
  Author: lcarlier
Revision: 193877

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-vulkan-loader-layers/repos/multilib-x86_64/PKGBUILD
    (from rev 193876, lib32-vulkan-loader-layers/trunk/PKGBUILD)
Deleted:
  lib32-vulkan-loader-layers/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  164 +++++++++++++++++++++++++------------------------------------
 1 file changed, 68 insertions(+), 96 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-28 07:20:09 UTC (rev 193876)
+++ PKGBUILD	2016-10-28 07:20:14 UTC (rev 193877)
@@ -1,96 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgbase=lib32-vulkan-loader-layers
-pkgname=(lib32-vulkan-icd-loader lib32-vulkan-validation-layers)
-_pkgname=Vulkan-LoaderAndValidationLayers
-pkgver=1.0.30.0
-pkgrel=1
-arch=(x86_64)
-url="https://www.khronos.org/vulkan/"
-license=('custom')
-depends=()
-makedepends=(git cmake python-lxml lib32-libx11 lib32-wayland)
-source=("https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz"
-        'git://github.com/KhronosGroup/glslang.git#commit=81cd764b5ffc475bc73f1fb35f75fd1171bb2343'
-        'git://github.com/KhronosGroup/SPIRV-Tools.git#commit=923a4596b44831a07060df45caacb522613730c9'
-        'git://github.com/KhronosGroup/SPIRV-Headers#commit=33d41376d378761ed3a4c791fc4b647761897f26')
-sha256sums=('c72586930967dd815bbd6d1cf8a20378e360c06814c78c8c8e6896d97c9541dc'
-            'SKIP'
-            'SKIP'
-            'SKIP')
-
-build() {
-  export CC="gcc -m32"
-  export CXX="g++ -m32"                                                                                                                                                                                                            
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" 
-
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
-
-  # reproduce some of the update_external_sources.sh script
-  rm -rf external ; mkdir external ; cd external
-  git clone ${srcdir}/glslang
-  git clone ${srcdir}/SPIRV-Tools spirv-tools
-  pushd spirv-tools
-  git clone ${srcdir}/SPIRV-Headers external/spirv-headers
-  popd
-  
-  pushd glslang
-  rm -rf build ; mkdir build ; cd build
-  cmake -D CMAKE_BUILD_TYPE=Release ..
-  cmake -D CMAKE_BUILD_TYPE=Release ..
-  make
-  make install
-  popd
-  
-  pushd spirv-tools
-  rm -rf build ; mkdir build ; cd build
-  cmake -D CMAKE_BUILD_TYPE=Release ..
-  make
-  popd
-  
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
-
-  # cube.cpp fail to build
-  sed -i "114,128d" demos/CMakeLists.txt
-  
-  rm -rf build ; mkdir build ; cd build
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-    -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 \
-    -DCMAKE_BUILD_TYPE=Release \
-    ..
-  make
-  make DESTDIR=install install
-}
-
-package_lib32-vulkan-icd-loader() {
-  pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
-  depends=(lib32-glibc vulkan-icd-loader)
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
-  
-  install -dm755 ${pkgdir}/usr/lib32
-  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-  
-  cp -rv  build/loader/libvulkan.so* ${pkgdir}/usr/lib32
-  install -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
-
-package_lib32-vulkan-validation-layers() {
-  pkgdesc="Vulkan Software Development Kit"
-  depends=(lib32-gcc-libs lib32-vulkan-icd-loader vulkan-headers lib32-libx11)
-  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
-  
-  install -dm755 ${pkgdir}/usr/lib32
-  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-
-  install -m644 build/layers/*.so ${pkgdir}/usr/lib32
-
-  install -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
-

Copied: lib32-vulkan-loader-layers/repos/multilib-x86_64/PKGBUILD (from rev 193876, lib32-vulkan-loader-layers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-28 07:20:14 UTC (rev 193877)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgbase=lib32-vulkan-loader-layers
+pkgname=(lib32-vulkan-icd-loader lib32-vulkan-validation-layers)
+_pkgname=Vulkan-LoaderAndValidationLayers
+pkgver=1.0.30.0
+pkgrel=2
+arch=(x86_64)
+url="https://www.khronos.org/vulkan/"
+license=('custom')
+depends=()
+makedepends=(git cmake python-lxml lib32-libx11 lib32-wayland)
+source=("https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
+sha256sums=('c72586930967dd815bbd6d1cf8a20378e360c06814c78c8c8e6896d97c9541dc')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"                                                                                                                                                                                                            
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" 
+
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
+
+  ./update_external_sources.sh
+
+  # cube.cpp fail to build
+  sed -i "114,128d" demos/CMakeLists.txt
+  
+  rm -rf build ; mkdir build ; cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+    -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 \
+    -DCMAKE_BUILD_TYPE=Release \
+    ..
+  make
+  make DESTDIR=install install
+}
+
+package_lib32-vulkan-icd-loader() {
+  pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
+  depends=(lib32-glibc vulkan-icd-loader)
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
+  
+  install -dm755 ${pkgdir}/usr/lib32
+  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+  
+  cp -rv  build/loader/libvulkan.so* ${pkgdir}/usr/lib32
+  install -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+
+package_lib32-vulkan-validation-layers() {
+  pkgdesc="Vulkan Software Development Kit"
+  depends=(lib32-gcc-libs lib32-vulkan-icd-loader vulkan-headers lib32-libx11)
+  cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
+  
+  install -dm755 ${pkgdir}/usr/lib32
+  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+
+  install -m644 build/layers/*.so ${pkgdir}/usr/lib32
+
+  install -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+



More information about the arch-commits mailing list