[Midnightbsd-cvs] mports [18267] trunk/graphics: add qt4-opengl

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 21 14:49:07 EDT 2015


Revision: 18267
          http://svnweb.midnightbsd.org/mports/?rev=18267
Author:   laffer1
Date:     2015-03-21 14:49:06 -0400 (Sat, 21 Mar 2015)
Log Message:
-----------
add qt4-opengl

Modified Paths:
--------------
    trunk/graphics/Makefile

Added Paths:
-----------
    trunk/graphics/qt4-opengl/
    trunk/graphics/qt4-opengl/Makefile
    trunk/graphics/qt4-opengl/pkg-plist

Modified: trunk/graphics/Makefile
===================================================================
--- trunk/graphics/Makefile	2015-03-21 18:47:10 UTC (rev 18266)
+++ trunk/graphics/Makefile	2015-03-21 18:49:06 UTC (rev 18267)
@@ -141,6 +141,7 @@
 SUBDIR += py3-cairo
 SUBDIR += qt4-iconengines
 SUBDIR += qt4-imageformats
+SUBDIR += qt4-opengl
 SUBDIR += qt4-pixeltool
 SUBDIR += qt4-svg
 SUBDIR += sane-backends

Added: trunk/graphics/qt4-opengl/Makefile
===================================================================
--- trunk/graphics/qt4-opengl/Makefile	                        (rev 0)
+++ trunk/graphics/qt4-opengl/Makefile	2015-03-21 18:49:06 UTC (rev 18267)
@@ -0,0 +1,56 @@
+# $MidnightBSD$
+
+PORTNAME=	opengl
+DISTVERSION=	${QT4_VERSION}
+CATEGORIES=	graphics
+PKGNAMEPREFIX=	qt4-
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Qt OpenGL support module
+
+LICENSE=	gpl3
+
+USE_QT4=	qmake_build moc_build corelib gui
+QT_DIST=	yes
+
+HAS_CONFIGURE=	yes
+USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
+USE_GL=		gl
+USE_XORG=	x11
+
+ALL_TARGET=	first
+CONFIGURE_ENV?=	QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
+MAKE_ENV?=	QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib:$$LD_LIBRARY_PATH \
+		PATH=${WRKSRC}/bin:$$PATH
+
+DO_NOT_EXTRACT=	demos doc examples mkspecs qmake tools translations \
+		src/activeqt src/dbus src/multimedia src/network src/openvg \
+		src/phonon src/qt3support src/s60installs src/s60main \
+		src/script src/scripttools src/sql src/svg src/testlib \
+		src/tools src/winmain src/xml src/xmlpatterns \
+		src/3rdparty/clucene src/3rdparty/freetype \
+		src/3rdparty/libjpeg src/3rdparty/libmng src/3rdparty/libpng \
+		src/3rdparty/libtiff src/3rdparty/phonon src/3rdparty/webkit
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+=	--exclude '${DISTNAME}/${dne}'
+.endfor
+
+BUILD_WRKSRC=	${WRKSRC}/src/${PORTNAME}
+INSTALL_WRKSRC=	${BUILD_WRKSRC}
+
+CONFIGURE_ARGS+=	-I../../include/QtCore -I../../include/QtGui \
+			-I../../include/Qt -I../../include
+
+pre-configure:
+	${MKDIR} ${WRKSRC}/mkspecs
+	${LN} -sf ${QMAKE} ${WRKSRC}/bin/qmake
+	${LN} -sf ${MOC} ${WRKSRC}/bin/moc
+
+post-configure:
+	${REINPLACE_CMD} -e 's|${PREFIX}/${QT_LIBDIR_REL}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+		-e 's|.*$$(QMAKE).*||g' ${BUILD_WRKSRC}/Makefile
+	${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
+			-E -e 's|(.*location=).*moc|\1${PREFIX}/${QT_BINDIR_REL}/${MOC:T}|g' \
+		${WRKSRC}/lib/pkgconfig/QtOpenGL.pc
+
+.include <bsd.port.mk>


Property changes on: trunk/graphics/qt4-opengl/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/qt4-opengl/pkg-plist
===================================================================
--- trunk/graphics/qt4-opengl/pkg-plist	                        (rev 0)
+++ trunk/graphics/qt4-opengl/pkg-plist	2015-03-21 18:49:06 UTC (rev 18267)
@@ -0,0 +1,43 @@
+%%QT_INCDIR%%/Qt/QtOpenGL
+%%QT_INCDIR%%/Qt/qgl.h
+%%QT_INCDIR%%/Qt/qglbuffer.h
+%%QT_INCDIR%%/Qt/qglcolormap.h
+%%QT_INCDIR%%/Qt/qglframebufferobject.h
+%%QT_INCDIR%%/Qt/qglfunctions.h
+%%QT_INCDIR%%/Qt/qglpixelbuffer.h
+%%QT_INCDIR%%/Qt/qglscreen_qws.h
+%%QT_INCDIR%%/Qt/qglshaderprogram.h
+%%QT_INCDIR%%/QtOpenGL/QGLBuffer
+%%QT_INCDIR%%/QtOpenGL/QGLColormap
+%%QT_INCDIR%%/QtOpenGL/QGLContext
+%%QT_INCDIR%%/QtOpenGL/QGLFormat
+%%QT_INCDIR%%/QtOpenGL/QGLFramebufferObject
+%%QT_INCDIR%%/QtOpenGL/QGLFramebufferObjectFormat
+%%QT_INCDIR%%/QtOpenGL/QGLFunctions
+%%QT_INCDIR%%/QtOpenGL/QGLFunctionsPrivate
+%%QT_INCDIR%%/QtOpenGL/QGLPixelBuffer
+%%QT_INCDIR%%/QtOpenGL/QGLScreen
+%%QT_INCDIR%%/QtOpenGL/QGLScreenSurfaceFunctions
+%%QT_INCDIR%%/QtOpenGL/QGLShader
+%%QT_INCDIR%%/QtOpenGL/QGLShaderProgram
+%%QT_INCDIR%%/QtOpenGL/QGLWidget
+%%QT_INCDIR%%/QtOpenGL/QMacCompatGLenum
+%%QT_INCDIR%%/QtOpenGL/QMacCompatGLint
+%%QT_INCDIR%%/QtOpenGL/QMacCompatGLuint
+%%QT_INCDIR%%/QtOpenGL/QMacGLCompatTypes
+%%QT_INCDIR%%/QtOpenGL/QtOpenGL
+%%QT_INCDIR%%/QtOpenGL/qgl.h
+%%QT_INCDIR%%/QtOpenGL/qglbuffer.h
+%%QT_INCDIR%%/QtOpenGL/qglcolormap.h
+%%QT_INCDIR%%/QtOpenGL/qglframebufferobject.h
+%%QT_INCDIR%%/QtOpenGL/qglfunctions.h
+%%QT_INCDIR%%/QtOpenGL/qglpixelbuffer.h
+%%QT_INCDIR%%/QtOpenGL/qglscreen_qws.h
+%%QT_INCDIR%%/QtOpenGL/qglshaderprogram.h
+%%QT_LIBDIR%%/libQtOpenGL.prl
+%%QT_LIBDIR%%/libQtOpenGL.so
+%%QT_LIBDIR%%/libQtOpenGL.so.4
+%%QT_LIBDIR%%/libQtOpenGL.so.%%SHORTVER%%
+%%QT_LIBDIR%%/libQtOpenGL.so.%%FULLVER%%
+%%DEBUG%%%%QT_LIBDIR%%/libQtOpenGL.so.%%FULLVER%%.debug
+libdata/pkgconfig/QtOpenGL.pc


Property changes on: trunk/graphics/qt4-opengl/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