[arch-commits] Commit in vulkan-loader-layers/repos (4 files)
Laurent Carlier
lcarlier at archlinux.org
Fri Oct 28 06:54:29 UTC 2016
Date: Friday, October 28, 2016 @ 06:54:28
Author: lcarlier
Revision: 279374
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
vulkan-loader-layers/repos/extra-i686/PKGBUILD
(from rev 279373, vulkan-loader-layers/trunk/PKGBUILD)
vulkan-loader-layers/repos/extra-x86_64/PKGBUILD
(from rev 279373, vulkan-loader-layers/trunk/PKGBUILD)
Deleted:
vulkan-loader-layers/repos/extra-i686/PKGBUILD
vulkan-loader-layers/repos/extra-x86_64/PKGBUILD
-----------------------+
/PKGBUILD | 174 ++++++++++++++++++++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 115 -------------------------------
extra-x86_64/PKGBUILD | 115 -------------------------------
3 files changed, 174 insertions(+), 230 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2016-10-28 06:54:21 UTC (rev 279373)
+++ extra-i686/PKGBUILD 2016-10-28 06:54:28 UTC (rev 279374)
@@ -1,115 +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.30.0
-pkgrel=1
-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')
-
-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
-
- 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_vulkan-icd-loader() {
- pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
- depends=(glibc)
- cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
-
- install -dm755 ${pkgdir}/usr/{lib,include/vulkan}
- install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
- install -dm755 ${pkgdir}/etc/vulkan/icd.d/
-
- cp -rv build/loader/libvulkan.so* ${pkgdir}/usr/lib
- install -m644 include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
-
- 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}"
-
- install -dm755 ${pkgdir}/usr/{bin,lib,include/vulkan}
- install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
- install -dm755 ${pkgdir}/usr/share/vulkan/{explicit,implicit}_layer.d
-
- install -m755 build/demos/vulkaninfo ${pkgdir}/usr/bin/
-
- install -m644 build/layers/*.so ${pkgdir}/usr/lib
-
- install -m644 include/vulkan/* ${pkgdir}/usr/include/vulkan/
- # already in vulkan-headers
- rm ${pkgdir}/usr/include/vulkan/{vulkan,vk_platform}.h
- # already in vulkan-icd-loader
- rm ${pkgdir}/usr/include/vulkan/vk_icd.h
- # FS#50652
- rm ${pkgdir}/usr/include/vulkan/vulkan.hpp
-
- # fix library paths
- for i in layers/linux/*.json ; do
- sed 's at ./@@' $i > ${pkgdir}/usr/share/vulkan/explicit_layer.d/$(basename $i)
- done
-
- 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 279373, vulkan-loader-layers/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2016-10-28 06:54:28 UTC (rev 279374)
@@ -0,0 +1,87 @@
+# $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.30.0
+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")
+sha256sums=('c72586930967dd815bbd6d1cf8a20378e360c06814c78c8c8e6896d97c9541dc')
+
+build() {
+ 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 \
+ -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_vulkan-icd-loader() {
+ pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
+ depends=(glibc)
+ cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
+
+ install -dm755 ${pkgdir}/usr/{lib,include/vulkan}
+ install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+ install -dm755 ${pkgdir}/etc/vulkan/icd.d/
+
+ cp -rv build/loader/libvulkan.so* ${pkgdir}/usr/lib
+ install -m644 include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
+
+ 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}"
+
+ install -dm755 ${pkgdir}/usr/{bin,lib,include/vulkan}
+ install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
+ install -dm755 ${pkgdir}/usr/share/vulkan/{explicit,implicit}_layer.d
+
+ install -m755 build/demos/vulkaninfo ${pkgdir}/usr/bin/
+
+ install -m644 build/layers/*.so ${pkgdir}/usr/lib
+
+ install -m644 include/vulkan/* ${pkgdir}/usr/include/vulkan/
+ # already in vulkan-headers
+ rm ${pkgdir}/usr/include/vulkan/{vulkan,vk_platform}.h
+ # already in vulkan-icd-loader
+ rm ${pkgdir}/usr/include/vulkan/vk_icd.h
+ # FS#50652
+ rm ${pkgdir}/usr/include/vulkan/vulkan.hpp
+
+ # fix library paths
+ for i in layers/linux/*.json ; do
+ sed 's at ./@@' $i > ${pkgdir}/usr/share/vulkan/explicit_layer.d/$(basename $i)
+ done
+
+ install -m644 loader/LoaderAndLayerInterface.md "${pkgdir}"/usr/share/doc/${pkgname}/
+
+ install -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2016-10-28 06:54:21 UTC (rev 279373)
+++ extra-x86_64/PKGBUILD 2016-10-28 06:54:28 UTC (rev 279374)
@@ -1,115 +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.30.0
-pkgrel=1
-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')
-
-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
-
- 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_vulkan-icd-loader() {
- pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
- depends=(glibc)
- cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
-
- install -dm755 ${pkgdir}/usr/{lib,include/vulkan}
- install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
- install -dm755 ${pkgdir}/etc/vulkan/icd.d/
-
- cp -rv build/loader/libvulkan.so* ${pkgdir}/usr/lib
- install -m644 include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
-
- 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}"
-
- install -dm755 ${pkgdir}/usr/{bin,lib,include/vulkan}
- install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
- install -dm755 ${pkgdir}/usr/share/vulkan/{explicit,implicit}_layer.d
-
- install -m755 build/demos/vulkaninfo ${pkgdir}/usr/bin/
-
- install -m644 build/layers/*.so ${pkgdir}/usr/lib
-
- install -m644 include/vulkan/* ${pkgdir}/usr/include/vulkan/
- # already in vulkan-headers
- rm ${pkgdir}/usr/include/vulkan/{vulkan,vk_platform}.h
- # already in vulkan-icd-loader
- rm ${pkgdir}/usr/include/vulkan/vk_icd.h
- # FS#50652
- rm ${pkgdir}/usr/include/vulkan/vulkan.hpp
-
- # fix library paths
- for i in layers/linux/*.json ; do
- sed 's at ./@@' $i > ${pkgdir}/usr/share/vulkan/explicit_layer.d/$(basename $i)
- done
-
- 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 279373, vulkan-loader-layers/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2016-10-28 06:54:28 UTC (rev 279374)
@@ -0,0 +1,87 @@
+# $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.30.0
+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")
+sha256sums=('c72586930967dd815bbd6d1cf8a20378e360c06814c78c8c8e6896d97c9541dc')
+
+build() {
+ 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 \
+ -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_vulkan-icd-loader() {
+ pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
+ depends=(glibc)
+ cd "${srcdir}/${_pkgname}-sdk-${pkgver}"
+
+ install -dm755 ${pkgdir}/usr/{lib,include/vulkan}
+ install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+ install -dm755 ${pkgdir}/etc/vulkan/icd.d/
+
+ cp -rv build/loader/libvulkan.so* ${pkgdir}/usr/lib
+ install -m644 include/vulkan/vk_icd.h ${pkgdir}/usr/include/vulkan/
+
+ 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}"
+
+ install -dm755 ${pkgdir}/usr/{bin,lib,include/vulkan}
+ install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}
+ install -dm755 ${pkgdir}/usr/share/vulkan/{explicit,implicit}_layer.d
+
+ install -m755 build/demos/vulkaninfo ${pkgdir}/usr/bin/
+
+ install -m644 build/layers/*.so ${pkgdir}/usr/lib
+
+ install -m644 include/vulkan/* ${pkgdir}/usr/include/vulkan/
+ # already in vulkan-headers
+ rm ${pkgdir}/usr/include/vulkan/{vulkan,vk_platform}.h
+ # already in vulkan-icd-loader
+ rm ${pkgdir}/usr/include/vulkan/vk_icd.h
+ # FS#50652
+ rm ${pkgdir}/usr/include/vulkan/vulkan.hpp
+
+ # fix library paths
+ for i in layers/linux/*.json ; do
+ sed 's at ./@@' $i > ${pkgdir}/usr/share/vulkan/explicit_layer.d/$(basename $i)
+ done
+
+ 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