svn commit: r444046 - in head: Mk sysutils sysutils/qt5-qtdiag sysutils/qt5-qtplugininfo
Tobias C. Berner
tcberner at FreeBSD.org
Wed Jun 21 18:07:21 UTC 2017
Author: tcberner
Date: Wed Jun 21 18:07:19 2017
New Revision: 444046
URL: https://svnweb.freebsd.org/changeset/ports/444046
Log:
Add two new ports: sysutils/qt5-qtdiag and sysutils/qt5-qtplugininfo
* qtdiag outputs diagnostics on the current Qt installation and can be helpful to find issues.
* qtpluginfo is useful while writing plugins for Qt5/KDE Plasma
Reviewed by: rakuco, mat
Differential Revision: https://reviews.freebsd.org/D11280
Added:
head/sysutils/qt5-qtdiag/
head/sysutils/qt5-qtdiag/Makefile (contents, props changed)
head/sysutils/qt5-qtplugininfo/
head/sysutils/qt5-qtplugininfo/Makefile (contents, props changed)
Modified:
head/Mk/bsd.qt.mk
head/sysutils/Makefile
Modified: head/Mk/bsd.qt.mk
==============================================================================
--- head/Mk/bsd.qt.mk Wed Jun 21 18:00:42 2017 (r444045)
+++ head/Mk/bsd.qt.mk Wed Jun 21 18:07:19 2017 (r444046)
@@ -316,8 +316,8 @@ _USE_QT4_ONLY= accessible assistant-adp assistantclien
qtestlib qvfb rcc uic uic3 xmlpatterns-tool
_USE_QT5_ONLY= 3d buildtools canvas3d charts concurrent connectivity \
- core datavis3d declarative-render2d examples gamepad \
- graphicaleffects location paths phonon4 printsupport \
+ core datavis3d declarative-render2d diag examples gamepad \
+ graphicaleffects location paths phonon4 plugininfo printsupport \
qdbus qdoc qdoc-data qev qml quick quickcontrols \
quickcontrols2 scxml sensors serialbus serialport \
sql-tds uiplugin uitools virtualkeyboard webchannel \
@@ -392,6 +392,9 @@ demo_PATH= ${QT_BINDIR}/qtdemo
designer_PORT= devel/${_QT_RELNAME}-designer
designer_PATH= ${QT_BINDIR}/designer
+diag_PORT= sysutils/${_QT_RELNAME}-qtdiag
+diag_PATH= ${QT_BINDIR}/qtdiag
+
doc_PORT= misc/${_QT_RELNAME}-doc
doc_PATH= ${_QT_RELNAME}-doc>=${_QT_VERSION:R:R}
@@ -466,6 +469,9 @@ phonon4_LIB= libphonon4${_QT_RELNAME}.so
phonon-gst_PORT= multimedia/phonon-gstreamer
phonon-gst_PATH= ${QT_PLUGINDIR}/phonon_backend/libphonon_gstreamer.so
+
+plugininfo_PORT= sysutils/${_QT_RELNAME}-qtplugininfo
+plugininfo_PATH= ${QT_BINDIR}/qtplugininfo
porting_PORT= devel/${_QT_RELNAME}-porting
porting_PATH= ${QT_BINDIR}/qt3to4
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Wed Jun 21 18:00:42 2017 (r444045)
+++ head/sysutils/Makefile Wed Jun 21 18:07:19 2017 (r444046)
@@ -914,7 +914,9 @@
SUBDIR += qlogtools
SUBDIR += qpxtool
SUBDIR += qsynergy
+ SUBDIR += qt5-qtdiag
SUBDIR += qt5-qtpaths
+ SUBDIR += qt5-qtplugininfo
SUBDIR += qtpass
SUBDIR += quicksynergy
SUBDIR += qzeitgeist
Added: head/sysutils/qt5-qtdiag/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/qt5-qtdiag/Makefile Wed Jun 21 18:07:19 2017 (r444046)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= qtdiag
+DISTVERSION= ${QT5_VERSION}
+CATEGORIES= sysutils
+PKGNAMEPREFIX= qt5-
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Tool for reporting diagnostic information about Qt and its environment
+
+USES= qmake:outsource
+USE_QT5= core gui
+QT_DIST= tools
+
+PLIST_FILES= ${QT_BINDIR}/qtdiag
+
+# Similarly to x11/qt5-qev, it makes more sense to just run the build system
+# from the qtdiag 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-qtplugininfo/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/qt5-qtplugininfo/Makefile Wed Jun 21 18:07:19 2017 (r444046)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= qtplugininfo
+DISTVERSION= ${QT5_VERSION}
+CATEGORIES= sysutils
+PKGNAMEPREFIX= qt5-
+
+MAINTAINER= kde at FreeBSD.org
+COMMENT= Qt5 plugin metadata dumper
+
+USES= qmake:outsource
+USE_QT5= core
+QT_DIST= tools
+
+PLIST_FILES= ${QT_BINDIR}/qtplugininfo
+
+# Similarly to x11/qt5-qev, it makes more sense to just run the build system
+# from the qtplugininfo 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>
More information about the svn-ports-head
mailing list