aboutsummaryrefslogtreecommitdiffstats
path: root/community/vulkan-tools/APKBUILD
blob: facc1fe1ef7b1e00c5f5db20935c73a3ddf36192 (plain) (blame)
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
36
37
38
39
40
41
42
43
44
45
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=vulkan-tools
pkgver=1.2.184
pkgrel=0
arch="all"
url="https://www.khronos.org/vulkan"
pkgdesc="Vulkan Utilities and Tools"
license="Apache-2.0"
depends="vulkan-loader"
makedepends="
	cmake
	glslang-dev
	libx11-dev
	libxrandr-dev
	python3
	vulkan-headers
	vulkan-loader-dev
	wayland-dev
	"
source="https://github.com/KhronosGroup/Vulkan-Tools/archive/v$pkgver/vulkan-tools-v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/Vulkan-Tools-$pkgver"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-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
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
bcb5da92d487d408801abd2858a1d0873b4d77cf199a142c396d73d9afd0c3df0fe3d58bda02a30243cad6d935e4d71945689e7984fb2650d2a7f86697214aeb  vulkan-tools-v1.2.184.tar.gz
"