extra/vulkan-tools to 1.0.33.0-1

This commit is contained in:
Kevin Mihelich 2016-12-03 15:51:36 +00:00
parent 2ded5bb318
commit 8c7e971688

View file

@ -6,15 +6,15 @@
pkgbase=vulkan-tools
pkgname=(vulkan-trace vulkan-extra-layers)
pkgver=1.0.30.0
pkgrel=2
pkgver=1.0.33.0
pkgrel=1
arch=(i686 x86_64)
url="http://lunarg.com/"
license=('custom')
depends=()
makedepends=(git cmake wget python-lxml libxcb imagemagick)
makedepends=(git cmake wget python-lxml libxcb imagemagick qt5-svg)
source=("vulkanTools-sdk-${pkgver}::https://github.com/LunarG/VulkanTools/archive/sdk-${pkgver}.tar.gz")
sha256sums=('7cabc5e25ec0b8873f9ba44755ba6ec935b66305e3f58761d943be10c694df4b')
sha256sums=('86bc10bb4dd53b1b0e771999ad4726dfb0f5e9494eaa463a6139d7bd17bd4f8a')
build() {
cd "${srcdir}/VulkanTools-sdk-${pkgver}"
@ -32,6 +32,7 @@ build() {
-DBUILD_ICD=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_DEMOS=OFF \
-DBUILD_VIA=OFF \
-DCMAKE_BUILD_TYPE=Release \
..
make
@ -39,7 +40,7 @@ build() {
package_vulkan-trace() {
pkgdesc="Vulkan tracing and replaying tools"
depends=(vulkan-icd-loader libxcb gcc-libs)
depends=(vulkan-icd-loader qt5-svg)
groups=('vulkan-devel')
cd "${srcdir}/VulkanTools-sdk-${pkgver}"
@ -50,6 +51,7 @@ package_vulkan-trace() {
install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
install -m755 build/vktrace/{vkreplay,vktrace}${suffix} ${pkgdir}/usr/bin/
install -m755 build/vktrace/vktraceviewer${suffix} ${pkgdir}/usr/bin/
install -m755 build/vktrace/libVkLayer_vktrace_layer${suffix}.so ${pkgdir}/usr/lib/
install -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/