aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vulkan-tools/APKBUILD
blob: 06e77bcec59890b1c2c408aac9bfe25903fc41d2 (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.121
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="9bd0fa6fa1ef04e2b760a9019c30f8236a47f7d7ee275df613777ee2405e782212b65ed25600f8ebf56ffa822ce056c899db00334ae7c33e845bf957165e5012  vulkan-tools-1.1.121.tar.gz"