[Midnightbsd-cvs] mports [19127] trunk/graphics: add libglapi
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed May 27 22:30:46 EDT 2015
Revision: 19127
http://svnweb.midnightbsd.org/mports/?rev=19127
Author: laffer1
Date: 2015-05-27 22:30:45 -0400 (Wed, 27 May 2015)
Log Message:
-----------
add libglapi
Modified Paths:
--------------
trunk/graphics/Makefile
Added Paths:
-----------
trunk/graphics/libglapi/
trunk/graphics/libglapi/Makefile
trunk/graphics/libglapi/pkg-descr
trunk/graphics/libglapi/pkg-plist
Modified: trunk/graphics/Makefile
===================================================================
--- trunk/graphics/Makefile 2015-05-28 02:29:04 UTC (rev 19126)
+++ trunk/graphics/Makefile 2015-05-28 02:30:45 UTC (rev 19127)
@@ -72,6 +72,7 @@
SUBDIR += libemf
SUBDIR += libexif
SUBDIR += libfpx
+SUBDIR += libglapi
SUBDIR += libgnomecanvas
SUBDIR += libgnomecanvasmm
SUBDIR += libgphoto2
Added: trunk/graphics/libglapi/Makefile
===================================================================
--- trunk/graphics/libglapi/Makefile (rev 0)
+++ trunk/graphics/libglapi/Makefile 2015-05-28 02:30:45 UTC (rev 19127)
@@ -0,0 +1,39 @@
+# $MidnightBSD$
+
+PORTNAME= libglapi
+PORTVERSION= ${MESAVERSION}
+PORTREVISION= ${LIBGLAPI_REVISION}
+CATEGORIES= graphics
+
+COMMENT= Common GL api library used by Mesa based ports
+
+LICENSE= mit
+
+LIB_DEPENDS+= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
+
+USE_XORG= x11 xau xcb xdmcp
+
+# stuff not needed by libglapi but configure wants it
+USE_XORG+= glproto dri2proto xext xdamage xfixes presentproto \
+ xshmfence
+LIB_DEPENDS+= libexpat.so:${PORTSDIR}/textproc/expat2 \
+ libdrm.so:${PORTSDIR}/graphics/libdrm
+
+.include <bsd.mport.options.mk>
+.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
+
+.if defined (WITH_NEW_MESA)
+LIBGLAPI_REVISION= 0
+.else
+LIBGLAPI_REVISION= 2
+.endif
+
+.if defined (WITH_NEW_MESA)
+BUILD_WRKSRC= ${WRKSRC}/src/mapi
+INSTALL_WRKSRC= ${WRKSRC}/src/mapi
+.else
+BUILD_WRKSRC= ${WRKSRC}/src/mapi/shared-glapi
+INSTALL_WRKSRC= ${WRKSRC}/src/mapi/shared-glapi
+.endif
+
+.include <bsd.port.mk>
Property changes on: trunk/graphics/libglapi/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/graphics/libglapi/pkg-descr
===================================================================
--- trunk/graphics/libglapi/pkg-descr (rev 0)
+++ trunk/graphics/libglapi/pkg-descr 2015-05-28 02:30:45 UTC (rev 19127)
@@ -0,0 +1,3 @@
+This package contains the EGL utility library.
+
+WWW: http://www.freedesktop.org/Software/xorg
Property changes on: trunk/graphics/libglapi/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/graphics/libglapi/pkg-plist
===================================================================
--- trunk/graphics/libglapi/pkg-plist (rev 0)
+++ trunk/graphics/libglapi/pkg-plist 2015-05-28 02:30:45 UTC (rev 19127)
@@ -0,0 +1,3 @@
+lib/libglapi.so
+lib/libglapi.so.0
+lib/libglapi.so.0.0.0
Property changes on: trunk/graphics/libglapi/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list