pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/libepoxy Import libepoxy-1.2 as graphics/libe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c1f44d11ab25
branches: trunk
changeset: 649416:c1f44d11ab25
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Apr 03 08:48:57 2015 +0000
description:
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:
graphics/libepoxy/DESCR | 4 ++++
graphics/libepoxy/Makefile | 38 ++++++++++++++++++++++++++++++++++++++
graphics/libepoxy/PLIST | 9 +++++++++
graphics/libepoxy/buildlink3.mk | 13 +++++++++++++
graphics/libepoxy/distinfo | 5 +++++
5 files changed, 69 insertions(+), 0 deletions(-)
diffs (89 lines):
diff -r 2e9ac331d5c7 -r c1f44d11ab25 graphics/libepoxy/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libepoxy/DESCR Fri Apr 03 08:48:57 2015 +0000
@@ -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 -r 2e9ac331d5c7 -r c1f44d11ab25 graphics/libepoxy/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libepoxy/Makefile Fri Apr 03 08:48:57 2015 +0000
@@ -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@localhost
+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 -r 2e9ac331d5c7 -r c1f44d11ab25 graphics/libepoxy/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libepoxy/PLIST Fri Apr 03 08:48:57 2015 +0000
@@ -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 -r 2e9ac331d5c7 -r c1f44d11ab25 graphics/libepoxy/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libepoxy/buildlink3.mk Fri Apr 03 08:48:57 2015 +0000
@@ -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 -r 2e9ac331d5c7 -r c1f44d11ab25 graphics/libepoxy/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libepoxy/distinfo Fri Apr 03 08:48:57 2015 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index