aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vulkan-tools/APKBUILD
blob: 760e35a2bb83e23957a56630c97acd172bf38855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=vulkan-tools
_pkgname=Vulkan-Tools
pkgver=1.1.123
pkgrel=0
arch="all"
url="https://www.khronos.org/vulkan"
pkgdesc="Vulkan Utilities and Tools"
license="Apache-2.0"
depends="vulkan-loader"
makedepends="cmake python3 libx11-dev wayland-dev vulkan-headers vulkan-loader-dev glslang-dev libxrandr-dev"
source="vulkan-tools-$pkgver.tar.gz::https://github.com/khronosgroup/vulkan-tools/archive/v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_INSTALL_SYSCONFDIR=/etc \
		-DCMAKE_INSTALL_DATADIR=/usr/share \
		-DCMAKE_SKIP_RPATH=True \
		-DBUILD_CUBE=ON \
		-DBUILD_VULKANINFO=ON \
		-DGLSLANG_INSTALL_DIR=/usr
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="078b190d151b0a40472d0c8507502cf5002e80c369731ffe0fd34faba505a681cac225f71c2c3eb4281d9d98e80084d07ca8d0070b7de62d7c2507798b6954a3  vulkan-tools-1.1.123.tar.gz"