[arch-commits] Commit in lib32-vulkan-loader-layers/repos/multilib-x86_64 (2 files)
Laurent Carlier
lcarlier at archlinux.org
Sat Oct 15 18:31:49 UTC 2016
Date: Saturday, October 15, 2016 @ 18:31:48
Author: lcarlier
Revision: 192312
archrelease: copy trunk to multilib-x86_64
Added:
lib32-vulkan-loader-layers/repos/multilib-x86_64/PKGBUILD
(from rev 192311, lib32-vulkan-loader-layers/trunk/PKGBUILD)
Deleted:
lib32-vulkan-loader-layers/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 188 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 96 insertions(+), 92 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-15 18:31:42 UTC (rev 192311)
+++ PKGBUILD 2016-10-15 18:31:48 UTC (rev 192312)
@@ -1,92 +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.26.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=('40a350f7ccec532187adf95990126b86053dfaa00d70ad2f24dc2c6591a96312'
- '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}"
-
- 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_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)
- 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 192311, lib32-vulkan-loader-layers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-15 18:31:48 UTC (rev 192312)
@@ -0,0 +1,96 @@
+# $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}/
+}
+
More information about the arch-commits
mailing list