pkgsrc/graphics/libepoxy/Makefile
adam 7de42d8f9c libepoxy: updated to 1.5.4
1.5.4:
Don't build GLX tests if X11 support is disabled
Add unit tests for epoxy_gl_version()
Reduce the size of the binary by reusing static strings
Fix build on Solaris
Update the GL registries
2020-01-01 21:16:12 +00:00

43 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2020/01/01 21:16:12 adam Exp $
DISTNAME= libepoxy-1.5.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=anholt/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/anholt/libepoxy
COMMENT= Library for OpenGL function pointer management
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= epoxy.pc.in
PYTHON_FOR_BUILD_ONLY= tool
PLIST_VARS+= egl
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
. include "../../graphics/MesaLib/buildlink3.mk"
.else
MESON_ARGS+= -Dglx=no
.endif
.if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss])
PLIST.egl= yes
MESON_ARGS+= -Degl=yes
.else
MESON_ARGS+= -Degl=no
.endif
.include "options.mk"
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/src
.include "../../devel/meson/build.mk"
.include "../../devel/xorg-util-macros/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"