aboutsummaryrefslogtreecommitdiff
path: root/graphics/magnum-plugins/Makefile
blob: 7ce2dbf42dcd8f49b350acb29f789d33143bd083 (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
PORTNAME=	magnum-plugins
DISTVERSIONPREFIX=	v
DISTVERSION=	2020.06-1064
DISTVERSIONSUFFIX=	-g94aefed2
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Plugins for the Magnum C++11/C++14 graphics engine
WWW=		https://magnum.graphics/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libassimp.so:multimedia/assimp \
		libCorradeUtility.so:devel/corrade \
		libfaad.so:audio/faad \
		libfreetype.so:print/freetype2 \
		libIL.so:graphics/devil \
		libMagnum.so:graphics/magnum \
		libpng.so:graphics/png

USES=		cmake compiler:c++14-lang gl jpeg openal xorg
USE_GL=		glesv2
USE_LDCONFIG=	yes

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

CMAKE_ARGS=	-DLIB_SUFFIX:STRING=""

CMAKE_ON=	WITH_ASSIMPIMPORTER WITH_DDSIMPORTER WITH_DEVILIMAGEIMPORTER WITH_DRFLACAUDIOIMPORTER WITH_DRWAVAUDIOIMPORTER \
		WITH_FAAD2AUDIOIMPORTER WITH_FREETYPEFONT WITH_JPEGIMPORTER WITH_JPEGIMAGECONVERTER WITH_MINIEXRIMAGECONVERTER \
		WITH_PNGIMAGECONVERTER WITH_PNGIMPORTER WITH_OPENGEXIMPORTER WITH_STANFORDIMPORTER WITH_STBIMAGECONVERTER \
		WITH_STBIMAGEIMPORTER WITH_STBTRUETYPEFONT WITH_STBVORBISAUDIOIMPORTER WITH_TINYGLTFIMPORTER

.include <bsd.port.mk>