blob: 93fa9d7cefbe7d7a3ec881280e0663738fbdf94b (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=vulkan-loader
_pkgname=Vulkan-Loader
pkgver=1.2.133
pkgrel=1
arch="all"
url="https://www.khronos.org/vulkan"
pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
license="Apache-2.0"
depends_dev="vulkan-headers"
makedepends="$depends_dev cmake python3 libx11-dev wayland-dev libxrandr-dev"
source="vulkan-loader-$pkgver.tar.gz::https://github.com/khronosgroup/vulkan-loader/archive/v$pkgver.tar.gz"
subpackages="$pkgname-dev"
options="!check" # No tests
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cmake \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_DATADIR=share \
-DCMAKE_SKIP_RPATH=True \
-DVULKAN_HEADERS_INSTALL_DIR=/usr
make
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="ba486cd0b20d1936a8a7e97509bdaa5e1c42f024428d6f710af80152d55f486c76db072ae44add089ff20eef21a768073904236e6d29d46dd1475d77d26f9907 vulkan-loader-1.2.133.tar.gz"
|