svn commit: r378033 - in head: Mk devel/qt5 sysutils sysutils/qt5-qtpaths

Raphael Kubo da Costa rakuco at FreeBSD.org
Wed Jan 28 01:15:24 UTC 2015


Author: rakuco
Date: Wed Jan 28 01:15:22 2015
New Revision: 378033
URL: https://svnweb.freebsd.org/changeset/ports/378033
QAT: https://qat.redports.org/buildarchive/r378033/

Log:
  Add sysutils/qt5-qtpaths.
  
  This is a command-line interface to QStandardPaths, part of qttools. It is
  used by the KDE Frameworks 5 ports, which will be added in the future.
  
  While here, also add x11-toolkits/qt5-quickcontrols to devel/qt5 which I had
  forgotten to do before.
  
  Submitted by:	Tobias Berner <tcberner at gmail.com>

Added:
  head/sysutils/qt5-qtpaths/
  head/sysutils/qt5-qtpaths/Makefile   (contents, props changed)
  head/sysutils/qt5-qtpaths/pkg-descr   (contents, props changed)
Modified:
  head/Mk/bsd.qt.mk
  head/devel/qt5/Makefile
  head/sysutils/Makefile

Modified: head/Mk/bsd.qt.mk
==============================================================================
--- head/Mk/bsd.qt.mk	Wed Jan 28 01:08:43 2015	(r378032)
+++ head/Mk/bsd.qt.mk	Wed Jan 28 01:15:22 2015	(r378033)
@@ -297,7 +297,7 @@ _USE_QT4_ONLY=	accessible assistant-adp 
 				qtestlib qvfb rcc uic uic3 xmlpatterns-tool
 
 _USE_QT5_ONLY=	buildtools concurrent core graphicaleffects linguisttools \
-				printsupport qdbus qdoc qev qml quick \
+				paths printsupport qdbus qdoc qev qml quick \
 				quickcontrols serialport uitools widgets x11extras
 
 accessible_PORT=	accessibility/${_QT_RELNAME}-accessible
@@ -402,6 +402,9 @@ network_PATH=		${QT_LIBDIR}/libQt${_QT_L
 opengl_PORT=		graphics/${_QT_RELNAME}-opengl
 opengl_PATH=		${QT_LIBDIR}/libQt${_QT_LIBVER}OpenGL.so
 
+paths_PORT=		sysutils/qt5-qtpaths
+paths_PATH=		${QT_BINDIR}/qtpaths
+
 pixeltool_PORT=		graphics/${_QT_RELNAME}-pixeltool
 pixeltool_PATH=		${QT_BINDIR}/pixeltool
 

Modified: head/devel/qt5/Makefile
==============================================================================
--- head/devel/qt5/Makefile	Wed Jan 28 01:08:43 2015	(r378032)
+++ head/devel/qt5/Makefile	Wed Jan 28 01:15:22 2015	(r378033)
@@ -2,6 +2,7 @@
 
 PORTNAME=	qt5
 DISTVERSION=	${QT5_VERSION}
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	# empty
 DISTFILES=	# empty
@@ -12,9 +13,9 @@ COMMENT=	Cross-platform application and 
 
 USE_QT5=	clucene concurrent core dbus declarative designer \
 		graphicaleffects gui help imageformats multimedia \
-		network opengl printsupport qml quick script \
-		scripttools serialport sql svg testlib webkit widgets x11extras \
-		xml xmlpatterns
+		network opengl paths printsupport qml quick quickcontrols \
+		script scripttools serialport sql svg testlib webkit widgets \
+		x11extras xml xmlpatterns
 
 NO_BUILD=	yes
 NO_MTREE=	yes

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Wed Jan 28 01:08:43 2015	(r378032)
+++ head/sysutils/Makefile	Wed Jan 28 01:15:22 2015	(r378033)
@@ -761,6 +761,7 @@
     SUBDIR += qlogtools
     SUBDIR += qpxtool
     SUBDIR += qsynergy
+    SUBDIR += qt5-qtpaths
     SUBDIR += quicksynergy
     SUBDIR += qzeitgeist
     SUBDIR += racktables

Added: head/sysutils/qt5-qtpaths/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/qt5-qtpaths/Makefile	Wed Jan 28 01:15:22 2015	(r378033)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	qtpaths
+DISTVERSION=	${QT5_VERSION}
+CATEGORIES=	sysutils
+PKGNAMEPREFIX=	qt5-
+
+MAINTAINER=	kde at FreeBSD.org
+COMMENT=	Command line client to QStandardPaths
+
+USE_QT5=	core
+QT_DIST=	tools
+USES=		qmake
+
+PLIST_FILES=	${QT_BINDIR}/qtpaths
+
+# Similarly to x11/qt5-qev, it makes more sense to just run the build system
+# from the qtpaths directory. If we run it from the top of the source tree, it
+# will look for a lot more dependencies for other tools such as lupdate, which
+# we do not really have to depend on.
+WRKSRC_SUBDIR=	src/${PORTNAME}
+post-patch:
+	${CP} ${WRKSRC}/../../.qmake.conf ${WRKSRC}
+
+.include <bsd.port.mk>

Added: head/sysutils/qt5-qtpaths/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/qt5-qtpaths/pkg-descr	Wed Jan 28 01:15:22 2015	(r378033)
@@ -0,0 +1 @@
+Command line client to QStandardPaths.


More information about the svn-ports-head mailing list