diff options
author | tnn <tnn@pkgsrc.org> | 2015-04-03 08:48:57 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-04-03 08:48:57 +0000 |
commit | d69bc16481502952740ea5543dd1d2509e6250b6 (patch) | |
tree | d5b3df8e9072f8fe2398f58883d8ff92bf9dc8ae /graphics | |
parent | 3571b745b8e126f199176190fb10a0a6441e0b71 (diff) | |
download | pkgsrc-d69bc16481502952740ea5543dd1d2509e6250b6.tar.gz |
Import libepoxy-1.2 as graphics/libepoxy.
Epoxy is a library for handling OpenGL function pointer management for you.
It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
eglGetProcAddress(), etc. from the app developer, with very little knowledge
needed on their part.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libepoxy/DESCR | 4 | ||||
-rw-r--r-- | graphics/libepoxy/Makefile | 38 | ||||
-rw-r--r-- | graphics/libepoxy/PLIST | 9 | ||||
-rw-r--r-- | graphics/libepoxy/buildlink3.mk | 13 | ||||
-rw-r--r-- | graphics/libepoxy/distinfo | 5 |
5 files changed, 69 insertions, 0 deletions
diff --git a/graphics/libepoxy/DESCR b/graphics/libepoxy/DESCR new file mode 100644 index 00000000000..9e6f70b3169 --- /dev/null +++ b/graphics/libepoxy/DESCR @@ -0,0 +1,4 @@ +Epoxy is a library for handling OpenGL function pointer management for you. +It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(), +eglGetProcAddress(), etc. from the app developer, with very little knowledge +needed on their part. diff --git a/graphics/libepoxy/Makefile b/graphics/libepoxy/Makefile new file mode 100644 index 00000000000..44a6f3e6754 --- /dev/null +++ b/graphics/libepoxy/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1 2015/04/03 08:48:57 tnn Exp $ + +DISTNAME= libepoxy-1.2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_GITHUB:=anholt/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/anholt/libepoxy/ +COMMENT= Library for OpenGL function pointer management +LICENSE= mit + +USE_TOOLS+= pkg-config autoconf autoreconf automake +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +PYTHON_FOR_BUILD_ONLY= yes + +PKGCONFIG_OVERRIDE+= epoxy.pc.in + +pre-configure: + cd ${WRKSRC} && autoreconf -vif + +.include "../../mk/bsd.prefs.mk" + +.if ${X11_TYPE} == "modular" +# We should enforce this, but the dependency cannot +# currently be satisfied by pkgsrc, which might break pbulk(?) +# We'll settle for failing in the build phase for now. +#BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=10 +.else +PKG_FAIL_REASON+= "This package is currently for modular X.org only" +.endif + +.include "../../lang/python/tool.mk" +.include "../../devel/xorg-util-macros/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/libepoxy/PLIST b/graphics/libepoxy/PLIST new file mode 100644 index 00000000000..750c44f263f --- /dev/null +++ b/graphics/libepoxy/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2015/04/03 08:48:57 tnn Exp $ +include/epoxy/egl.h +include/epoxy/egl_generated.h +include/epoxy/gl.h +include/epoxy/gl_generated.h +include/epoxy/glx.h +include/epoxy/glx_generated.h +lib/libepoxy.la +lib/pkgconfig/epoxy.pc diff --git a/graphics/libepoxy/buildlink3.mk b/graphics/libepoxy/buildlink3.mk new file mode 100644 index 00000000000..4813e1035f4 --- /dev/null +++ b/graphics/libepoxy/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/04/03 08:48:57 tnn Exp $ + +BUILDLINK_TREE+= libepoxy + +.if !defined(LIBEPOXY_BUILDLINK3_MK) +LIBEPOXY_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libepoxy+= libepoxy>=1.2 +BUILDLINK_PKGSRCDIR.libepoxy?= ../../graphics/libepoxy + +.endif # LIBEPOXY_BUILDLINK3_MK + +BUILDLINK_TREE+= -libepoxy diff --git a/graphics/libepoxy/distinfo b/graphics/libepoxy/distinfo new file mode 100644 index 00000000000..cfe8b0ba763 --- /dev/null +++ b/graphics/libepoxy/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/04/03 08:48:57 tnn Exp $ + +SHA1 (libepoxy-1.2.tar.gz) = e700520711b9e4fa07c286aa36e431d8ad4133f5 +RMD160 (libepoxy-1.2.tar.gz) = fc5c11eacb437b437c4d6b185a79dc1d6a4467df +Size (libepoxy-1.2.tar.gz) = 267110 bytes |