pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/renderproto Import renderproto from pkgsrc-wip.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bbc1fa7f10e2
branches: trunk
changeset: 511634:bbc1fa7f10e2
user: reed <reed%pkgsrc.org@localhost>
date: Tue Apr 18 17:16:06 2006 +0000
description:
Import renderproto from pkgsrc-wip.
This provides the Render extension headers from modular X.org X11
project.
This will replace the renderext package.
diffstat:
x11/renderproto/DESCR | 2 +
x11/renderproto/Makefile | 20 +++++++++
x11/renderproto/PLIST | 5 ++
x11/renderproto/buildlink3.mk | 20 +++++++++
x11/renderproto/builtin.mk | 87 +++++++++++++++++++++++++++++++++++++++++++
x11/renderproto/distinfo | 5 ++
6 files changed, 139 insertions(+), 0 deletions(-)
diffs (163 lines):
diff -r 15f8647f60f0 -r bbc1fa7f10e2 x11/renderproto/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderproto/DESCR Tue Apr 18 17:16:06 2006 +0000
@@ -0,0 +1,2 @@
+This provides the Render extension headers from modular X.org X11
+project.
diff -r 15f8647f60f0 -r bbc1fa7f10e2 x11/renderproto/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderproto/Makefile Tue Apr 18 17:16:06 2006 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/18 17:16:06 reed Exp $
+#
+
+DISTNAME= renderproto-0.9.1
+CATEGORIES= x11
+MASTER_SITES= http://xorg.freedesktop.org/releases/X11R7.0-RC1/proto/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= reed%reedmedia.net@localhost
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= Render extension headers from modular X.org
+
+CONFLICTS+= renderext-[0-9]*
+#CONFLICTS+= xorg-libs-[0-9]* # not in same PREFIX
+
+GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/renderproto.pc.in
+USE_LANGUAGES= # empty
+
+.include "../../mk/bsd.pkg.mk"
diff -r 15f8647f60f0 -r bbc1fa7f10e2 x11/renderproto/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderproto/PLIST Tue Apr 18 17:16:06 2006 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/18 17:16:06 reed Exp $
+include/X11/extensions/render.h
+include/X11/extensions/renderproto.h
+lib/pkgconfig/renderproto.pc
+@comment @dirrm include/X11/extensions
diff -r 15f8647f60f0 -r bbc1fa7f10e2 x11/renderproto/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderproto/buildlink3.mk Tue Apr 18 17:16:06 2006 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/04/18 17:16:06 reed Exp $
+
+BUILDLINK_DEPMETHOD.renderproto?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+RENDERPROTO_BUILDLINK3_MK:= ${RENDERPROTO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= renderproto
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrenderproto}
+BUILDLINK_PACKAGES+= renderproto
+
+.if !empty(RENDERPROTO_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.renderproto+= renderproto>=0.9.1
+BUILDLINK_PKGSRCDIR.renderproto?= ../../x11/renderproto
+.endif # RENDERPROTO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 15f8647f60f0 -r bbc1fa7f10e2 x11/renderproto/builtin.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderproto/builtin.mk Tue Apr 18 17:16:06 2006 +0000
@@ -0,0 +1,87 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2006/04/18 17:16:06 reed Exp $
+
+BUILTIN_PKG:= renderproto
+
+BUILTIN_FIND_FILES_VAR:= H_RENDER
+BUILTIN_FIND_FILES.H_RENDER= ${X11BASE}/include/X11/extensions/render.h
+
+.include "../../mk/buildlink3/bsd.builtin.mk"
+
+###
+### Determine if there is a built-in implementation of the package and
+### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
+###
+.if !defined(IS_BUILTIN.renderproto)
+IS_BUILTIN.renderproto= no
+#
+# Here, we skip checking whether the files are under ${LOCALBASE} since
+# we'll consider this X11 package to be built-in even if it's a part
+# of one of the pkgsrc-installed X11 distributions.
+#
+. if empty(H_RENDER:M__nonexistent__)
+IS_BUILTIN.renderproto= yes
+. endif
+.endif
+MAKEVARS+= IS_BUILTIN.renderproto
+
+###
+### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to
+### a package name to represent the built-in package.
+###
+.if !defined(BUILTIN_PKG.renderproto) && \
+ !empty(IS_BUILTIN.renderproto:M[yY][eE][sS]) && \
+ empty(H_RENDER:M__nonexistent__)
+BUILTIN_VERSION.renderproto!= \
+ ${AWK} '/\#define[ ]*RENDER_MAJOR/ { M = $$3 } \
+ /\#define[ ]*RENDER_MINOR/ { m = "."$$3 } \
+ END { printf "%s%s\n", M, m }' \
+ ${H_RENDER}
+BUILTIN_PKG.renderproto= renderproto-${BUILTIN_VERSION.renderproto}
+.endif
+MAKEVARS+= BUILTIN_PKG.renderproto
+
+###
+### Determine whether we should use the built-in implementation if it
+### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
+###
+.if !defined(USE_BUILTIN.renderproto)
+. if ${PREFER.renderproto} == "pkgsrc"
+USE_BUILTIN.renderproto= no
+. else
+USE_BUILTIN.renderproto= ${IS_BUILTIN.renderproto}
+. if defined(BUILTIN_PKG.renderproto) && \
+ !empty(IS_BUILTIN.renderproto:M[yY][eE][sS])
+USE_BUILTIN.renderproto= yes
+. for _dep_ in ${BUILDLINK_API_DEPENDS.renderproto}
+. if !empty(USE_BUILTIN.renderproto:M[yY][eE][sS])
+USE_BUILTIN.renderproto!= \
+ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.renderproto:Q}; then \
+ ${ECHO} yes; \
+ else \
+ ${ECHO} no; \
+ fi
+. endif
+. endfor
+. endif
+. endif # PREFER.renderproto
+.endif
+MAKEVARS+= USE_BUILTIN.renderproto
+
+###
+### The section below only applies if we are not including this file
+### solely to determine whether a built-in implementation exists.
+###
+CHECK_BUILTIN.renderproto?= no
+.if !empty(CHECK_BUILTIN.renderproto:M[nN][oO])
+
+. if !empty(USE_BUILTIN.renderproto:M[nN][oO])
+BUILDLINK_API_DEPENDS.renderproto+= renderproto>=0.9
+. endif
+
+. if !empty(USE_BUILTIN.renderproto:M[yY][eE][sS])
+BUILDLINK_PREFIX.renderproto= ${X11BASE}
+. include "../../mk/x11.buildlink3.mk"
+. include "../../mk/x11.builtin.mk"
+. endif
+
+.endif # CHECK_BUILTIN.renderproto
diff -r 15f8647f60f0 -r bbc1fa7f10e2 x11/renderproto/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderproto/distinfo Tue Apr 18 17:16:06 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/18 17:16:06 reed Exp $
+
+SHA1 (renderproto-0.9.1.tar.bz2) = 277bf58fbb8b94be211936a8d0ecb0d7c03c9c75
+RMD160 (renderproto-0.9.1.tar.bz2) = 5f0e0bca78bb9977af0b984f107903ae263eab25
+Size (renderproto-0.9.1.tar.bz2) = 39675 bytes
Home |
Main Index |
Thread Index |
Old Index