summaryrefslogtreecommitdiff
path: root/graphics/libgltf/Makefile
blob: f7fda8fb15c920a08cf7510a8a917d2fcdf493ee (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
# $NetBSD: Makefile,v 1.16 2018/08/16 18:54:53 adam Exp $

DISTNAME=	libgltf-0.1.0
PKGREVISION=	4
CATEGORIES=	graphics
MASTER_SITES=	http://dev-www.libreoffice.org/src/libgltf/

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	https://gerrit.libreoffice.org/#/admin/projects/libgltf
COMMENT=	Rendering library for glTF
LICENSE=	mpl-2.0

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config
USE_LANGUAGES=	c c++03

PKGCONFIG_OVERRIDE+=	libgltf.pc.in

# Fix build with GCC 4.8.3 under NetBSD/amd64 7.99.1
CONFIGURE_ARGS+=	--disable-werror

# Fix build with GCC 4.5.3 under NetBSD 6.1
BUILDLINK_TRANSFORM+=	rm:-Weffc++

.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/glm/buildlink3.mk"
.include "../../graphics/libepoxy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"