summaryrefslogtreecommitdiff
path: root/devel/vulkan-tools/Makefile
blob: 83f4ed44c0cd7fe0905d5e801703404d7e5fd459 (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:outsource 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>