diff options
Diffstat (limited to 'graphics/glitz')
-rw-r--r-- | graphics/glitz/DESCR | 9 | ||||
-rw-r--r-- | graphics/glitz/Makefile | 18 | ||||
-rw-r--r-- | graphics/glitz/PLIST | 15 | ||||
-rw-r--r-- | graphics/glitz/buildlink3.mk | 20 | ||||
-rw-r--r-- | graphics/glitz/distinfo | 5 | ||||
-rw-r--r-- | graphics/glitz/patches/patch-aa | 22 |
6 files changed, 89 insertions, 0 deletions
diff --git a/graphics/glitz/DESCR b/graphics/glitz/DESCR new file mode 100644 index 00000000000..950aa643f70 --- /dev/null +++ b/graphics/glitz/DESCR @@ -0,0 +1,9 @@ +Glitz is a portable 2D graphics library that uses OpenGL to render hardware +accelerated graphics. It supports many of the latest OpenGL features, such as +efficient off-screen rendering using pbuffers. Rendering can be carried out by +arbitrary OpenGL layers, thanks to glitz's extensible backend system. + +Glitz is designed to match the X Render Extension semantics and provides +a general way for accelerating this imaging model. Glitz can be used as +a stand-alone layer above OpenGL but is also designed to act as a backend for +cairo, providing it with OpenGL accelerated output. diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile new file mode 100644 index 00000000000..0904929b4d6 --- /dev/null +++ b/graphics/glitz/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/27 12:11:43 adam Exp $ + +DISTNAME= glitz-0.1.0 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/snapshots/ + +MAINTAINER= adam@NetBSD.org +HOMEPAGE= http://freedesktop.org/Software/glitz +COMMENT= OpenGL 2D graphics library and a backend for gl output in cairo + +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +PKGCONFIG_OVERRIDE= glitz-agl.pc.in glitz-glx.pc.in glitz.pc.in + +.include "../../graphics/MesaLib/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/glitz/PLIST b/graphics/glitz/PLIST new file mode 100644 index 00000000000..f1e2449ceb3 --- /dev/null +++ b/graphics/glitz/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/27 12:11:43 adam Exp $ +include/glitz-glx.h +include/glitz.h +lib/libglitz-glx.a +lib/libglitz-glx.la +lib/libglitz-glx.so +lib/libglitz-glx.so.1 +lib/libglitz-glx.so.1.0 +lib/libglitz.a +lib/libglitz.la +lib/libglitz.so +lib/libglitz.so.1 +lib/libglitz.so.1.0 +lib/pkgconfig/glitz-glx.pc +lib/pkgconfig/glitz.pc diff --git a/graphics/glitz/buildlink3.mk b/graphics/glitz/buildlink3.mk new file mode 100644 index 00000000000..4e2ddb9b1dc --- /dev/null +++ b/graphics/glitz/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/27 12:11:43 adam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GLITZ_BUILDLINK3_MK:= ${GLITZ_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= glitz +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglitz} +BUILDLINK_PACKAGES+= glitz + +.if !empty(GLITZ_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.glitz+= glitz>=0.1.0 +BUILDLINK_PKGSRCDIR.glitz?= ../../graphics/glitz +.endif # GLITZ_BUILDLINK3_MK + +.include "../../graphics/MesaLib/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/glitz/distinfo b/graphics/glitz/distinfo new file mode 100644 index 00000000000..c2a5f7fae80 --- /dev/null +++ b/graphics/glitz/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/27 12:11:43 adam Exp $ + +SHA1 (glitz-0.1.0.tar.gz) = c5ccc71accc5c4bbe4ab9481b5942b7ca73110e8 +Size (glitz-0.1.0.tar.gz) = 351383 bytes +SHA1 (patch-aa) = 83197e31db8871c4a04ca5062aad8f4b5e2ee2c5 diff --git a/graphics/glitz/patches/patch-aa b/graphics/glitz/patches/patch-aa new file mode 100644 index 00000000000..d49dd226b71 --- /dev/null +++ b/graphics/glitz/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/04/27 12:11:44 adam Exp $ + +--- src/Makefile.in.orig 2004-04-27 13:58:44.000000000 +0000 ++++ src/Makefile.in +@@ -207,7 +207,7 @@ libglitz_la_LIBADD = -lm + + @GLITZ_BUILD_GLX_BACKEND_TRUE@libglitz_glx_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined + @GLITZ_BUILD_GLX_BACKEND_TRUE@libglitz_glx_la_CFLAGS = $(GLX_CFLAGS) +-@GLITZ_BUILD_GLX_BACKEND_TRUE@libglitz_glx_la_LIBADD = -lglitz $(GLX_LIBS) ++@GLITZ_BUILD_GLX_BACKEND_TRUE@libglitz_glx_la_LIBADD = libglitz.la $(GLX_LIBS) + + @GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_SOURCES = \ + @GLITZ_BUILD_AGL_BACKEND_TRUE@ glitz.h \ +@@ -224,7 +224,7 @@ libglitz_la_LIBADD = -lm + + @GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_LDFLAGS = -version-info @VERSION_INFO@ + @GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_CFLAGS = $(AGL_CFLAGS) +-@GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_LIBADD = -lglitz $(AGL_LIBS) ++@GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_LIBADD = libglitz.la $(AGL_LIBS) + subdir = src + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs |