summaryrefslogtreecommitdiff
path: root/graphics/magnum-integration/Makefile
blob: 243b9ad852cdf118f39a731923b6bffba00d8ac3 (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
46
47
PORTNAME=	magnum-integration
DISTVERSIONPREFIX=	v
DISTVERSION=	2020.06-264
PORTREVISION=	4
DISTVERSIONSUFFIX=	-g50ac4db
CATEGORIES=	graphics

BROKEN=		work/magnum-integration-2020.06-264-g50ac4db/src/Magnum/ImGuiIntegration/Context.cpp:322:23: error: no member named 'TextureId' in 'ImDrawCmd', "pcmd->TextureId"

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Magnum Graphics: Integration libraries
WWW=		https://magnum.graphics/ \
		https://github.com/mosra/magnum-integration

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	glm>0:math/glm
LIB_DEPENDS=	libassimp.so:multimedia/assimp \
		libLinearMath.so:devel/bullet \
		libccd.so:math/libccd \
		libCorradePluginManager.so:devel/corrade \
		libdart.so:misc/dartsim \
		libfcl.so:math/fcl \
		libglfw.so:graphics/glfw \
		libfmt.so:devel/libfmt \
		libimgui.so:x11-toolkits/imgui \
		libMagnum.so:graphics/magnum \
		liboctomap.so:math/octomap

USES=		cmake compiler:c++14-lang gl
USE_GL=		opengl
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	mosra
GH_TUPLE=	mosra:toolchains:2243706:t/toolchains

CMAKE_ARGS=	-DLIB_SUFFIX:STRING=""

CMAKE_ON=	MAGNUM_WITH_BULLET \
		MAGNUM_WITH_EIGEN \
		MAGNUM_WITH_GLM \
		MAGNUM_WITH_DART \
		MAGNUM_WITH_IMGUI

.include <bsd.port.mk>