summaryrefslogtreecommitdiff
path: root/devel/vulkan-tools/Makefile
blob: 05a44d79837b065a61dfbc9639a3a75d886b6aba (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
# $FreeBSD$

PORTNAME=	vulkan-tools
DISTVERSIONPREFIX=	sdk-
DISTVERSION=	1.1.82.0
PORTREVISION=	1
CATEGORIES=	devel graphics

MAINTAINER=	greg@unrelenting.technology
COMMENT=	Tools and demos for the Vulkan graphics API

LICENSE=	APACHE20

BUILD_DEPENDS=	${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers \
		glslangValidator:devel/glslang
LIB_DEPENDS=	libvulkan.so:graphics/vulkan-loader \
		libX11-xcb.so:x11/libX11 \
		libXrandr.so:x11/libXrandr \
		libxcb.so:x11/libxcb

USES=		cmake compiler:c++11-lib pkgconfig python:3.4+,build

USE_GITHUB=	yes
GH_ACCOUNT=	KhronosGroup
GH_PROJECT=	Vulkan-Tools

CMAKE_OFF=	BUILD_TESTS BUILD_ICD \
		BUILD_WSI_WAYLAND_SUPPORT BUILD_WSI_MIR_SUPPORT
CMAKE_ARGS=	-DGLSLANG_INSTALL_DIR=${LOCALBASE}

.include <bsd.port.mk>