[arch-commits] Commit in vulkan-loader-layers/trunk (PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Fri Oct 28 06:54:21 UTC 2016


    Date: Friday, October 28, 2016 @ 06:54:21
  Author: lcarlier
Revision: 279373

upgpkg: vulkan-loader-layers 1.0.30.0-2

use upstream script to build dependencies (FS#51562)

Modified:
  vulkan-loader-layers/trunk/PKGBUILD

----------+
 PKGBUILD |   38 +++++---------------------------------
 1 file changed, 5 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-28 06:46:51 UTC (rev 279372)
+++ PKGBUILD	2016-10-28 06:54:21 UTC (rev 279373)
@@ -5,51 +5,23 @@
 pkgname=(vulkan-icd-loader vulkan-validation-layers)
 _pkgname=Vulkan-LoaderAndValidationLayers
 pkgver=1.0.30.0
-pkgrel=1
+pkgrel=2
 arch=(i686 x86_64)
 url="https://www.khronos.org/vulkan/"
 license=('custom')
 depends=()
 makedepends=(git cmake python-lxml libx11 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')
+source=("https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${pkgver}.tar.gz")
+sha256sums=('c72586930967dd815bbd6d1cf8a20378e360c06814c78c8c8e6896d97c9541dc')
 
 build() {
   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
   
+  ./update_external_sources.sh
+
   rm -rf build ; mkdir build ; cd build
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_SYSCONFDIR=/etc \



More information about the arch-commits mailing list