View | Details | Raw Unified | Return to bug 229225 | Differences between
and this patch

Collapse All | Expand All

(-)CHANGES (+21 lines)
Lines 10-15 in the release notes and/or placed into UPDATING. Link Here
10
10
11
All ports committers are allowed to commit to this file.
11
All ports committers are allowed to commit to this file.
12
12
13
20180630:
14
AUTHOR: kde@FreeBSD.org
15
16
  bsd.qt.mk has been replaced by qt.mk. This changes the way ports have to
17
  depend on Qt slightly.
18
19
  Previously one would have written
20
  	USE_QT4=foo bar
21
  or
22
  	USE_QT5=foo bar
23
  while now one has to write
24
  	USES=qt:4
25
  	USE_QT=foo bar
26
  respectively
27
  	USES=qt:5
28
  	USE_QT=foo bar
29
30
  Further qmake.mk no longer respects QT_NONSTANDARD. Ports that don't want to
31
  get the configure environment provided by qmake.mk should add the argument
32
  no_env, ports that don't want the configure target should specify no_configure.
33
13
20180506:
34
20180506:
14
AUTHOR: brnrd@FreeBSD.org
35
AUTHOR: brnrd@FreeBSD.org
15
36
(-)Mk/Scripts/qa.sh (-4 / +2 lines)
Lines 551-562 proxydeps_suggest_uses() { Link Here
551
		warn "you need USE_XORG+=pixman"
551
		warn "you need USE_XORG+=pixman"
552
	# Qt4
552
	# Qt4
553
	elif expr ${pkg} : '.*/qt4-.*' > /dev/null; then
553
	elif expr ${pkg} : '.*/qt4-.*' > /dev/null; then
554
		warn "you need USE_QT4+=$(echo ${pkg} | sed -E 's|.*/qt4-||')"
554
		warn "you need USES=qt:4 and USE_QT+=$(echo ${pkg} | sed -E 's|.*/qt4-||')"
555
	elif expr ${pkg} : '.*/.*-qt4' > /dev/null; then
556
		warn "you need USE_QT4+=$(echo ${pkg} | sed -E 's|.*/(.*)-qt4|\1|')"
557
	# Qt5
555
	# Qt5
558
	elif expr ${pkg} : '.*/qt5-.*' > /dev/null; then
556
	elif expr ${pkg} : '.*/qt5-.*' > /dev/null; then
559
		warn "you need USE_QT5+=$(echo ${pkg} | sed -E 's|.*/qt5-||')"
557
		warn "you need USES=qt:5 and USE_QT+=$(echo ${pkg} | sed -E 's|.*/qt5-||')"
560
	# MySQL
558
	# MySQL
561
	elif expr ${lib_file} : "${LOCALBASE}/lib/mysql/[^/]*$" > /dev/null; then
559
	elif expr ${lib_file} : "${LOCALBASE}/lib/mysql/[^/]*$" > /dev/null; then
562
		warn "you need USES+=mysql"
560
		warn "you need USES+=mysql"
(-)Mk/Uses/qmake.mk (-53 / +84 lines)
Lines 1-5 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
#
2
#
3
# There are three Qt related USES files with different access to Qt.
4
#   - qmake: The port requires Qt's qmake to build -- creates the configure target
5
#            - auto includes qt.mk
6
#   - qt-dist: The port is a port for an part of Qt4 or Qt5
7
#            - auto inclues qt.mk
8
#   - qt.mk  - Dependency handling. USE_QT=foo bar
9
#
10
#
3
# Provide support for qmake-based projects
11
# Provide support for qmake-based projects
4
#
12
#
5
# Feature:		qmake
13
# Feature:		qmake
Lines 9-14 Link Here
9
# ARGS description:
17
# ARGS description:
10
# norecursive		Don't pass -recursive argument to qmake binary
18
# norecursive		Don't pass -recursive argument to qmake binary
11
# outsource		Perform an out-of-source build
19
# outsource		Perform an out-of-source build
20
# no_env		Suppress modification of configure and make environment.
21
# no_configure		Don't add the configure target -- this is implied by 
22
#			HAS_CONFIGURE=yes and GNU_CONFIGURE=yes
12
#
23
#
13
#
24
#
14
# Variables for ports:
25
# Variables for ports:
Lines 33-109 Link Here
33
.if !defined(_INCLUDE_USES_QMAKE_MK)
44
.if !defined(_INCLUDE_USES_QMAKE_MK)
34
_INCLUDE_USES_QMAKE_MK=	yes
45
_INCLUDE_USES_QMAKE_MK=	yes
35
46
36
# _QT_VERSION is defined in bsd.qt.mk, only if a correct Qt version was selected
47
# Suck in qt.mk
37
# via USE_QT*.
48
.include "${USESDIR}/qt.mk"
38
.if empty(_QT_VERSION)
39
IGNORE=	'USES+= qmake' must be accompanied with 'USE_QT[${_QT_SUPPORTED:S/ //g}]= #'
40
.endif
41
49
42
# _env is a private argument used only by bsd.qt.mk to get variables and custom
50
_VALID_ARGS=		norecursive outsource no_env no_configure
43
# targets (currently, only qmake-configure), without qmake being added to the
44
# configure stage.
45
_VALID_ARGS=	norecursive outsource _env
46
51
47
.for arg in ${qmake_ARGS}
52
.  for arg in ${qmake_ARGS}
48
.  if empty(_VALID_ARGS:M${arg})
53
.    if empty(_VALID_ARGS:M${arg})
49
IGNORE=	Incorrect 'USES+= qmake' usage: argument '${arg}' is not recognized
54
IGNORE=			Incorrect 'USES+= qmake' usage: argument '${arg}' is not recognized
50
.  endif
55
.    endif
51
.endfor
56
.  endfor
52
57
53
.if ! ${qmake_ARGS:M_env}
58
# Check whether we need to add the configure target
54
USE_QT${_QT_VERSION:R:R}+=	qmake_build
59
_ADD_CONFIGURE_TARGET=	yes
55
.endif
60
.  if !empty(qmake_ARGS:Mno_configure) || defined(HAS_CONFIGURE) || defined(GNU_CONFIGURE)
61
_ADD_CONFIGURE_TARGET=	# unset
62
.  endif
56
63
57
# QMAKESPEC belongs to bsd.qt.mk.
64
# QMAKESPEC belongs to bsd.qt.mk.
58
QMAKE_ENV?=	${CONFIGURE_ENV}
65
QMAKE_ENV?=		${CONFIGURE_ENV}
59
QMAKE_ARGS+=	-spec ${QMAKESPEC} \
66
QMAKE_ARGS+=		-spec ${QMAKESPEC} \
60
		QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" \
67
			QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" \
61
		QMAKE_LINK_C="${CC}" QMAKE_LINK_C_SHLIB="${CC}" \
68
			QMAKE_LINK_C="${CC}" QMAKE_LINK_C_SHLIB="${CC}" \
62
		QMAKE_LINK="${CXX}" QMAKE_LINK_SHLIB="${CXX}" \
69
			QMAKE_LINK="${CXX}" QMAKE_LINK_SHLIB="${CXX}" \
63
		QMAKE_CFLAGS="${CFLAGS}" \
70
			QMAKE_CFLAGS="${CFLAGS}" \
64
		QMAKE_CXXFLAGS="${CXXFLAGS}" \
71
			QMAKE_CXXFLAGS="${CXXFLAGS}" \
65
		QMAKE_LFLAGS="${LDFLAGS}" \
72
			QMAKE_LFLAGS="${LDFLAGS}" \
66
		QMAKE_LIBS="${LIBS}" \
73
			QMAKE_LIBS="${LIBS}" \
67
		QMAKE_CFLAGS_DEBUG="" \
74
			QMAKE_CFLAGS_DEBUG="" \
68
		QMAKE_CFLAGS_RELEASE="" \
75
			QMAKE_CFLAGS_RELEASE="" \
69
		QMAKE_CXXFLAGS_DEBUG="" \
76
			QMAKE_CXXFLAGS_DEBUG="" \
70
		QMAKE_CXXFLAGS_RELEASE="" \
77
			QMAKE_CXXFLAGS_RELEASE="" \
71
		PREFIX="${PREFIX}"
78
			PREFIX="${PREFIX}"
72
79
73
.if defined(WITH_DEBUG)
80
.  if defined(WITH_DEBUG)
74
QMAKE_ARGS+=	CONFIG+="debug" \
81
PLIST_SUB+=		DEBUG=""
75
		CONFIG-="release"
82
QMAKE_ARGS+=		CONFIG+="debug" \
76
.else
83
			CONFIG-="release"
77
QMAKE_ARGS+=	CONFIG+="release" \
84
.  else
78
		CONFIG-="debug separate_debug_info"
85
PLIST_SUB+=		DEBUG="@comment "
79
.endif # defined(WITH_DEBUG)
86
QMAKE_ARGS+=		CONFIG+="release" \
87
			CONFIG-="debug separate_debug_info"
88
.  endif # defined(WITH_DEBUG)
80
89
81
# We set -recursive by default to keep qmake from running in the build stage.
90
# We set -recursive by default to keep qmake from running in the build stage.
82
.if ! ${qmake_ARGS:Mnorecursive}
91
.  if ! ${qmake_ARGS:Mnorecursive}
83
QMAKE_ARGS+=	-recursive
92
QMAKE_ARGS+=		-recursive
84
.endif
93
.  endif
85
94
86
.if defined(QMAKE_VERBOSE)
95
.  if defined(QMAKE_VERBOSE)
87
QMAKE_ARGS+=	-d
96
QMAKE_ARGS+=		-d
88
.endif
97
.  endif
89
98
90
# _QMAKE_WRKSRC (and _QMAKE, below) are needed to abstract the qmake target and
99
# _QMAKE_WRKSRC (and _QMAKE, below) are needed to abstract the qmake target and
91
# use it for both qtbase and USES=qmake ports. They are private, not supposed to
100
# use it for both qtbase and USES=qmake ports. They are private, not supposed to
92
# be used anywhere else.
101
# be used anywhere else.
93
_QMAKE_WRKSRC?=	${CONFIGURE_WRKSRC}
102
_QMAKE_WRKSRC?=	${CONFIGURE_WRKSRC}
94
.if ${qmake_ARGS:Moutsource}
103
.  if ${qmake_ARGS:Moutsource}
95
CONFIGURE_WRKSRC=	${WRKDIR}/.build
104
CONFIGURE_WRKSRC=	${WRKDIR}/.build
96
BUILD_WRKSRC=		${CONFIGURE_WRKSRC}
105
BUILD_WRKSRC=		${CONFIGURE_WRKSRC}
97
INSTALL_WRKSRC=		${BUILD_WRKSRC}
106
INSTALL_WRKSRC=		${BUILD_WRKSRC}
98
TEST_WRKSRC=		${BUILD_WRKSRC}
107
TEST_WRKSRC=		${BUILD_WRKSRC}
99
QMAKE_SOURCE_PATH?=	${WRKSRC}
108
QMAKE_SOURCE_PATH?=	${WRKSRC}
100
.else
109
.  else
101
QMAKE_SOURCE_PATH?=	# empty
110
QMAKE_SOURCE_PATH?=	# empty
102
.endif
111
.  endif
103
112
104
.if ! ${qmake_ARGS:M_env}
113
# Add qmake to USE_QT -- unless it's qmake itself
105
DESTDIRNAME=	INSTALL_ROOT
114
.  if !${PORTNAME} == qmake
106
.endif
115
USE_QT+=		qmake_build
116
.  endif
117
118
.  if empty(qmake_ARGS:Mno_env)
119
DESTDIRNAME=		INSTALL_ROOT
120
CONFIGURE_ENV+=		QTDIR="${QT_ARCHDIR}" QMAKE="${QMAKE}" \
121
			MOC="${MOC}" RCC="${RCC}" UIC="${UIC}" \
122
			QMAKESPEC="${QMAKESPEC}"
123
CONFIGURE_ARGS+=	--with-qt-includes=${QT_INCDIR} \
124
			--with-qt-libraries=${QT_LIBDIR} \
125
			--with-extra-includes=${LOCALBASE}/include \
126
			--with-extra-libs=${LOCALBASE}/lib
127
.  endif
128
129
_USES_POST+=		qmake
130
.endif # _QMAKE_MK_INCLUDED
131
132
# =============================================================================
133
#
134
# =============================================================================
135
136
.if defined(_POSTMKINCLUDED) && !defined(_QMAKE_MK_POST_INCLUDED)
137
_QMAKE_MK_POST_INCLUDED=	qmake.mk
107
138
108
# Define a custom target to make it usable by bsd.qt.mk for internal Qt
139
# Define a custom target to make it usable by bsd.qt.mk for internal Qt
109
# configuration.
140
# configuration.
Lines 114-121 qmake-configure: Link Here
114
			${QMAKE_SOURCE_PATH} \
145
			${QMAKE_SOURCE_PATH} \
115
			${QMAKE_CONFIGURE_ARGS:?--:} ${QMAKE_CONFIGURE_ARGS}
146
			${QMAKE_CONFIGURE_ARGS:?--:} ${QMAKE_CONFIGURE_ARGS}
116
147
117
.if !target(do-configure) && ! ${qmake_ARGS:M_env}
148
.  if !target(do-configure) && !empty(_ADD_CONFIGURE_TARGET)
118
_USES_configure+=	450:qmake-configure
149
_USES_configure+=	450:qmake-configure
119
.endif
150
.  endif
120
151
121
.endif # !defined(_INCLUDE_USES_QMAKE_MK)
152
.endif # !defined(_INCLUDE_USES_QMAKE_MK)
(-)Mk/Uses/qt-dist.mk (+377 lines)
Added Link Here
1
# $FreeBSD$
2
#
3
# There are three Qt related USES files with different access to Qt.
4
#   - qmake: The port requires Qt's qmake to build -- creates the configure target
5
#            - auto includes qt.mk
6
#   - qt-dist: The port is a port for an part of Qt4 or Qt5
7
#            - auto inclues qt.mk
8
#   - qt.mk  - Dependency handling. USE_QT=foo bar
9
#
10
#
11
# Usage
12
#    qt-dist:<version>[,yes|modulename]
13
14
.if !defined(_QT_DIST_MK_INCLUDED)
15
_QT_DIST_MK_INCLUDED=	qt-dist.mk
16
17
# Suck in qt.mk and qmake.mk
18
qt_ARGS?=	# empty
19
.include "${USESDIR}/qt.mk"
20
qmake_ARGS?=	# empty
21
.include "${USESDIR}/qmake.mk"
22
23
# Supported distribution arguments
24
_QT4_DISTS=		yes
25
_QT5_DISTS=		3d activeqt androidextras base canvas3d charts connectivity \
26
			datavis3d declarative doc gamepad graphicaleffects imageformats \
27
			location macextras multimedia networkauth purchasing \
28
			quickcontrols2 quickcontrols remoteobjects script scxml sensors \
29
			serialbus serialport speech svg tools translations \
30
			virtualkeyboard wayland webchannel webengine websockets webview \
31
			winextras x11extras xmlpatterns
32
_QT_DISTS=		${_QT${_QT_VER}_DISTS}
33
34
# We only accept one item as an argument. The fetch target further below works
35
# around this.
36
_QT_DIST=		# empty
37
.  for dist in ${_QT_DISTS:O:u}
38
.    if ${qt-dist_ARGS:M${dist}}
39
.      if empty(_QT_DIST)
40
_QT_DIST=		${dist}
41
.      else
42
IGNORE=		cannot be installed: different Qt dists specified via qt-dist:[${qt-dist_ARGS:S/ /,/g}]
43
.      endif
44
.    endif
45
.  endfor
46
47
# Fall back to sensible defaults for _QT_DIST
48
.  if empty(_QT_DIST)
49
.    if ${_QT_VER:M4}
50
_QT_DIST=		yes # don't force qt-dist to be set for Qt4 ports which all have 'yes'.
51
.    endif
52
.    if ${_QT_VER:M5}
53
_QT_DIST=		${PORTNAME} # don't force qt-dist to be set for Qt5 ports which 75% of time are ${PORTNAME}
54
.    endif
55
.  endif
56
57
# Check validitiy
58
.  if empty(_QT_DISTS:M${_QT_DIST})
59
IGNORE=			Unsupported qt-dist ${_QT_DIST} for qt:${_QT_VER}
60
.  endif
61
################################################################################
62
63
# Set standard bsd.port.mk variables
64
MASTER_SITES=		${MASTER_SITE_QT}
65
DISTINFO_FILE?=		${PORTSDIR}/devel/${_QT_RELNAME}/distinfo
66
67
LICENSE?=		LGPL21
68
69
.  if !exists(${PKGDIR}/pkg-descr)
70
DESCR?=			${PORTSDIR}/devel/${_QT_RELNAME}/pkg-descr
71
.  endif
72
73
# Stage support.
74
DESTDIRNAME=		INSTALL_ROOT
75
76
.  if ${_QT_VER:M4}
77
MASTER_SITE_SUBDIR?=	official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/
78
DISTNAME=		qt-everywhere-opensource-src-${_QT_VERSION}
79
DIST_SUBDIR=		KDE
80
.  else
81
MASTER_SITE_SUBDIR?=	official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/submodules/
82
# www/qt5-webengine hackery: The tarballs of 5.9.5 had a different naming scheme.
83
.    if ${QT5_VERSION} == "5.9.5"
84
DISTNAME=		${_QT_DIST:S,^,qt,:S,$,-opensource-src-${DISTVERSION},}
85
.    else
86
DISTNAME=		${_QT_DIST:S,^,qt,:S,$,-everywhere-src-${DISTVERSION},}
87
.    endif
88
DISTFILES=		${DISTNAME:S,$,${EXTRACT_SUFX},}
89
DIST_SUBDIR=		KDE/Qt/${_QT_VERSION}
90
91
# Qt (at least when used with qmake) has a tendency to overlink: some libraries
92
# have dependencies on others in the mkspec configurations and the latter are
93
# always passed to the linker even if they are not actually used. By passing
94
# --as-needed to the linker by default when building the Qt ports we do not
95
# have to declare a lot of unnecessary dependencies in USE_QT5.
96
# This could arguably work for Qt4 too, but since it is maintenance mode it is
97
# better not to fix what is not explicitly broken there.
98
LDFLAGS+=		-Wl,--as-needed
99
100
.    if ${.TARGETS:Mmakesum} || ${.TARGETS:Mfetch} && \
101
	defined(DISABLE_SIZE) && defined(NO_CHECKSUM)
102
# Ensure that the "makesum" target (with its inner "fetch" one) uses
103
# devel/qt*/distinfo for every port.
104
.      if ${DISTINFO_FILE:H} == ${PORTSDIR}/devel/${_QT_RELNAME}
105
_QT_DIST=		${_QT5_DISTS}
106
.      endif
107
.    endif
108
109
# Qt5's tarballs are xz compressed.
110
.    if empty(USES:Mtar)
111
EXTRACT_SUFX?=		.tar.xz
112
.    endif
113
114
.    if ${_QT_DIST} == "base" && ${PORTNAME} != "qmake"
115
# Qt configure requires pkg-config to detect dependencies.
116
.include "${USESDIR}/pkgconfig.mk"
117
.    endif
118
119
# -nomake is only used by qtbase's configure script.
120
# Other ports from other Qt modules will automatically build examples and
121
# tests if the directories exist because of mkspecs/features/qt_parts.prf.
122
EXTRACT_AFTER_ARGS?=	${DISTNAME:S,$,/examples,:S,^,--exclude ,} \
123
			${DISTNAME:S,$,/tests,:S,^,--exclude ,}
124
.  endif # ! ${_QT_VER:M4}
125
126
CONFIGURE_ENV+=		MAKE="${MAKE:T}"
127
128
CONFIGURE_ARGS+=	-opensource -confirm-license \
129
			-no-pch \
130
			-prefix ${PREFIX} \
131
			-bindir ${PREFIX}/${QT_BINDIR_REL} \
132
			-headerdir ${PREFIX}/${QT_INCDIR_REL} \
133
			-libdir ${PREFIX}/${QT_LIBDIR_REL} \
134
			-plugindir ${PREFIX}/${QT_PLUGINDIR_REL} \
135
			-importdir ${PREFIX}/${QT_IMPORTDIR_REL} \
136
			-datadir ${PREFIX}/${QT_DATADIR_REL} \
137
			-docdir ${PREFIX}/${QT_DOCDIR_REL} \
138
			-translationdir ${PREFIX}/${QT_L10NDIR_REL} \
139
			-sysconfdir ${PREFIX}/${QT_ETCDIR_REL}
140
141
.  if ${_QT_VER:M4}
142
CONFIGURE_ARGS+=	-fast \
143
			-platform ${QMAKESPEC} \
144
			-system-libjpeg -system-libpng \
145
			-system-libmng -system-libtiff -system-zlib \
146
			-no-phonon-backend \
147
			-examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL}/examples \
148
			-demosdir ${PREFIX}/${QT_EXAMPLEDIR_REL}/demos
149
.  else
150
CONFIGURE_ARGS+=	-nomake examples -nomake tests \
151
			-platform ${QMAKESPECNAME} \
152
			-archdatadir ${PREFIX}/${QT_ARCHDIR_REL} \
153
			-libexecdir ${PREFIX}/${QT_LIBEXECDIR_REL} \
154
			-qmldir ${PREFIX}/${QT_QMLDIR_REL} \
155
			-examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL} \
156
			-testsdir ${PREFIX}/${QT_TESTDIR_REL}
157
158
.    if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2)
159
CONFIGURE_ARGS+=	-no-sse2
160
.    endif
161
162
# Work around a bug in current binutils, where the gold linker creates
163
# duplicate symbols. See pr 218187. Disable the gold-linker for Qt5 ports.
164
CONFIGURE_ARGS+=	-no-use-gold-linker
165
# Pass -recheck-all so that multiple calls to the configure script really
166
# re-run all checks.
167
CONFIGURE_ARGS+=	-recheck-all
168
.  endif # ${_QT_VER:M4}
169
170
.  if defined(WANT_QT_DEBUG) || defined(WITH_DEBUG)
171
WITH_DEBUG=		yes
172
STRIP=			# It's done prior to bsd.qt.mk inclusion.
173
CONFIGURE_ARGS+=	-debug -separate-debug-info
174
# Override configuration in global qconfig.pri.
175
QMAKE_ARGS+=		QT_CONFIG+="debug separate_debug_info" \
176
			QT_CONFIG-="release"
177
.  else
178
CONFIGURE_ARGS+=	-release -no-separate-debug-info
179
QMAKE_ARGS+=		QT_CONFIG+="release" \
180
			QT_CONFIG-="debug separate_debug_info"
181
.  endif # defined(WANT_QT_DEBUG) || defined(WITH_DEBUG)
182
183
.  if defined(WANT_QT_VERBOSE_CONFIGURE)
184
CONFIGURE_ARGS+=	-verbose
185
.  endif
186
187
.  if ${_QT_DIST} == "base" || ${_QT_VER:M4}
188
.    if ${_QT_VER:M4}
189
_EXTRA_PATCHES_QT4=	${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-src-corelib-global-qglobal.h \
190
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-libtool \
191
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-config.tests-unix-compile.test
192
# Patch in proper name for armv6 architecture: https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01679.html
193
_EXTRA_PATCHES_QT4+=	${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-armv6
194
_EXTRA_PATCHES_QT4+=	${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-aarch64
195
.    else
196
_EXTRA_PATCHES_QT5=	${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_create__cmake.prf \
197
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__module.prf \
198
			${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_common_bsd_bsd.conf
199
.    endif
200
EXTRA_PATCHES?=		${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-configure \
201
			${_EXTRA_PATCHES_QT4} ${_EXTRA_PATCHES_QT5}
202
.  endif #  ${_QT_DIST} == "base" || ${_QT_VER:M4}
203
204
# Override settings installed in qconfig.h and *.pri files. The flags will be
205
# installed along with the port, but have to be passed as arguments while
206
# building the port itself. Flags prefixed with "-" (e.g., "-CUPS" and "-cups")
207
# are needed to disable some features.
208
.  if !defined(${QT_MODNAME}) || empty(${QT_MODNAME})
209
# Used for both qconfig-*.h and qt_config_*.pri; it can't be empty.
210
QT_MODNAME=		${PORTNAME}
211
.  endif
212
QT_DEFINES?=		# For qconfig.h flags (without "QT_" prefix).
213
QT_CONFIG?=		# For *.pri files QT_CONFIG flags.
214
.  if ${QT_DEFINES}
215
QMAKE_ARGS+=		DEFINES+="${QT_DEFINES:O:u:C/^([^-])/QT_\1/:C/^-/QT_NO_/:O}"
216
.    if ${QT_DEFINES:N-*}
217
# Use a script to cleanup qconfig-modules.h (see qt-post-install).
218
PKGDEINSTALL=		${WRKDIR}/pkg-deinstall
219
.    endif
220
.  endif #  ${QT_DEFINES}
221
.  if ${QT_CONFIG:N-*}
222
QMAKE_ARGS+=		QT_CONFIG+="${QT_CONFIG:N-*:O:u}"
223
.  endif
224
.  if ${QT_CONFIG:M-*}
225
QMAKE_ARGS+=		QT_CONFIG-="${QT_CONFIG:M-*:O:u:C/^-//}"
226
.  endif
227
228
# Add a RUN_DEPENDS on misc/qtchooser to select the binaries.
229
# The binaries of both supported Qt versions are installed to
230
# ${LOCALBASE}/lib/qt[45]/bin. The port misc/qtchooser installs
231
# wrapper binaries into ${LOCALBASE}/bin, and chooses the correct
232
# one depending on the value of QT_SELECT (which we pass to both
233
# CONFIGURE_ENV and MAKE_ENV). Therefore make all QT_DIST ports
234
# RUN_DEPEND on it.
235
RUN_DEPENDS+=		qtchooser:misc/qtchooser
236
237
PLIST_SUB+=		SHORTVER=${DISTVERSION:R} \
238
			FULLVER=${DISTVERSION:C/-.*//}
239
240
# Handle additional PLIST directories, which should only be used for Qt-dist ports.
241
.  for dir in CMAKE ETC
242
# Export QT_CMAKEDIR and QT_ETCDIR.
243
PLIST_SUB+=		QT_${dir}DIR="${QT_${dir}DIR_REL}"
244
.  endfor
245
246
247
.  if ! ${_QT_VER:M4}
248
.    if ${_QT_DIST} == "base"
249
# qtbase requires some tools to be symlinked to the build directory.
250
_QT_TOOLS=		# empty
251
.      if ${PORTNAME} != "qmake"
252
_QT_TOOLS+=		${QMAKE}
253
.      endif
254
.      if ${PORTNAME} != "buildtools"
255
_QT_TOOLS+=		${MOC} ${RCC}
256
.      endif
257
.      if ${PORTNAME} != "qdoc"
258
_QT_TOOLS+=		qdoc
259
.      endif
260
.      if ${PORTNAME} != "dbus"
261
_QT_TOOLS+=		qdbuscpp2xml qdbusxml2cpp
262
.      endif
263
.      if ${PORTNAME} != "widgets"
264
_QT_TOOLS+=		${UIC}
265
.      endif
266
267
# The list of QtBase components that need to be linked into WRKSRC/lib for
268
# other QtBase ports. See below.
269
_QT5_BASE=		core dbus gui network sql widgets
270
271
pre-configure: qtbase-pre-configure
272
qtbase-pre-configure:
273
.      for tool in ${_QT_TOOLS}
274
	@${TEST} -e ${QT_BINDIR}/${tool:T} && \
275
		${LN} -sf ${QT_BINDIR}/${tool:T} ${CONFIGURE_WRKSRC}/bin/${tool:T} || \
276
		${TRUE}
277
.      endfor
278
279
# The following is a fix for the inplace upgrade problem we faced (see
280
# QTBUG-40825 and ports bugs 194088, 195105 and 198720) previously,
281
# which previously was adressed by making sure, that ${LOCALBASE}/lib, which
282
# would often gets added by pkgconf for the dependencies, was passed after
283
# ${WRKSRC}/lib.
284
# * We fix the inplace upgrade problem by moving the Qt5 libraries into
285
#   ${LOCALBASE}/lib/qt5. Therefore a -L${LOCALBASE}/lib does no harm anymore.
286
# * However, this means, that the ports belonging to the split up QtBase package
287
#   now no longer can find their depending QtBase libraries. We fix this by
288
#   linking these into ${CONFIGURE_WRKSRC}/lib if the given QtBase port depends
289
#   on them.
290
.      if ${_QT_DIST:Mbase}
291
.        for basedep in ${_QT5_BASE}
292
.          if ! empty(USE_QT:M${basedep})
293
	${LN} -sf ${QT_LIBDIR}/${${basedep}_LIB} ${CONFIGURE_WRKSRC}/lib
294
.          endif
295
.        endfor
296
.      endif
297
298
#
299
# **** THIS PART IS OBSOLETE FOR THE NEXT QT UPGRADE ****
300
#
301
# Add ${LOCALBASE}/lib to DEFAULT_LIBDIRS, which we use to filter out
302
# certain paths from pkg-config calls (see the explanation in
303
# devel/qt5/files/patch-configure) as well as for setting
304
# QMAKE_DEFAULT_LIBDIR in mkspecs/qconfig.pri. Part of the solution for
305
# ports/194088.
306
post-patch: qtbase-post-patch
307
qtbase-post-patch:
308
	${REINPLACE_CMD} -e "/DEFAULT_LIBDIRS=/ s,\\\\\"\\\\n,\\\\n${LOCALBASE}/lib&," \
309
		${WRKSRC}/configure
310
311
.      if ${PORTNAME} != "qmake"
312
_QMAKE=			${CONFIGURE_WRKSRC}/bin/qmake
313
.      endif
314
.    endif
315
316
pre-configure: qt5-pre-configure
317
qt5-pre-configure:
318
# Qt 5.3.2 introduced a check in mkspecs/features/create_cmake.prf that
319
# requires tests/auto/cmake to be present, otherwise the configure stage will
320
# fail.
321
# Since we cannot extract tests/auto/cmake/ and exclude tests/ at the same
322
# time, we have to disable the check in a cache file (the only way to get this
323
# value through to the configure script in qtbase).
324
	${MKDIR} ${CONFIGURE_WRKSRC}
325
	${ECHO_CMD} 'CMAKE_MODULE_TESTS = -' > ${CONFIGURE_WRKSRC}/.qmake.cache
326
#
327
# **** THIS PART IS OBSOLETE FOR THE NEXT QT UPGRADE ****
328
#
329
# We piggyback on QMAKE_LIBDIR_FLAGS to make sure -L${WRKSRC}/lib is passed to
330
# the linker before -L/usr/local/lib. By default, the opposite happens, which
331
# is a problem when a Qt port is being upgraded, since an existing library
332
# would end up being picked up instead of those built in ${WRKSRC}/lib. Since
333
# qmake appends the value of QMAKE_LIBDIR to QMAKE_LIBDIR_FLAGS, we can use the
334
# latter to get the linker path order right. qmake is smart enough to strip
335
# occurrences of ${WRKSRC}/lib from .pc and .prl files when installing them.
336
# See QTBUG-40825 and ports bugs 194088, 195105 and 198720.
337
	${ECHO_CMD} 'QMAKE_LIBDIR_FLAGS = -L${CONFIGURE_WRKSRC}/lib' >> ${CONFIGURE_WRKSRC}/.qmake.cache
338
339
post-install: qt-post-install
340
qt-post-install:
341
.    if ${QT_DEFINES:N-*}
342
# We can't use SUB_FILES with a shared pkg-deinstall.in.
343
# We need it to be a script instead of a group of @unexecs, otherwise
344
# qconfig-modules.h cleanup will be run in pre-deinstall stage, which is
345
# useless. This will probably be replaced by a Keywords/ script in the future.
346
	@${SED} -e 's,%%QT_MODNAME%%,${QT_MODNAME},g' \
347
		-e 's,%%QT_INCDIR%%,${QT_INCDIR},g' \
348
		${PORTSDIR}/devel/${_QT_RELNAME}/${FILESDIR:T}/${PKGDEINSTALL:T}.in > \
349
		${PKGDEINSTALL}
350
	@${MKDIR} ${STAGEDIR}${QT_INCDIR}/QtCore/modules
351
	@${ECHO_CMD} -n \
352
		> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
353
.      for def in ${QT_DEFINES:N-*:O:u:C/=.*$//}
354
	@${ECHO_CMD} "#if !defined(QT_${def}) && !defined(QT_NO_${def})" \
355
		>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
356
	${ECHO_CMD} "# define QT_${def}" \
357
		>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
358
	@${ECHO_CMD} "#endif" \
359
		>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
360
	@${ECHO_CMD} \
361
		>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
362
.      endfor
363
	@${ECHO_CMD} "${PREFIX}/${QT_INCDIR_REL}/QtCore/modules/qconfig-${QT_MODNAME}.h" \
364
		>> ${TMPPLIST}
365
	@${ECHO_CMD} "@exec echo '#include <QtCore/modules/qconfig-${QT_MODNAME}.h>' >> ${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig-modules.h" \
366
		>> ${TMPPLIST}
367
.    endif # ${QT_DEFINES:N-*}
368
.    if ${QT_CONFIG:N-*}
369
	@${MKDIR} ${STAGEDIR}${QT_MKSPECDIR}/modules
370
	${ECHO_CMD} "QT_CONFIG += ${QT_CONFIG:N-*:O:u}" \
371
		> ${STAGEDIR}${QT_MKSPECDIR}/modules/qt_config_${QT_MODNAME}.pri
372
	@${ECHO_CMD} "${PREFIX}/${QT_MKSPECDIR_REL}/modules/qt_config_${QT_MODNAME}.pri" \
373
		>> ${TMPPLIST}
374
.    endif # ${QT_CONFIG:N-*}
375
.  endif # M4
376
377
.endif # defined(_QT_DIST_MK_INCLUDED)
(-)Mk/Uses/qt.mk (+500 lines)
Added Link Here
1
# $FreeBSD$
2
#
3
# There are three Qt related USES files with different access to Qt.
4
#   - qmake: The port requires Qt's qmake to build -- creates the configure target
5
#            - auto includes qt.mk
6
#   - qt-dist: The port is a port for an part of Qt4 or Qt5
7
#            - auto includes qt.mk and qmake.mk
8
#   - qt.mk  - Dependency handling. USE_QT=foo bar
9
#
10
# Usage:
11
#   USES=qt:<version>[,no_env]
12
#
13
#   Versions:		4 5
14
#
15
# Port variables:
16
# USE_QT		- List of Qt modules to depend on, with optional '_build'
17
#			  and '_run' suffixes. Define it empty to include this file
18
#			  without depending on Qt ports.
19
# Global switches (for inclusion into /etc/make.conf):
20
# QT4_OPTIONS		- A list of (Qt 4-only) global options; can be CUPS, NAS
21
#					  and/or QGTKSTYLE. If set, Qt will be built with support
22
#					  for:
23
#					   * Common UNIX Printing System (CUPS);
24
#					   * Network Audio System (NAS);
25
#					   * GTK+-based Qt theme (QGTKSTYLE).
26
27
.if !defined(_QT_MK_INCLUDED)
28
_QT_MK_INCLUDED=	qt.mk
29
30
# Qt versions currently supported by the framework.
31
_QT_SUPPORTED?=		4 5
32
QT4_VERSION?=		4.8.7
33
QT5_VERSION?=		5.10.1
34
35
# We accept the Qt version to be passed by either or all of the three mk files.
36
.  if empty(qt_ARGS) && empty(qmake_ARGS) && empty(qt-dist_ARGS)
37
IGNORE=			qt needs a version (${_QT_SUPPORTED}) passed via qt, qmake or qt-dist.
38
.  endif
39
40
# Gather all the args together
41
_QT_GLOBAL_ARGS=	${qt_ARGS} ${qmake_ARGS} ${qt-dist_ARGS}
42
43
# Check fo the Qt version to be used
44
_QT_VER=		# empty
45
.  for ver in ${_QT_SUPPORTED:O:u}
46
.    if ${_QT_GLOBAL_ARGS:M${ver}}
47
.      if !defined(_QT_VERSION)
48
_QT_VER=		${ver}
49
.      else
50
.        if ${_QT_VERSION} != ${ver}
51
IGNORE?=		cannot be installed: different Qt versions specified via qt:[${_QT_SUPPORTED:S/ //g}], qmake:[${_QT_SUPPORTED:S/ //g}] a qt-dist:[${_QT_SUPPORTED:S/ //g}]
52
.        endif
53
.      endif
54
.    endif
55
.  endfor
56
57
.  if empty(_QT_VER)
58
IGNORE?=		cannot decide what Qt version to use: specify one via qt:[${_QT_SUPPORTED:S/ //g}], qmake:[${_QT_SUPPORTED:S/ //g}] or qt-dist:[${_QT_SUPPORTED:S/ //g}]
59
.  endif
60
61
# Set the shortcuts used from now on
62
_QT_RELNAME=		qt${_QT_VER}
63
_QT_VERSION=		${QT${_QT_VER}_VERSION}
64
65
# A wrapper (qtchooser) is used to invoke binaries.
66
QT_BINDIR_REL?=		${QT_ARCHDIR_REL}/bin
67
QT_INCDIR_REL?=		include/${_QT_RELNAME}
68
QT_LIBDIR_REL?=		lib/${_QT_RELNAME}
69
QT_ARCHDIR_REL?=	${QT_LIBDIR_REL}
70
QT_PLUGINDIR_REL?=	${QT_ARCHDIR_REL}/plugins
71
QT_LIBEXECDIR_REL?=	libexec/${_QT_RELNAME}
72
QT_IMPORTDIR_REL?=	${QT_ARCHDIR_REL}/imports
73
QT_QMLDIR_REL?=		${QT_ARCHDIR_REL}/qml
74
QT_DATADIR_REL?=	share/${_QT_RELNAME}
75
QT_DOCDIR_REL?=		share/doc/${_QT_RELNAME}
76
QT_L10NDIR_REL?=	${QT_DATADIR_REL}/translations
77
QT_ETCDIR_REL?=		etc/xdg
78
QT_EXAMPLEDIR_REL?=	share/examples/${_QT_RELNAME}
79
QT_TESTDIR_REL?=	${QT_DATADIR_REL}/tests
80
QT_CMAKEDIR_REL?=	lib/cmake
81
QT_QTCHOOSERDIR_REL?=	${QT_ETCDIR_REL}/qtchooser
82
83
# Not customizable.
84
.  if ${_QT_VERSION:M4*}
85
QT_MKSPECDIR_REL=	${QT_DATADIR_REL}/mkspecs
86
_QT_LIBVER=		# empty
87
.  else
88
QT_MKSPECDIR_REL=	${QT_ARCHDIR_REL}/mkspecs
89
_QT_LIBVER=		${_QT_VERSION:R:R}
90
.  endif
91
92
LRELEASE?=		${QT_BINDIR}/lrelease
93
LUPDATE?=		${QT_BINDIR}/lupdate
94
MOC?=			${QT_BINDIR}/moc
95
RCC?=			${QT_BINDIR}/rcc
96
UIC?=			${QT_BINDIR}/uic
97
QMAKE?=			${QT_BINDIR}/qmake
98
# Needed to redefine the qmake target for internal Qt configuration.
99
_QMAKE?=		${QMAKE}
100
QMAKESPECNAME?=		freebsd-${QMAKE_COMPILER}
101
QMAKESPEC?=		${QT_MKSPECDIR}/${QMAKESPECNAME}
102
103
# The whole Qt distribution should be built with the same compiler, but it's
104
# better to support custom settings. Dereferencing the detection allows to
105
# avoid forking a shell on each inclusion of this file, and to catch any CXX
106
# customization (via USE_GCC, etc.).
107
QMAKE_COMPILER=	$$(ccver="$$(${CXX} --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)
108
109
.  for dir in BIN INC LIB ARCH PLUGIN LIBEXEC IMPORT \
110
	QML DATA DOC L10N ETC EXAMPLE TEST MKSPEC \
111
	CMAKE QTCHOOSER
112
QT_${dir}DIR=	${PREFIX}/${QT_${dir}DIR_REL}
113
# Export all directories to the plist substituion for QT_DIST ports.
114
# For the others, exclude QT_CMAKEDIR and QT_ETCDIR.
115
.    if ${dir:NCMAKE} && ${dir:NETC}
116
PLIST_SUB+=		QT_${dir}DIR="${QT_${dir}DIR_REL}"
117
.    endif
118
.  endfor
119
120
# Pass the chosen Qt version to the environment for qtchooser.
121
CONFIGURE_ENV+=		QT_SELECT=${_QT_RELNAME}
122
MAKE_ENV+=		QT_SELECT=${_QT_RELNAME}
123
124
# Make sure both the installed mkspecs as well as the ones being built are
125
# found, with the ones from the port being built having preference.
126
CONFIGURE_ENV+=		QMAKEMODULES="${WRKSRC}/mkspecs/modules:${LOCALBASE}/${QT_MKSPECDIR_REL}/modules"
127
MAKE_ENV+=		QMAKEMODULES="${WRKSRC}/mkspecs/modules:${LOCALBASE}/${QT_MKSPECDIR_REL}/modules"
128
129
_USES_POST+=		qt
130
.endif # _QT_MK_INCLUDED
131
132
# =============================================================================
133
#
134
# =============================================================================
135
136
.if defined(_POSTMKINCLUDED) && !defined(_QT_MK_POST_INCLUDED)
137
_QT_MK_POST_INCLUDED=	qt.mk
138
139
# The Qt components supported by qt.mk: list of shared, and version specific ones
140
_USE_QT_ALL=		assistant dbus declarative designer doc gui help \
141
			imageformats l10n linguist linguisttools multimedia \
142
			network opengl pixeltool qdbusviewer qmake script \
143
			scripttools sql sql-ibase sql-mysql sql-odbc sql-pgsql \
144
			sql-sqlite2 sql-sqlite3 svg testlib webkit \
145
			xml xmlpatterns
146
147
_USE_QT4_ONLY=		accessible assistant-adp assistantclient clucene codecs-cn codecs-jp \
148
			codecs-kr codecs-tw corelib demo graphicssystems-opengl \
149
			help-tools iconengines inputmethods makeqpf moc phonon \
150
			phonon-gst porting qdoc3 qmlviewer qt3support qtconfig \
151
			qtestlib qvfb rcc uic uic3 xmlpatterns-tool
152
153
_USE_QT5_ONLY=		3d buildtools canvas3d charts concurrent connectivity \
154
			core datavis3d diag examples gamepad \
155
			graphicaleffects location paths phonon4 plugininfo printsupport \
156
			qdbus qdoc qdoc-data qev qml quick quickcontrols \
157
			quickcontrols2 scxml sensors serialbus serialport speech \
158
			sql-tds uiplugin uitools virtualkeyboard wayland webchannel \
159
			webengine websockets websockets-qml widgets x11extras
160
161
# Dependency tuples: _LIB should be preferred if possible.
162
3d_PORT=		graphics/${_QT_RELNAME}-3d
163
3d_LIB=			libQt${_QT_LIBVER}3DCore.so
164
165
accessible_PORT=	accessibility/${_QT_RELNAME}-accessible
166
accessible_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/accessible/libqtaccessiblewidgets.so
167
168
assistant_PORT=		devel/${_QT_RELNAME}-assistant
169
assistant_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/assistant
170
171
assistant-adp_PORT=	devel/${_QT_RELNAME}-assistant-adp
172
assistant-adp_PATH=	assistant_adp
173
174
assistantclient_PORT=	devel/${_QT_RELNAME}-libqtassistantclient
175
assistantclient_LIB=	libQt${_QT_LIBVER}AssistantClient.so
176
177
buildtools_PORT=	devel/${_QT_RELNAME}-buildtools
178
buildtools_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/moc
179
180
canvas3d_PORT=		x11-toolkits/${_QT_RELNAME}-canvas3d
181
canvas3d_PATH=		${LOCALBASE}/${QT_QMLDIR_REL}/QtCanvas3D/qmldir
182
183
charts_PORT=		x11-toolkits/${_QT_RELNAME}-charts
184
charts_LIB=		libQt${_QT_LIBVER}Charts.so
185
186
clucene_PORT=		textproc/${_QT_RELNAME}-clucene
187
clucene_LIB=		libQt${_QT_LIBVER}CLucene.so
188
189
codecs-cn_PORT=		chinese/${_QT_RELNAME}-codecs-cn
190
codecs-cn_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/codecs/libqcncodecs.so
191
192
codecs-jp_PORT=		japanese/${_QT_RELNAME}-codecs-jp
193
codecs-jp_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/codecs/libqjpcodecs.so
194
195
codecs-kr_PORT=		korean/${_QT_RELNAME}-codecs-kr
196
codecs-kr_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/codecs/libqkrcodecs.so
197
198
codecs-tw_PORT=		chinese/${_QT_RELNAME}-codecs-tw
199
codecs-tw_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/codecs/libqtwcodecs.so
200
201
concurrent_PORT=	devel/${_QT_RELNAME}-concurrent
202
concurrent_LIB=		libQt${_QT_LIBVER}Concurrent.so
203
204
connectivity_PORT=	comms/${_QT_RELNAME}-connectivity
205
connectivity_LIB=	libQt${_QT_LIBVER}Bluetooth.so
206
207
core_PORT=		devel/${_QT_RELNAME}-core
208
core_LIB=		libQt${_QT_LIBVER}Core.so
209
210
corelib_PORT=		devel/${_QT_RELNAME}-corelib
211
corelib_LIB=		${core_LIB}
212
213
datavis3d_PORT=		x11-toolkits/${_QT_RELNAME}-datavis3d
214
datavis3d_LIB=		libQt${_QT_LIBVER}DataVisualization.so
215
216
dbus_PORT=		devel/${_QT_RELNAME}-dbus
217
dbus_LIB=		libQt${_QT_LIBVER}DBus.so
218
219
declarative_PORT=	x11-toolkits/${_QT_RELNAME}-declarative
220
declarative_LIB=	libQt${_QT_LIBVER}Declarative.so
221
222
demo_PORT=		misc/${_QT_RELNAME}-qtdemo
223
demo_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qtdemo
224
225
designer_PORT=		devel/${_QT_RELNAME}-designer
226
designer_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/designer
227
228
diag_PORT=		sysutils/${_QT_RELNAME}-qtdiag
229
diag_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qtdiag
230
231
doc_PORT=		misc/${_QT_RELNAME}-doc
232
doc_PATH=		${_QT_RELNAME}-doc>=${_QT_VERSION:R:R}
233
234
examples_PORT=		misc/${_QT_RELNAME}-examples
235
examples_PATH=		${_QT_RELNAME}-examples>=${_QT_VERSION:R:R}
236
237
gamepad_PORT=		x11-toolkits/${_QT_RELNAME}-gamepad
238
gamepad_LIB=		libQt${_QT_LIBVER}Gamepad.so
239
240
graphicaleffects_PORT=	graphics/${_QT_RELNAME}-graphicaleffects
241
graphicaleffects_PATH=	${LOCALBASE}/${QT_QMLDIR_REL}/QtGraphicalEffects/qmldir
242
243
graphicssystems-opengl_PORT=	x11/${_QT_RELNAME}-graphicssystems-opengl
244
graphicssystems-opengl_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/graphicssystems/libqglgraphicssystem.so
245
246
gui_PORT=		x11-toolkits/${_QT_RELNAME}-gui
247
gui_LIB=		libQt${_QT_LIBVER}Gui.so
248
249
help_PORT=		devel/${_QT_RELNAME}-help
250
help_LIB=		libQt${_QT_LIBVER}Help.so
251
252
help-tools_PORT=	devel/${_QT_RELNAME}-help-tools
253
help-tools_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/qhelpgenerator
254
255
iconengines_PORT=	graphics/${_QT_RELNAME}-iconengines
256
iconengines_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/iconengines/libqsvgicon.so
257
258
imageformats_PORT=	graphics/${_QT_RELNAME}-imageformats
259
imageformats_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/imageformats/libqtiff.so
260
261
inputmethods_PORT=	x11/${_QT_RELNAME}-inputmethods
262
inputmethods_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/inputmethods/libqimsw-multi.so
263
264
linguist_PORT=		devel/${_QT_RELNAME}-linguist
265
linguist_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/linguist
266
267
linguisttools_PORT=	devel/${_QT_RELNAME}-linguisttools
268
linguisttools_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/lrelease
269
270
location_PORT=		devel/${_QT_RELNAME}-location
271
location_LIB=		libQt${_QT_LIBVER}Location.so
272
273
l10n_PORT=		misc/${_QT_RELNAME}-l10n
274
l10n_PATH=		${_QT_RELNAME}-l10n>=${_QT_VERSION:R:R}
275
276
makeqpf_PORT=		devel/${_QT_RELNAME}-makeqpf
277
makeqpf_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/makeqpf
278
279
moc_PORT=		devel/${_QT_RELNAME}-moc
280
moc_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/moc
281
282
multimedia_PORT=	multimedia/${_QT_RELNAME}-multimedia
283
multimedia_LIB=		libQt${_QT_LIBVER}Multimedia.so
284
285
network_PORT=		net/${_QT_RELNAME}-network
286
network_LIB=		libQt${_QT_LIBVER}Network.so
287
288
opengl_PORT=		graphics/${_QT_RELNAME}-opengl
289
opengl_LIB=		libQt${_QT_LIBVER}OpenGL.so
290
291
paths_PORT=		sysutils/${_QT_RELNAME}-qtpaths
292
paths_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qtpaths
293
294
pixeltool_PORT=		graphics/${_QT_RELNAME}-pixeltool
295
pixeltool_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/pixeltool
296
297
phonon_PORT=		multimedia/phonon@${_QT_RELNAME}
298
phonon_LIB=		libphonon.so
299
300
phonon4_PORT=		multimedia/phonon@${_QT_RELNAME}
301
phonon4_LIB=		libphonon4${_QT_RELNAME}.so
302
303
phonon-gst_PORT=	multimedia/phonon-gstreamer@${_QT_RELNAME}
304
phonon-gst_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/phonon_backend/libphonon_gstreamer.so
305
306
plugininfo_PORT=	sysutils/${_QT_RELNAME}-qtplugininfo
307
plugininfo_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/qtplugininfo
308
309
porting_PORT=		devel/${_QT_RELNAME}-porting
310
porting_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qt3to4
311
312
printsupport_PORT=	print/${_QT_RELNAME}-printsupport
313
printsupport_LIB=	libQt${_QT_LIBVER}PrintSupport.so
314
315
qdbus_PORT=		devel/${_QT_RELNAME}-qdbus
316
qdbus_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qdbus
317
318
qdbusviewer_PORT=	devel/${_QT_RELNAME}-qdbusviewer
319
qdbusviewer_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/qdbusviewer
320
321
qdoc_PORT=		devel/${_QT_RELNAME}-qdoc
322
qdoc_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qdoc
323
324
qdoc-data_PORT=		devel/${_QT_RELNAME}-qdoc-data
325
qdoc-data_PATH=		${LOCALBASE}/${QT_DOCDIR_REL}/global/config.qdocconf
326
327
qdoc3_PORT=		devel/${_QT_RELNAME}-qdoc3
328
qdoc3_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qdoc3
329
330
qev_PORT=		x11/${_QT_RELNAME}-qev
331
qev_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qev
332
333
qmake_PORT=		devel/${_QT_RELNAME}-qmake
334
qmake_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qmake
335
336
qml_PORT=		lang/${_QT_RELNAME}-qml
337
qml_LIB=		libQt${_QT_LIBVER}Qml.so
338
339
qmlviewer_PORT=		devel/${_QT_RELNAME}-qmlviewer
340
qmlviewer_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qmlviewer
341
342
qt3support_PORT=	devel/${_QT_RELNAME}-qt3support
343
qt3support_LIB=		libQt${_QT_LIBVER}3Support.so
344
345
qtconfig_PORT=		misc/${_QT_RELNAME}-qtconfig
346
qtconfig_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qtconfig
347
348
qtestlib_PORT=		${testlib_PORT}
349
qtestlib_LIB=		${testlib_LIB}
350
351
quick_PORT=		x11-toolkits/${_QT_RELNAME}-quick
352
quick_LIB=		libQt${_QT_LIBVER}Quick.so
353
354
quickcontrols_PORT=	x11-toolkits/${_QT_RELNAME}-quickcontrols
355
quickcontrols_PATH=	${LOCALBASE}/${QT_QMLDIR_REL}/QtQuick/Controls/qmldir
356
357
quickcontrols2_PORT=	x11-toolkits/${_QT_RELNAME}-quickcontrols2
358
quickcontrols2_LIB=	libQt${_QT_LIBVER}QuickControls2.so
359
360
qvfb_PORT=		devel/${_QT_RELNAME}-qvfb
361
qvfb_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qvfb
362
363
rcc_PORT=		devel/${_QT_RELNAME}-rcc
364
rcc_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/rcc
365
366
sensors_PORT=		comms/${_QT_RELNAME}-sensors
367
sensors_LIB=		libQt${_QT_LIBVER}Sensors.so
368
369
script_PORT=		devel/${_QT_RELNAME}-script
370
script_LIB=		libQt${_QT_LIBVER}Script.so
371
372
scripttools_PORT=	devel/${_QT_RELNAME}-scripttools
373
scripttools_LIB=	libQt${_QT_LIBVER}ScriptTools.so
374
375
scxml_PORT=		devel/${_QT_RELNAME}-scxml
376
scxml_LIB=		libQt${_QT_LIBVER}Scxml.so
377
378
serialbus_PORT=		comms/${_QT_RELNAME}-serialbus
379
serialbus_LIB=		libQt${_QT_LIBVER}SerialBus.so
380
381
serialport_PORT=	comms/${_QT_RELNAME}-serialport
382
serialport_LIB=		libQt${_QT_LIBVER}SerialPort.so
383
384
speech_PORT=		accessibility/${_QT_RELNAME}-speech
385
speech_LIB=		libQt${_QT_LIBVER}TextToSpeech.so
386
387
sql_PORT=		databases/${_QT_RELNAME}-sql
388
sql_LIB=		libQt${_QT_LIBVER}Sql.so
389
390
sql-pgsql_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/sqldrivers/libqsqlpsql.so
391
392
.  if ${_QT_VERSION:M4*}
393
sql-sqlite2_PORT=	databases/${_QT_RELNAME}-sqlite-plugin
394
.  endif
395
396
sql-sqlite3_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/sqldrivers/libqsqlite.so
397
398
.  for db in ibase mysql odbc pgsql sqlite2 sqlite3 tds
399
.    if ${_QT_VERSION:M4*}
400
sql-${db}_PORT?=	databases/${_QT_RELNAME}-${db}-plugin
401
.    else
402
sql-${db}_PORT?=	databases/${_QT_RELNAME}-sqldrivers-${db}
403
.    endif
404
sql-${db}_PATH?=	${LOCALBASE}/${QT_PLUGINDIR_REL}/sqldrivers/libqsql${db:C/^sql//}.so
405
.  endfor
406
407
svg_PORT=		graphics/${_QT_RELNAME}-svg
408
svg_LIB=		libQt${_QT_LIBVER}Svg.so
409
410
testlib_PORT=		devel/${_QT_RELNAME}-testlib
411
testlib_LIB=		libQt${_QT_LIBVER}Test.so
412
413
uic_PORT=		devel/${_QT_RELNAME}-uic
414
uic_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/uic
415
416
uic3_PORT=		devel/${_QT_RELNAME}-uic3
417
uic3_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/uic3
418
419
uiplugin_PORT=		x11-toolkits/${_QT_RELNAME}-uiplugin
420
uiplugin_PATH=		${LOCALBASE}/${QT_INCDIR_REL}/QtUiPlugin/QtUiPlugin
421
422
uitools_PORT=		devel/${_QT_RELNAME}-uitools
423
uitools_PATH=		${LOCALBASE}/${QT_LIBDIR_REL}/libQt${_QT_LIBVER}UiTools.a
424
425
virtualkeyboard_PORT=	x11-toolkits/${_QT_RELNAME}-virtualkeyboard
426
virtualkeyboard_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/platforminputcontexts/libqtvirtualkeyboardplugin.so
427
428
webchannel_PORT=	www/${_QT_RELNAME}-webchannel
429
webchannel_LIB=		libQt${_QT_LIBVER}WebChannel.so
430
431
webengine_PORT=		www/${_QT_RELNAME}-webengine
432
webengine_LIB=		libQt${_QT_LIBVER}WebEngine.so
433
434
websockets_PORT=	www/${_QT_RELNAME}-websockets
435
websockets_LIB=		libQt${_QT_LIBVER}WebSockets.so
436
437
websockets-qml_PORT=	www/${_QT_RELNAME}-websockets-qml
438
websockets-qml_PATH=	${LOCALBASE}/${QT_QMLDIR_REL}/QtWebSockets/qmldir
439
440
webkit_PORT=		www/${_QT_RELNAME}-webkit
441
webkit_LIB=		libQt${_QT_LIBVER}WebKit.so
442
443
widgets_PORT=		x11-toolkits/${_QT_RELNAME}-widgets
444
widgets_LIB=		libQt${_QT_LIBVER}Widgets.so
445
446
x11extras_PORT=		x11/${_QT_RELNAME}-x11extras
447
x11extras_LIB=		libQt${_QT_LIBVER}X11Extras.so
448
449
xml_PORT=		textproc/${_QT_RELNAME}-xml
450
xml_LIB=		libQt${_QT_LIBVER}Xml.so
451
452
xmlpatterns_PORT=	textproc/${_QT_RELNAME}-xmlpatterns
453
xmlpatterns_LIB=	libQt${_QT_LIBVER}XmlPatterns.so
454
455
xmlpatterns-tool_PORT=	textproc/${_QT_RELNAME}-xmlpatterns-tool
456
xmlpatterns-tool_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/xmlpatterns
457
458
# Actually add the dependencies to the proper lists.
459
_USE_QT_ALL+=		${_USE_QT${_QT_VER}_ONLY}
460
_USE_QT=		${USE_QT}
461
# Iterate through components deprived of suffix.
462
.  for component in ${_USE_QT:O:u:C/_.+//}
463
# Check that the component is valid.
464
.    if ${_USE_QT_ALL:M${component}} != ""
465
# Skip meta-components (currently none).
466
.      if defined(${component}_PORT) && (defined(${component}_PATH) || defined(${component}_LIB))
467
# Check if a dependency type is explicitly requested.
468
.        if ${_USE_QT:M${component}_*} != "" && ${_USE_QT:M${component}} == ""
469
${component}_TYPE=		# empty
470
.          if ${_USE_QT:M${component}_build} != ""
471
${component}_TYPE+=		build
472
.          endif
473
.          if ${_USE_QT:M${component}_run} != ""
474
${component}_TYPE+=		run
475
.          endif
476
.        endif # ${_USE_QT:M${component}_*} != "" && ${_USE_QT:M${component}} == ""
477
# If no dependency type is set, default to full dependency.
478
.        if !defined(${component}_TYPE)
479
${component}_TYPE=		build run
480
.        endif
481
# Set real dependencies.
482
.        if defined(${component}_LIB) && ${${component}_TYPE:Mbuild} && ${${component}_TYPE:Mrun}
483
LIB_DEPENDS+=			${${component}_LIB}:${${component}_PORT}
484
.        else
485
${component}_PATH?=		${QT_LIBDIR}/${${component}_LIB}
486
${component}_DEPENDS=		${${component}_PATH}:${${component}_PORT}
487
.          if ${${component}_TYPE:Mbuild} != ""
488
BUILD_DEPENDS+=			${${component}_DEPENDS}
489
.          endif
490
.          if ${${component}_TYPE:Mrun} != ""
491
RUN_DEPENDS+=			${${component}_DEPENDS}
492
.          endif
493
.        endif # ${${component}_LIB} && ${${component}_TYPE:Mbuild} && ${${component}_TYPE:Mrun}
494
.      endif # defined(${component}_PORT) && defined(${component}_PATH)
495
.    else # ! ${_USE_QT_ALL:M${component}} != ""
496
IGNORE=				cannot be installed: unknown USE_QT component '${component}'
497
.    endif # ${_USE_QT_ALL:M${component}} != ""
498
.  endfor
499
500
.endif # defined(_QT_MK_POST_INCLUDED)
(-)Mk/bsd.port.mk (-8 lines)
Lines 1408-1417 USE_APACHE:= ${USE_APACHE:S/common/server,/} Link Here
1408
USES+=	apache:${USE_APACHE:C/2([0-9])/2.\1/g}
1408
USES+=	apache:${USE_APACHE:C/2([0-9])/2.\1/g}
1409
.endif
1409
.endif
1410
1410
1411
.if defined(USE_QT4) || defined(USE_QT5)
1412
.include "${PORTSDIR}/Mk/bsd.qt.mk"
1413
.endif
1414
1415
.if defined(USE_TEX)
1411
.if defined(USE_TEX)
1416
.include "${PORTSDIR}/Mk/bsd.tex.mk"
1412
.include "${PORTSDIR}/Mk/bsd.tex.mk"
1417
.endif
1413
.endif
Lines 1974-1983 _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \ Link Here
1974
.include "${PORTSDIR}/Mk/bsd.ocaml.mk"
1970
.include "${PORTSDIR}/Mk/bsd.ocaml.mk"
1975
.endif
1971
.endif
1976
1972
1977
.if defined(USE_QT4) || defined(USE_QT5)
1978
.include "${PORTSDIR}/Mk/bsd.qt.mk"
1979
.endif
1980
1981
.if defined(USE_SDL)
1973
.if defined(USE_SDL)
1982
.include "${PORTSDIR}/Mk/bsd.sdl.mk"
1974
.include "${PORTSDIR}/Mk/bsd.sdl.mk"
1983
.endif
1975
.endif
(-)Mk/bsd.qt.mk (-810 lines)
Removed Link Here
1
#-*- tab-width: 4; -*-
2
# ex:ts=4
3
#
4
# $FreeBSD$
5
#
6
# Port variables:
7
# USE_QT*			- List of Qt modules to depend on, with optional '_build'
8
#					  and '_run' suffixes. Define it empty to include this file
9
#					  without depending on Qt ports.
10
# QT_DIST			- The port belongs to the Qt distribution. Set to 'yes' for
11
#					  Qt 4, or to the distribution name(s) for newer versions.
12
# QT_NONSTANDARD	- Suppress modification of configure and make environment.
13
#
14
# Global switches (for inclusion into /etc/make.conf):
15
# QT4_OPTIONS		- A list of (Qt 4-only) global options; can be CUPS, NAS
16
#					  and/or QGTKSTYLE. If set, Qt will be built with support
17
#					  for:
18
#					   * Common UNIX Printing System (CUPS);
19
#					   * Network Audio System (NAS);
20
#					   * GTK+-based Qt theme (QGTKSTYLE).
21
22
.if !defined(_POSTMKINCLUDED) && !defined(Qt_Pre_Include)
23
24
Qt_Include_MAINTAINER=	kde@FreeBSD.org
25
Qt_Pre_Include=	bsd.qt.mk
26
27
# Qt versions currently supported by the framework.
28
_QT_SUPPORTED?=	4 5
29
QT4_VERSION?=	4.8.7
30
QT5_VERSION?=	5.10.1
31
32
_QT_RELNAME=	qt${_QT_VERSION:R:R}
33
_QT_VERSION=	# empty
34
.for ver in ${_QT_SUPPORTED}
35
. if defined(USE_QT${ver})
36
.  if empty(_QT_VERSION)
37
_QT_VERSION=	${QT${ver}_VERSION}
38
.  else
39
# Reject different USE_QT*.
40
IGNORE?=		can't be installed: different Qt versions specified via USE_QT[${_QT_SUPPORTED:S/ //g}] #'
41
.  endif
42
. endif
43
.endfor
44
45
.if empty(_QT_VERSION)
46
# The file was included without USE_QT*.
47
IGNORE?=		can't be installed: bsd.qt.mk may only be included via USE_QT[${_QT_SUPPORTED:S/ //g}] #'
48
.endif
49
50
.if defined(QT_DIST)
51
QT_NONSTANDARD=	yes
52
53
MASTER_SITES=	${MASTER_SITE_QT}
54
DISTINFO_FILE?=	${.CURDIR:H:H}/devel/${_QT_RELNAME}/distinfo
55
56
LICENSE?=		LGPL21
57
58
. if !exists(${PKGDIR}/pkg-descr)
59
DESCR?=			${.CURDIR:H:H}/devel/${_QT_RELNAME}/pkg-descr
60
. endif
61
62
# Stage support.
63
DESTDIRNAME=	INSTALL_ROOT
64
65
. if ${_QT_VERSION:M4*}
66
MASTER_SITE_SUBDIR?=	official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/
67
DISTNAME=		qt-everywhere-opensource-src-${_QT_VERSION}
68
DIST_SUBDIR=		KDE
69
. else
70
MASTER_SITE_SUBDIR?=	official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/submodules/
71
# www/qt5-webengine hackery: The tarballs of 5.9.5 had a different naming scheme.
72
.  if ${QT5_VERSION} == "5.9.5"
73
DISTNAME=		${QT_DIST:S,^,qt,:S,$,-opensource-src-${DISTVERSION},}
74
.  else
75
DISTNAME=		${QT_DIST:S,^,qt,:S,$,-everywhere-src-${DISTVERSION},}
76
.  endif
77
DISTFILES=		${DISTNAME:S,$,${EXTRACT_SUFX},}
78
DIST_SUBDIR=		KDE/Qt/${_QT_VERSION}
79
80
USES+=			tar:xz
81
82
# Qt (at least when used with qmake) has a tendency to overlink: some libraries
83
# have dependencies on others in the mkspec configurations and the latter are
84
# always passed to the linker even if they are not actually used. By passing
85
# --as-needed to the linker by default when building the Qt ports we do not
86
# have to declare a lot of unnecessary dependencies in USE_QT5.
87
# This could arguably work for Qt4 too, but since it is maintenance mode it is
88
# better not to fix what is not explicitly broken there.
89
LDFLAGS+=		-Wl,--as-needed
90
91
.  if ${.TARGETS:Mmakesum} || ${.TARGETS:Mfetch} && \
92
	defined(DISABLE_SIZE) && defined(NO_CHECKSUM)
93
# Ensure that the "makesum" target (with its inner "fetch" one) uses
94
# devel/qt*/distinfo for every port.
95
.		if ${DISTINFO_FILE:H} == ${.CURDIR:H:H}/devel/${_QT_RELNAME}
96
QT_DIST=		3d activeqt androidextras base canvas3d charts connectivity \
97
				datavis3d declarative doc gamepad graphicaleffects imageformats \
98
				location macextras multimedia networkauth purchasing \
99
				quickcontrols2 quickcontrols remoteobjects script scxml sensors \
100
				serialbus serialport speech svg tools translations \
101
				virtualkeyboard wayland webchannel websockets webview \
102
				winextras x11extras xmlpatterns
103
.		endif
104
.  endif
105
106
.  if ${QT_DIST} == "base" && ${PORTNAME} != "qmake"
107
# Qt configure requires pkg-config to detect dependencies.
108
USES+=			pkgconfig
109
.  endif
110
111
# -nomake is only used by qtbase's configure script.
112
# Other ports from other Qt modules will automatically build examples and
113
# tests if the directories exist because of mkspecs/features/qt_parts.prf.
114
EXTRACT_AFTER_ARGS?=	${DISTNAME:S,$,/examples,:S,^,--exclude ,} \
115
						${DISTNAME:S,$,/tests,:S,^,--exclude ,} \
116
						--no-same-owner --no-same-permissions
117
. endif # ! ${_QT_VERSION:M4*}
118
119
CONFIGURE_ENV+=	MAKE="${MAKE:T}"
120
121
CONFIGURE_ARGS+=-opensource -confirm-license \
122
				-no-pch \
123
				-prefix ${PREFIX} \
124
				-bindir ${PREFIX}/${QT_BINDIR_REL} \
125
				-headerdir ${PREFIX}/${QT_INCDIR_REL} \
126
				-libdir ${PREFIX}/${QT_LIBDIR_REL} \
127
				-plugindir ${PREFIX}/${QT_PLUGINDIR_REL} \
128
				-importdir ${PREFIX}/${QT_IMPORTDIR_REL} \
129
				-datadir ${PREFIX}/${QT_DATADIR_REL} \
130
				-docdir ${PREFIX}/${QT_DOCDIR_REL} \
131
				-translationdir ${PREFIX}/${QT_L10NDIR_REL} \
132
				-sysconfdir ${PREFIX}/${QT_ETCDIR_REL}
133
134
. if ${_QT_VERSION:M4*}
135
CONFIGURE_ARGS+=-fast \
136
				-platform ${QMAKESPEC} \
137
				-system-libjpeg -system-libpng \
138
				-system-libmng -system-libtiff -system-zlib \
139
				-no-phonon-backend \
140
				-examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL}/examples \
141
				-demosdir ${PREFIX}/${QT_EXAMPLEDIR_REL}/demos
142
. else
143
CONFIGURE_ARGS+=-nomake examples -nomake tests \
144
				-platform ${QMAKESPECNAME} \
145
				-archdatadir ${PREFIX}/${QT_ARCHDIR_REL} \
146
				-libexecdir ${PREFIX}/${QT_LIBEXECDIR_REL} \
147
				-qmldir ${PREFIX}/${QT_QMLDIR_REL} \
148
				-examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL} \
149
				-testsdir ${PREFIX}/${QT_TESTDIR_REL}
150
.  if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2)
151
CONFIGURE_ARGS+=-no-sse2
152
.  endif
153
# Work around a bug in current binutils, where the gold linker creates
154
# duplicate symbols. See pr 218187. Disable the gold-linker for Qt5 ports.
155
CONFIGURE_ARGS+=	-no-use-gold-linker
156
# Pass -recheck-all so that multiple calls to the configure script really
157
# re-run all checks.
158
CONFIGURE_ARGS+=	-recheck-all
159
. endif
160
161
. if defined(WANT_QT_DEBUG) || defined(WITH_DEBUG)
162
WITH_DEBUG=		yes
163
STRIP=			# It's done prior to bsd.qt.mk inclusion.
164
CONFIGURE_ARGS+=-debug -separate-debug-info
165
# Override configuration in global qconfig.pri.
166
QMAKE_ARGS+=	QT_CONFIG+="debug separate_debug_info" \
167
				QT_CONFIG-="release"
168
PLIST_SUB+=		DEBUG=""
169
. else
170
CONFIGURE_ARGS+=-release -no-separate-debug-info
171
QMAKE_ARGS+=	QT_CONFIG+="release" \
172
				QT_CONFIG-="debug separate_debug_info"
173
PLIST_SUB+=		DEBUG="@comment "
174
. endif
175
176
. if defined(WANT_QT_VERBOSE_CONFIGURE)
177
CONFIGURE_ARGS+=-verbose
178
. endif
179
180
. if ${QT_DIST} == "base" || ${_QT_VERSION:M4*}
181
.  if ${_QT_VERSION:M4*}
182
_EXTRA_PATCHES_QT4=	${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-src-corelib-global-qglobal.h \
183
					${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-libtool \
184
					${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-config.tests-unix-compile.test
185
# Patch in proper name for armv6 architecture: https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01679.html
186
_EXTRA_PATCHES_QT4+=	${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-armv6
187
_EXTRA_PATCHES_QT4+=	${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-aarch64
188
.  else
189
_EXTRA_PATCHES_QT5=	${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_create__cmake.prf \
190
					${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__module.prf \
191
					${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_common_bsd_bsd.conf
192
.  endif
193
EXTRA_PATCHES?=	${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-configure \
194
		${_EXTRA_PATCHES_QT4} ${_EXTRA_PATCHES_QT5}
195
. endif
196
197
# Override settings installed in qconfig.h and *.pri files. The flags will be
198
# installed along with the port, but have to be passed as arguments while
199
# building the port itself. Flags prefixed with "-" (e.g., "-CUPS" and "-cups")
200
# are needed to disable some features.
201
. if !defined(${QT_MODNAME}) || empty(${QT_MODNAME})
202
# Used for both qconfig-*.h and qt_config_*.pri; it can't be empty.
203
QT_MODNAME=		${PORTNAME}
204
. endif
205
QT_DEFINES?=	# For qconfig.h flags (without "QT_" prefix).
206
QT_CONFIG?=		# For *.pri files QT_CONFIG flags.
207
. if ${QT_DEFINES}
208
QMAKE_ARGS+=	DEFINES+="${QT_DEFINES:O:u:C/^([^-])/QT_\1/:C/^-/QT_NO_/:O}"
209
.  if ${QT_DEFINES:N-*}
210
# Use a script to cleanup qconfig-modules.h (see qt-post-install).
211
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
212
.  endif
213
. endif
214
. if ${QT_CONFIG:N-*}
215
QMAKE_ARGS+=	QT_CONFIG+="${QT_CONFIG:N-*:O:u}"
216
. endif
217
. if ${QT_CONFIG:M-*}
218
QMAKE_ARGS+=	QT_CONFIG-="${QT_CONFIG:M-*:O:u:C/^-//}"
219
. endif
220
221
# Add a RUN_DEPENDS on misc/qtchooser to select the binaries.
222
# The binaries of both supported Qt versions are installed to
223
# ${LOCALBASE}/lib/qt[45]/bin. The port misc/qtchooser installs
224
# wrapper binaries into ${LOCALBASE}/bin, and chooses the correct
225
# one depending on the value of QT_SELECT (which we pass to both
226
# CONFIGURE_ENV and MAKE_ENV). Therefore make all QT_DIST ports
227
# RUN_DEPEND on it.
228
RUN_DEPENDS+=	qtchooser:misc/qtchooser
229
230
PLIST_SUB+=		SHORTVER=${DISTVERSION:R} \
231
				FULLVER=${DISTVERSION:C/-.*//}
232
.endif # defined(QT_DIST)
233
234
# A wrapper (qtchooser) is used to invoke binaries.
235
QT_BINDIR_REL?=	${QT_ARCHDIR_REL}/bin
236
QT_INCDIR_REL?=	include/${_QT_RELNAME}
237
QT_LIBDIR_REL?=	lib/${_QT_RELNAME}
238
QT_ARCHDIR_REL?=${QT_LIBDIR_REL}
239
QT_PLUGINDIR_REL?=	${QT_ARCHDIR_REL}/plugins
240
QT_LIBEXECDIR_REL?=	libexec/${_QT_RELNAME}
241
QT_IMPORTDIR_REL?=	${QT_ARCHDIR_REL}/imports
242
QT_QMLDIR_REL?=	${QT_ARCHDIR_REL}/qml
243
QT_DATADIR_REL?=share/${_QT_RELNAME}
244
QT_DOCDIR_REL?=	share/doc/${_QT_RELNAME}
245
QT_L10NDIR_REL?=${QT_DATADIR_REL}/translations
246
QT_ETCDIR_REL?=	etc/xdg
247
QT_EXAMPLEDIR_REL?=	share/examples/${_QT_RELNAME}
248
QT_TESTDIR_REL?=${QT_DATADIR_REL}/tests
249
QT_CMAKEDIR_REL?=	lib/cmake
250
QT_QTCHOOSERDIR_REL?=	${QT_ETCDIR_REL}/qtchooser
251
252
# Not customizable.
253
.if ${_QT_VERSION:M4*}
254
QT_MKSPECDIR_REL=	${QT_DATADIR_REL}/mkspecs
255
256
_QT_LIBVER=		# empty
257
.else
258
QT_MKSPECDIR_REL=	${QT_ARCHDIR_REL}/mkspecs
259
260
_QT_LIBVER=		${_QT_VERSION:R:R}
261
.endif
262
263
LRELEASE?=		${QT_BINDIR}/lrelease
264
LUPDATE?=		${QT_BINDIR}/lupdate
265
MOC?=			${QT_BINDIR}/moc
266
RCC?=			${QT_BINDIR}/rcc
267
UIC?=			${QT_BINDIR}/uic
268
QMAKE?=			${QT_BINDIR}/qmake
269
# Needed to redefine the qmake target for internal Qt configuration.
270
_QMAKE?=		${QMAKE}
271
QMAKESPECNAME?=	freebsd-${QMAKE_COMPILER}
272
QMAKESPEC?=		${QT_MKSPECDIR}/${QMAKESPECNAME}
273
274
# The whole Qt distribution should be built with the same compiler, but it's
275
# better to support custom settings. Dereferencing the detection allows to
276
# avoid forking a shell on each inclusion of this file, and to catch any CXX
277
# customization (via USE_GCC, etc.).
278
QMAKE_COMPILER=	$$(ccver="$$(${CXX} --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)
279
280
# Import QMAKE_ENV and QMAKE_ARGS definitions.
281
USES+=			qmake:_env
282
283
.for dir in BIN INC LIB ARCH PLUGIN LIBEXEC IMPORT \
284
	QML DATA DOC L10N ETC EXAMPLE TEST MKSPEC \
285
	CMAKE QTCHOOSER
286
QT_${dir}DIR=	${PREFIX}/${QT_${dir}DIR_REL}
287
# Export all directories to the plist substituion for QT_DIST ports.
288
# For the others, exclude QT_CMAKEDIR and QT_ETCDIR.
289
.  if (${dir:NCMAKE} && ${dir:NETC}) || defined(QT_DIST)
290
PLIST_SUB+=		QT_${dir}DIR="${QT_${dir}DIR_REL}"
291
.  endif
292
.endfor
293
294
# Pass the chosen Qt version to the environment for qtchooser.
295
CONFIGURE_ENV+=	QT_SELECT=${_QT_RELNAME}
296
MAKE_ENV+=	QT_SELECT=${_QT_RELNAME}
297
298
# Make sure both the installed mkspecs as well as the ones being built are
299
# found, with the ones from the port being built having preference.
300
CONFIGURE_ENV+=	QMAKEMODULES="${WRKSRC}/mkspecs/modules:${LOCALBASE}/${QT_MKSPECDIR_REL}/modules"
301
MAKE_ENV+=		QMAKEMODULES="${WRKSRC}/mkspecs/modules:${LOCALBASE}/${QT_MKSPECDIR_REL}/modules"
302
303
.endif # !defined(_POSTMKINCLUDED) && !defined(Qt_Pre_Include)
304
305
.if defined(_POSTMKINCLUDED) && !defined(Qt_Post_Include)
306
307
Qt_Post_Include=	bsd.qt.mk
308
309
.if !defined(QT_NONSTANDARD)
310
CONFIGURE_ENV+=	QTDIR="${QT_ARCHDIR}" QMAKE="${QMAKE}" \
311
				MOC="${MOC}" RCC="${RCC}" UIC="${UIC}" \
312
				QMAKESPEC="${QMAKESPEC}"
313
CONFIGURE_ARGS+=--with-qt-includes=${QT_INCDIR} \
314
				--with-qt-libraries=${QT_LIBDIR} \
315
				--with-extra-includes=${LOCALBASE}/include \
316
				--with-extra-libs=${LOCALBASE}/lib
317
.endif # !defined(QT_NONSTANDARD)
318
319
_USE_QT_ALL=	assistant dbus declarative designer doc gui help \
320
				imageformats l10n linguist linguisttools multimedia \
321
				network opengl pixeltool qdbusviewer qmake script \
322
				scripttools sql sql-mysql sql-odbc sql-pgsql \
323
				sql-sqlite2 sql-sqlite3 svg testlib webkit \
324
				xml xmlpatterns
325
.if ${ARCH} == amd64 || ${ARCH} == i386
326
_USE_QT_ALL+=	sql-ibase
327
.endif
328
329
_USE_QT4_ONLY=	accessible assistant-adp assistantclient clucene codecs-cn codecs-jp \
330
				codecs-kr codecs-tw corelib demo graphicssystems-opengl \
331
				help-tools iconengines inputmethods makeqpf moc phonon \
332
				phonon-gst porting qdoc3 qmlviewer qt3support qtconfig \
333
				qtestlib qvfb rcc uic uic3 xmlpatterns-tool
334
335
_USE_QT5_ONLY=	3d buildtools canvas3d charts concurrent connectivity \
336
				core datavis3d diag examples gamepad \
337
				graphicaleffects location paths phonon4 plugininfo printsupport \
338
				qdbus qdoc qdoc-data qev qml quick quickcontrols \
339
				quickcontrols2 scxml sensors serialbus serialport speech \
340
				sql-tds uiplugin uitools virtualkeyboard wayland webchannel \
341
				webengine websockets websockets-qml widgets x11extras
342
343
3d_PORT=		graphics/${_QT_RELNAME}-3d
344
3d_LIB=		libQt${_QT_LIBVER}3DCore.so
345
346
accessible_PORT=	accessibility/${_QT_RELNAME}-accessible
347
accessible_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/accessible/libqtaccessiblewidgets.so
348
349
assistant_PORT=		devel/${_QT_RELNAME}-assistant
350
assistant_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/assistant
351
352
assistant-adp_PORT=	devel/${_QT_RELNAME}-assistant-adp
353
assistant-adp_PATH=	assistant_adp
354
355
assistantclient_PORT=	devel/${_QT_RELNAME}-libqtassistantclient
356
assistantclient_LIB=	libQt${_QT_LIBVER}AssistantClient.so
357
358
buildtools_PORT=	devel/${_QT_RELNAME}-buildtools
359
buildtools_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/moc
360
361
canvas3d_PORT=		x11-toolkits/${_QT_RELNAME}-canvas3d
362
canvas3d_PATH=		${LOCALBASE}/${QT_QMLDIR_REL}/QtCanvas3D/qmldir
363
364
charts_PORT=		x11-toolkits/${_QT_RELNAME}-charts
365
charts_LIB=		libQt${_QT_LIBVER}Charts.so
366
367
clucene_PORT=		textproc/${_QT_RELNAME}-clucene
368
clucene_LIB=		libQt${_QT_LIBVER}CLucene.so
369
370
codecs-cn_PORT=		chinese/${_QT_RELNAME}-codecs-cn
371
codecs-cn_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/codecs/libqcncodecs.so
372
373
codecs-jp_PORT=		japanese/${_QT_RELNAME}-codecs-jp
374
codecs-jp_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/codecs/libqjpcodecs.so
375
376
codecs-kr_PORT=		korean/${_QT_RELNAME}-codecs-kr
377
codecs-kr_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/codecs/libqkrcodecs.so
378
379
codecs-tw_PORT=		chinese/${_QT_RELNAME}-codecs-tw
380
codecs-tw_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/codecs/libqtwcodecs.so
381
382
concurrent_PORT=	devel/${_QT_RELNAME}-concurrent
383
concurrent_LIB=	libQt${_QT_LIBVER}Concurrent.so
384
385
connectivity_PORT=	comms/${_QT_RELNAME}-connectivity
386
connectivity_LIB=	libQt${_QT_LIBVER}Bluetooth.so
387
388
core_PORT=			devel/${_QT_RELNAME}-core
389
core_LIB=			libQt${_QT_LIBVER}Core.so
390
391
corelib_PORT=		devel/${_QT_RELNAME}-corelib
392
corelib_LIB=		${core_LIB}
393
394
datavis3d_PORT=		x11-toolkits/${_QT_RELNAME}-datavis3d
395
datavis3d_LIB=		libQt${_QT_LIBVER}DataVisualization.so
396
397
dbus_PORT=			devel/${_QT_RELNAME}-dbus
398
dbus_LIB=			libQt${_QT_LIBVER}DBus.so
399
400
declarative_PORT=	x11-toolkits/${_QT_RELNAME}-declarative
401
declarative_LIB=	libQt${_QT_LIBVER}Declarative.so
402
403
demo_PORT=			misc/${_QT_RELNAME}-qtdemo
404
demo_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/qtdemo
405
406
designer_PORT=		devel/${_QT_RELNAME}-designer
407
designer_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/designer
408
409
diag_PORT=		sysutils/${_QT_RELNAME}-qtdiag
410
diag_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qtdiag
411
412
doc_PORT=			misc/${_QT_RELNAME}-doc
413
doc_PATH=			${_QT_RELNAME}-doc>=${_QT_VERSION:R:R}
414
415
examples_PORT=		misc/${_QT_RELNAME}-examples
416
examples_PATH=		${_QT_RELNAME}-examples>=${_QT_VERSION:R:R}
417
418
gamepad_PORT=		x11-toolkits/${_QT_RELNAME}-gamepad
419
gamepad_LIB=		libQt${_QT_LIBVER}Gamepad.so
420
421
graphicaleffects_PORT=	graphics/${_QT_RELNAME}-graphicaleffects
422
graphicaleffects_PATH=	${LOCALBASE}/${QT_QMLDIR_REL}/QtGraphicalEffects/qmldir
423
424
graphicssystems-opengl_PORT=	x11/${_QT_RELNAME}-graphicssystems-opengl
425
graphicssystems-opengl_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/graphicssystems/libqglgraphicssystem.so
426
427
gui_PORT=			x11-toolkits/${_QT_RELNAME}-gui
428
gui_LIB=			libQt${_QT_LIBVER}Gui.so
429
430
help_PORT=			devel/${_QT_RELNAME}-help
431
help_LIB=			libQt${_QT_LIBVER}Help.so
432
433
help-tools_PORT=	devel/${_QT_RELNAME}-help-tools
434
help-tools_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/qhelpgenerator
435
436
iconengines_PORT=	graphics/${_QT_RELNAME}-iconengines
437
iconengines_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/iconengines/libqsvgicon.so
438
439
imageformats_PORT=	graphics/${_QT_RELNAME}-imageformats
440
imageformats_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/imageformats/libqtiff.so
441
442
inputmethods_PORT=	x11/${_QT_RELNAME}-inputmethods
443
inputmethods_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/inputmethods/libqimsw-multi.so
444
445
linguist_PORT=		devel/${_QT_RELNAME}-linguist
446
linguist_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/linguist
447
448
linguisttools_PORT=	devel/${_QT_RELNAME}-linguisttools
449
linguisttools_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/lrelease
450
451
location_PORT=		devel/${_QT_RELNAME}-location
452
location_LIB=		libQt${_QT_LIBVER}Location.so
453
454
l10n_PORT=			misc/${_QT_RELNAME}-l10n
455
l10n_PATH=			${_QT_RELNAME}-l10n>=${_QT_VERSION:R:R}
456
457
makeqpf_PORT=		devel/${_QT_RELNAME}-makeqpf
458
makeqpf_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/makeqpf
459
460
moc_PORT=			devel/${_QT_RELNAME}-moc
461
moc_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/moc
462
463
multimedia_PORT=	multimedia/${_QT_RELNAME}-multimedia
464
multimedia_LIB=		libQt${_QT_LIBVER}Multimedia.so
465
466
network_PORT=		net/${_QT_RELNAME}-network
467
network_LIB=		libQt${_QT_LIBVER}Network.so
468
469
opengl_PORT=		graphics/${_QT_RELNAME}-opengl
470
opengl_LIB=		libQt${_QT_LIBVER}OpenGL.so
471
472
paths_PORT=		sysutils/${_QT_RELNAME}-qtpaths
473
paths_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qtpaths
474
475
pixeltool_PORT=		graphics/${_QT_RELNAME}-pixeltool
476
pixeltool_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/pixeltool
477
478
phonon_PORT=		multimedia/phonon@${_QT_RELNAME}
479
phonon_LIB=		libphonon.so
480
481
phonon4_PORT=		multimedia/phonon@${_QT_RELNAME}
482
phonon4_LIB=		libphonon4${_QT_RELNAME}.so
483
484
phonon-gst_PORT=	multimedia/phonon-gstreamer@${_QT_RELNAME}
485
phonon-gst_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/phonon_backend/libphonon_gstreamer.so
486
487
plugininfo_PORT=		sysutils/${_QT_RELNAME}-qtplugininfo
488
plugininfo_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qtplugininfo
489
490
porting_PORT=		devel/${_QT_RELNAME}-porting
491
porting_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qt3to4
492
493
printsupport_PORT=	print/${_QT_RELNAME}-printsupport
494
printsupport_LIB=	libQt${_QT_LIBVER}PrintSupport.so
495
496
qdbus_PORT=			devel/${_QT_RELNAME}-qdbus
497
qdbus_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/qdbus
498
499
qdbusviewer_PORT=	devel/${_QT_RELNAME}-qdbusviewer
500
qdbusviewer_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/qdbusviewer
501
502
qdoc_PORT=			devel/${_QT_RELNAME}-qdoc
503
qdoc_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/qdoc
504
505
qdoc-data_PORT=		devel/${_QT_RELNAME}-qdoc-data
506
qdoc-data_PATH=		${LOCALBASE}/${QT_DOCDIR_REL}/global/config.qdocconf
507
508
qdoc3_PORT=			devel/${_QT_RELNAME}-qdoc3
509
qdoc3_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/qdoc3
510
511
qev_PORT=			x11/${_QT_RELNAME}-qev
512
qev_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/qev
513
514
qmake_PORT=			devel/${_QT_RELNAME}-qmake
515
qmake_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/qmake
516
517
qml_PORT=			lang/${_QT_RELNAME}-qml
518
qml_LIB=			libQt${_QT_LIBVER}Qml.so
519
520
qmlviewer_PORT=		devel/${_QT_RELNAME}-qmlviewer
521
qmlviewer_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qmlviewer
522
523
qt3support_PORT=	devel/${_QT_RELNAME}-qt3support
524
qt3support_LIB=		libQt${_QT_LIBVER}3Support.so
525
526
qtconfig_PORT=		misc/${_QT_RELNAME}-qtconfig
527
qtconfig_PATH=		${LOCALBASE}/${QT_BINDIR_REL}/qtconfig
528
529
qtestlib_PORT=		${testlib_PORT}
530
qtestlib_LIB=		${testlib_LIB}
531
532
quick_PORT=			x11-toolkits/${_QT_RELNAME}-quick
533
quick_LIB=			libQt${_QT_LIBVER}Quick.so
534
535
quickcontrols_PORT=	x11-toolkits/${_QT_RELNAME}-quickcontrols
536
quickcontrols_PATH=	${LOCALBASE}/${QT_QMLDIR_REL}/QtQuick/Controls/qmldir
537
538
quickcontrols2_PORT=	x11-toolkits/${_QT_RELNAME}-quickcontrols2
539
quickcontrols2_LIB=	libQt${_QT_LIBVER}QuickControls2.so
540
541
qvfb_PORT=			devel/${_QT_RELNAME}-qvfb
542
qvfb_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/qvfb
543
544
rcc_PORT=			devel/${_QT_RELNAME}-rcc
545
rcc_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/rcc
546
547
sensors_PORT=		comms/${_QT_RELNAME}-sensors
548
sensors_LIB=		libQt${_QT_LIBVER}Sensors.so
549
550
script_PORT=		devel/${_QT_RELNAME}-script
551
script_LIB=		libQt${_QT_LIBVER}Script.so
552
553
scripttools_PORT=	devel/${_QT_RELNAME}-scripttools
554
scripttools_LIB=	libQt${_QT_LIBVER}ScriptTools.so
555
556
scxml_PORT=		devel/${_QT_RELNAME}-scxml
557
scxml_LIB=		libQt${_QT_LIBVER}Scxml.so
558
559
serialbus_PORT=		comms/${_QT_RELNAME}-serialbus
560
serialbus_LIB=		libQt${_QT_LIBVER}SerialBus.so
561
562
serialport_PORT=	comms/${_QT_RELNAME}-serialport
563
serialport_LIB=	libQt${_QT_LIBVER}SerialPort.so
564
565
speech_PORT=		accessibility/${_QT_RELNAME}-speech
566
speech_LIB=			libQt${_QT_LIBVER}TextToSpeech.so
567
568
sql_PORT=			databases/${_QT_RELNAME}-sql
569
sql_LIB=			libQt${_QT_LIBVER}Sql.so
570
571
sql-pgsql_PATH=		${LOCALBASE}/${QT_PLUGINDIR_REL}/sqldrivers/libqsqlpsql.so
572
573
.  if ${_QT_VERSION:M4*}
574
sql-sqlite2_PORT=	databases/${_QT_RELNAME}-sqlite-plugin
575
.  endif
576
577
sql-sqlite3_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/sqldrivers/libqsqlite.so
578
579
.  for db in ibase mysql odbc pgsql sqlite2 sqlite3 tds
580
.    if ${_QT_VERSION:M4*}
581
sql-${db}_PORT?=	databases/${_QT_RELNAME}-${db}-plugin
582
.    else
583
sql-${db}_PORT?=	databases/${_QT_RELNAME}-sqldrivers-${db}
584
.    endif
585
sql-${db}_PATH?=	${LOCALBASE}/${QT_PLUGINDIR_REL}/sqldrivers/libqsql${db:C/^sql//}.so
586
.  endfor
587
588
svg_PORT=			graphics/${_QT_RELNAME}-svg
589
svg_LIB=			libQt${_QT_LIBVER}Svg.so
590
591
testlib_PORT=		devel/${_QT_RELNAME}-testlib
592
testlib_LIB=		libQt${_QT_LIBVER}Test.so
593
594
uic_PORT=			devel/${_QT_RELNAME}-uic
595
uic_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/uic
596
597
uic3_PORT=			devel/${_QT_RELNAME}-uic3
598
uic3_PATH=			${LOCALBASE}/${QT_BINDIR_REL}/uic3
599
600
uiplugin_PORT=		x11-toolkits/${_QT_RELNAME}-uiplugin
601
uiplugin_PATH=		${LOCALBASE}/${QT_INCDIR_REL}/QtUiPlugin/QtUiPlugin
602
603
uitools_PORT=		devel/${_QT_RELNAME}-uitools
604
uitools_PATH=		${LOCALBASE}/${QT_LIBDIR_REL}/libQt${_QT_LIBVER}UiTools.a
605
606
virtualkeyboard_PORT=	x11-toolkits/${_QT_RELNAME}-virtualkeyboard
607
virtualkeyboard_PATH=	${LOCALBASE}/${QT_PLUGINDIR_REL}/platforminputcontexts/libqtvirtualkeyboardplugin.so
608
609
webchannel_PORT=	www/${_QT_RELNAME}-webchannel
610
webchannel_LIB=	libQt${_QT_LIBVER}WebChannel.so
611
612
webengine_PORT=		www/${_QT_RELNAME}-webengine
613
webengine_LIB=	libQt${_QT_LIBVER}WebEngine.so
614
615
websockets_PORT=	www/${_QT_RELNAME}-websockets
616
websockets_LIB=	libQt${_QT_LIBVER}WebSockets.so
617
618
websockets-qml_PORT=	www/${_QT_RELNAME}-websockets-qml
619
websockets-qml_PATH=	${LOCALBASE}/${QT_QMLDIR_REL}/QtWebSockets/qmldir
620
621
webkit_PORT=		www/${_QT_RELNAME}-webkit
622
webkit_LIB=	libQt${_QT_LIBVER}WebKit.so
623
624
widgets_PORT=		x11-toolkits/${_QT_RELNAME}-widgets
625
widgets_LIB=		libQt${_QT_LIBVER}Widgets.so
626
627
x11extras_PORT=		x11/${_QT_RELNAME}-x11extras
628
x11extras_LIB=		libQt${_QT_LIBVER}X11Extras.so
629
630
xml_PORT=			textproc/${_QT_RELNAME}-xml
631
xml_LIB=			libQt${_QT_LIBVER}Xml.so
632
633
xmlpatterns_PORT=	textproc/${_QT_RELNAME}-xmlpatterns
634
xmlpatterns_LIB=	libQt${_QT_LIBVER}XmlPatterns.so
635
636
xmlpatterns-tool_PORT=	textproc/${_QT_RELNAME}-xmlpatterns-tool
637
xmlpatterns-tool_PATH=	${LOCALBASE}/${QT_BINDIR_REL}/xmlpatterns
638
639
_USE_QT=		${USE_QT${_QT_VERSION:R:R}}
640
_USE_QT_ALL+=		${_USE_QT${_QT_VERSION:R:R}_ONLY}
641
# Iterate through components deprived of suffix.
642
.  for component in ${_USE_QT:O:u:C/_.+//}
643
  # Check that the component is valid.
644
.    if ${_USE_QT_ALL:M${component}} != ""
645
   # Skip meta-components (currently none).
646
.      if defined(${component}_PORT) && (defined(${component}_PATH) || defined(${component}_LIB))
647
    # Check if a dependency type is explicitly requested.
648
.        if ${_USE_QT:M${component}_*} != "" && ${_USE_QT:M${component}} == ""
649
${component}_TYPE=		# empty
650
.          if ${_USE_QT:M${component}_build} != ""
651
${component}_TYPE+=		build
652
.          endif
653
.          if ${_USE_QT:M${component}_run} != ""
654
${component}_TYPE+=		run
655
.          endif
656
.        endif # ${_USE_QT:M${component}_*} != "" && ${_USE_QT:M${component}} == ""
657
    # If no dependency type is set, default to full dependency.
658
.        if !defined(${component}_TYPE)
659
${component}_TYPE=		build run
660
.        endif
661
    # Set real dependencies.
662
.        if defined(${component}_LIB) && ${${component}_TYPE:Mbuild} && ${${component}_TYPE:Mrun}
663
LIB_DEPENDS+=			${${component}_LIB}:${${component}_PORT}
664
.        else
665
${component}_PATH?=		${QT_LIBDIR}/${${component}_LIB}
666
${component}_DEPENDS=		${${component}_PATH}:${${component}_PORT}
667
.          if ${${component}_TYPE:Mbuild} != ""
668
BUILD_DEPENDS+=			${${component}_DEPENDS}
669
.          endif
670
.          if ${${component}_TYPE:Mrun} != ""
671
RUN_DEPENDS+=			${${component}_DEPENDS}
672
.          endif
673
.        endif # ${${component}_LIB} && ${${component}_TYPE:Mbuild} && ${${component}_TYPE:Mrun}
674
.      endif # defined(${component}_PORT) && defined(${component}_PATH)
675
.    else # ! ${_USE_QT_ALL:M${component}} != ""
676
IGNORE=				cannot be installed: unknown USE_QT component '${component}'
677
.    endif # ${_USE_QT_ALL:M${component}} != ""
678
.  endfor
679
680
.if defined(QT_DIST) && ! ${_QT_VERSION:M4*}
681
. if ${QT_DIST} == "base"
682
# qtbase requires some tools to be symlinked to the build directory.
683
_QT_TOOLS=		# empty
684
.  if ${PORTNAME} != "qmake"
685
_QT_TOOLS+=		${QMAKE}
686
.  endif
687
.  if ${PORTNAME} != "buildtools"
688
_QT_TOOLS+=		${MOC} ${RCC}
689
.  endif
690
.  if ${PORTNAME} != "qdoc"
691
_QT_TOOLS+=		qdoc
692
.  endif
693
.  if ${PORTNAME} != "dbus"
694
_QT_TOOLS+=		qdbuscpp2xml qdbusxml2cpp
695
.  endif
696
.  if ${PORTNAME} != "widgets"
697
_QT_TOOLS+=		${UIC}
698
.  endif
699
700
# The list of QtBase components that need to be linked into WRKSRC/lib for
701
# other QtBase ports. See below.
702
_QT5_BASE=			core dbus gui network sql widgets
703
704
pre-configure: qtbase-pre-configure
705
qtbase-pre-configure:
706
.  for tool in ${_QT_TOOLS}
707
	@${TEST} -e ${QT_BINDIR}/${tool:T} && \
708
		${LN} -sf ${QT_BINDIR}/${tool:T} ${CONFIGURE_WRKSRC}/bin/${tool:T} || \
709
		${TRUE}
710
.  endfor
711
712
# The following is a fix for the inplace upgrade problem we faced (see
713
# QTBUG-40825 and ports bugs 194088, 195105 and 198720) previously,
714
# which previously was adressed by making sure, that ${LOCALBASE}/lib, which
715
# would often gets added by pkgconf for the dependencies, was passed after
716
# ${WRKSRC}/lib.
717
# * We fix the inplace upgrade problem by moving the Qt5 libraries into
718
#   ${LOCALBASE}/lib/qt5. Therefore a -L${LOCALBASE}/lib does no harm anymore.
719
# * However, this means, that the ports belonging to the split up QtBase package
720
#   now no longer can find their depending QtBase libraries. We fix this by
721
#   linking these into ${CONFIGURE_WRKSRC}/lib if the given QtBase port depends
722
#   on them.
723
.  if ${QT_DIST:Mbase}
724
.    for basedep in ${_QT5_BASE}
725
.      if ${USE_QT5:M${basedep}}
726
	${LN} -sf ${QT_LIBDIR}/${${basedep}_LIB} ${CONFIGURE_WRKSRC}/lib
727
.      endif
728
.    endfor
729
.  endif
730
731
#
732
# **** THIS PART IS OBSOLETE FOR THE NEXT QT UPGRADE ****
733
#
734
# Add ${LOCALBASE}/lib to DEFAULT_LIBDIRS, which we use to filter out
735
# certain paths from pkg-config calls (see the explanation in
736
# devel/qt5/files/patch-configure) as well as for setting
737
# QMAKE_DEFAULT_LIBDIR in mkspecs/qconfig.pri. Part of the solution for
738
# ports/194088.
739
post-patch: qtbase-post-patch
740
qtbase-post-patch:
741
	${REINPLACE_CMD} -e "/DEFAULT_LIBDIRS=/ s,\\\\\"\\\\n,\\\\n${LOCALBASE}/lib&," \
742
		${WRKSRC}/configure
743
744
.  if ${PORTNAME} != "qmake"
745
_QMAKE=			${CONFIGURE_WRKSRC}/bin/qmake
746
.  endif
747
. endif # ${QT_DIST} == "base"
748
749
pre-configure: qt5-pre-configure
750
qt5-pre-configure:
751
# Qt 5.3.2 introduced a check in mkspecs/features/create_cmake.prf that
752
# requires tests/auto/cmake to be present, otherwise the configure stage will
753
# fail.
754
# Since we cannot extract tests/auto/cmake/ and exclude tests/ at the same
755
# time, we have to disable the check in a cache file (the only way to get this
756
# value through to the configure script in qtbase).
757
	${MKDIR} ${CONFIGURE_WRKSRC}
758
	${ECHO_CMD} 'CMAKE_MODULE_TESTS = -' > ${CONFIGURE_WRKSRC}/.qmake.cache
759
#
760
# **** THIS PART IS OBSOLETE FOR THE NEXT QT UPGRADE ****
761
#
762
# We piggyback on QMAKE_LIBDIR_FLAGS to make sure -L${WRKSRC}/lib is passed to
763
# the linker before -L/usr/local/lib. By default, the opposite happens, which
764
# is a problem when a Qt port is being upgraded, since an existing library
765
# would end up being picked up instead of those built in ${WRKSRC}/lib. Since
766
# qmake appends the value of QMAKE_LIBDIR to QMAKE_LIBDIR_FLAGS, we can use the
767
# latter to get the linker path order right. qmake is smart enough to strip
768
# occurrences of ${WRKSRC}/lib from .pc and .prl files when installing them.
769
# See QTBUG-40825 and ports bugs 194088, 195105 and 198720.
770
	${ECHO_CMD} 'QMAKE_LIBDIR_FLAGS = -L${CONFIGURE_WRKSRC}/lib' >> ${CONFIGURE_WRKSRC}/.qmake.cache
771
772
post-install: qt-post-install
773
qt-post-install:
774
. if ${QT_DEFINES:N-*}
775
# We can't use SUB_FILES with a shared pkg-deinstall.in.
776
# We need it to be a script instead of a group of @unexecs, otherwise
777
# qconfig-modules.h cleanup will be run in pre-deinstall stage, which is
778
# useless. This will probably be replaced by a Keywords/ script in the future.
779
	@${SED} -e 's,%%QT_MODNAME%%,${QT_MODNAME},g' \
780
		-e 's,%%QT_INCDIR%%,${QT_INCDIR},g' \
781
		${.CURDIR:H:H}/devel/${_QT_RELNAME}/${FILESDIR:T}/${PKGDEINSTALL:T}.in > \
782
		${PKGDEINSTALL}
783
	@${MKDIR} ${STAGEDIR}${QT_INCDIR}/QtCore/modules
784
	@${ECHO_CMD} -n \
785
		> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
786
.  for def in ${QT_DEFINES:N-*:O:u:C/=.*$//}
787
	@${ECHO_CMD} "#if !defined(QT_${def}) && !defined(QT_NO_${def})" \
788
		>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
789
	${ECHO_CMD} "# define QT_${def}" \
790
		>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
791
	@${ECHO_CMD} "#endif" \
792
		>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
793
	@${ECHO_CMD} \
794
		>> ${STAGEDIR}${QT_INCDIR}/QtCore/modules/qconfig-${QT_MODNAME}.h
795
.  endfor
796
	@${ECHO_CMD} "${PREFIX}/${QT_INCDIR_REL}/QtCore/modules/qconfig-${QT_MODNAME}.h" \
797
		>> ${TMPPLIST}
798
	@${ECHO_CMD} "@exec echo '#include <QtCore/modules/qconfig-${QT_MODNAME}.h>' >> ${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig-modules.h" \
799
		>> ${TMPPLIST}
800
. endif # ${QT_DEFINES:N-*}
801
. if ${QT_CONFIG:N-*}
802
	@${MKDIR} ${STAGEDIR}${QT_MKSPECDIR}/modules
803
	${ECHO_CMD} "QT_CONFIG += ${QT_CONFIG:N-*:O:u}" \
804
		> ${STAGEDIR}${QT_MKSPECDIR}/modules/qt_config_${QT_MODNAME}.pri
805
	@${ECHO_CMD} "${PREFIX}/${QT_MKSPECDIR_REL}/modules/qt_config_${QT_MODNAME}.pri" \
806
		>> ${TMPPLIST}
807
. endif # ${QT_CONFIG:N-*}
808
.endif # defined(QT_DIST) && ! ${_QT_VERSION:M4*}
809
810
.endif # defined(_POSTMKINCLUDED) && !defined(Qt_Post_Include)
(-)Mk/bsd.sanity.mk (-2 / +5 lines)
Lines 18-24 ALL_UNSUPPORTED= WITHOUT_NLS NOPORTDOCS NOPORTEXAMPLES WITH_BDB_VER \ Link Here
18
			OVERRIDE_LINUX_BASE_PORT WITH_OPENSSL_PORT \
18
			OVERRIDE_LINUX_BASE_PORT WITH_OPENSSL_PORT \
19
			WITH_OPENSSL_BASE PYTHON_DEFAULT_VERSION \
19
			WITH_OPENSSL_BASE PYTHON_DEFAULT_VERSION \
20
			PYTHON2_DEFAULT_VERSION PYTHON3_DEFAULT_VERSION
20
			PYTHON2_DEFAULT_VERSION PYTHON3_DEFAULT_VERSION
21
ALL_DEPRECATED=		
21
ALL_DEPRECATED=
22
ALL_NOTNEEDED=		WITH_NEW_XORG WITHOUT_NEW_XORG WITH_KMS WITHOUT_KMS
22
ALL_NOTNEEDED=		WITH_NEW_XORG WITHOUT_NEW_XORG WITH_KMS WITHOUT_KMS
23
23
24
WITHOUT_NLS_ALT=	"OPTIONS_UNSET=NLS, or ${OPTIONS_NAME}_UNSET+=NLS instead"
24
WITHOUT_NLS_ALT=	"OPTIONS_UNSET=NLS, or ${OPTIONS_NAME}_UNSET+=NLS instead"
Lines 169-175 SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \ Link Here
169
		USE_RCORDER USE_OPENSSL WANT_GNOME RUBYGEM_AUTOPLIST WANT_SDL \
169
		USE_RCORDER USE_OPENSSL WANT_GNOME RUBYGEM_AUTOPLIST WANT_SDL \
170
		INSTALLS_EGGINFO USE_DOS2UNIX NO_STAGE USE_RUBYGEMS USE_GHOSTSCRIPT \
170
		INSTALLS_EGGINFO USE_DOS2UNIX NO_STAGE USE_RUBYGEMS USE_GHOSTSCRIPT \
171
		USE_GHOSTSCRIPT_BUILD USE_GHOSTSCRIPT_RUN USE_AUTOTOOLS APACHE_PORT \
171
		USE_GHOSTSCRIPT_BUILD USE_GHOSTSCRIPT_RUN USE_AUTOTOOLS APACHE_PORT \
172
		USE_FPC_RUN WANT_FPC_BASE WANT_FPC_ALL
172
		USE_FPC_RUN WANT_FPC_BASE WANT_FPC_ALL USE_QT4 USE_QT5 QT_NONSTANDARD
173
SANITY_DEPRECATED=	PYTHON_PKGNAMESUFFIX MLINKS \
173
SANITY_DEPRECATED=	PYTHON_PKGNAMESUFFIX MLINKS \
174
			USE_MYSQL WANT_MYSQL_VER \
174
			USE_MYSQL WANT_MYSQL_VER \
175
			PYDISTUTILS_INSTALLNOSINGLE \
175
			PYDISTUTILS_INSTALLNOSINGLE \
Lines 254-259 APACHE_PORT_ALT= DEFAULT_VERSIONS+=apache=${APACHE_PORT:S/www\/apache//:C/2(0-9) Link Here
254
USE_FPC_RUN_ALT=	USES=fpc:run
254
USE_FPC_RUN_ALT=	USES=fpc:run
255
WANT_FPC_BASE_ALT=	USES=fpc:base
255
WANT_FPC_BASE_ALT=	USES=fpc:base
256
WANT_FPC_ALL_ALT=	USES=fpc:all
256
WANT_FPC_ALL_ALT=	USES=fpc:all
257
USE_QT4_ALT=		USES=qt:4 and USE_QT=${USE_QT4}
258
USE_QT5_ALT=		USES=qt:5 and USE_QT=${USE_QT5}
259
QT_NONSTANDARD_ALT=	USES=qmake:no_env
257
260
258
.for a in ${SANITY_DEPRECATED}
261
.for a in ${SANITY_DEPRECATED}
259
.if defined(${a})
262
.if defined(${a})
(-)accessibility/jovie-kde4/Makefile (-2 / +2 lines)
Lines 10-18 COMMENT= KDE text-to-speech system Link Here
10
10
11
LIB_DEPENDS=	libspeechd.so:accessibility/speech-dispatcher
11
LIB_DEPENDS=	libspeechd.so:accessibility/speech-dispatcher
12
12
13
USES=		cmake:outsource kde:4 tar:xz
13
USES=		cmake:outsource kde:4 qt:4 tar:xz
14
USE_KDE=	kdelibs automoc4
14
USE_KDE=	kdelibs automoc4
15
USE_QT4=	xml qmake_build moc_build uic_build rcc_build
15
USE_QT=		xml qmake_build moc_build uic_build rcc_build
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
17
18
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)accessibility/kaccessible-kde4/Makefile (-2 / +2 lines)
Lines 10-18 COMMENT= Accessibility services for KDE Link Here
10
10
11
LIB_DEPENDS=	libspeechd.so:accessibility/speech-dispatcher
11
LIB_DEPENDS=	libspeechd.so:accessibility/speech-dispatcher
12
12
13
USES=		cmake:outsource kde:4 tar:xz
13
USES=		cmake:outsource kde:4 qt:4 tar:xz
14
USE_KDE=	kdelibs automoc4
14
USE_KDE=	kdelibs automoc4
15
USE_QT4=	corelib dbus gui xml \
15
USE_QT=		corelib dbus gui xml \
16
		qmake_build moc_build rcc_build uic_build
16
		qmake_build moc_build rcc_build uic_build
17
17
18
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)accessibility/kmag-kde4/Makefile (-2 / +2 lines)
Lines 8-16 CATEGORIES= accessibility kde kde-kde4 Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	KDE Screen magnifier
9
COMMENT=	KDE Screen magnifier
10
10
11
USES=		cmake:outsource kde:4 tar:xz
11
USES=		cmake:outsource kde:4 qt:4 tar:xz
12
USE_KDE=	kdelibs automoc4
12
USE_KDE=	kdelibs automoc4
13
USE_QT4=	qmake_build moc_build rcc_build uic_build
13
USE_QT=		qmake_build moc_build rcc_build uic_build
14
14
15
# Somebody has to create port for libkdeaccessibilityclient first
15
# Somebody has to create port for libkdeaccessibilityclient first
16
CMAKE_ARGS+=	-DWITH_QAccessibilityClient=off
16
CMAKE_ARGS+=	-DWITH_QAccessibilityClient=off
(-)accessibility/kmag/Makefile (-2 / +2 lines)
Lines 10-19 COMMENT= KDE Screen magnifier Link Here
10
LICENSE=	GPLv2
10
LICENSE=	GPLv2
11
LICENSE_FILE=	${WRKSRC}/COPYING
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
12
13
USES=		cmake:outsource gettext kde:5 tar:xz
13
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
14
USE_KDE=	auth codecs config configwidgets coreaddons ecm \
14
USE_KDE=	auth codecs config configwidgets coreaddons ecm \
15
		i18n kio service widgetsaddons xmlgui
15
		i18n kio service widgetsaddons xmlgui
16
USE_QT5=	core dbus gui printsupport widgets xml \
16
USE_QT=		core dbus gui printsupport widgets xml \
17
		buildtools_build qmake_build
17
		buildtools_build qmake_build
18
18
19
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)accessibility/kmousetool-kde4/Makefile (-2 / +2 lines)
Lines 8-16 CATEGORIES= accessibility kde kde-kde4 Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	Automatic mouse click tool for KDE
9
COMMENT=	Automatic mouse click tool for KDE
10
10
11
USES=		cmake:outsource kde:4 tar:xz
11
USES=		cmake:outsource kde:4 qt:4 tar:xz
12
USE_KDE=	kdelibs automoc4
12
USE_KDE=	kdelibs automoc4
13
USE_QT4=	qmake_build moc_build rcc_build uic_build
13
USE_QT=		qmake_build moc_build rcc_build uic_build
14
USE_XORG=	xtst
14
USE_XORG=	xtst
15
15
16
.include <bsd.port.mk>
16
.include <bsd.port.mk>
(-)accessibility/kmousetool/Makefile (-2 / +2 lines)
Lines 11-20 COMMENT= Automatic mouse click tool for KDE Link Here
11
LICENSE=	GPLv2
11
LICENSE=	GPLv2
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
13
14
USES=		cmake:outsource gettext kde:5 tar:xz
14
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
15
USE_KDE=	auth codecs config configwidgets coreaddons dbusaddons \
15
USE_KDE=	auth codecs config configwidgets coreaddons dbusaddons \
16
		ecm i18n iconthemes notifications widgetsaddons xmlgui
16
		ecm i18n iconthemes notifications widgetsaddons xmlgui
17
USE_QT5=	core dbus gui phonon4 widgets xml \
17
USE_QT=		core dbus gui phonon4 widgets xml \
18
		buildtools_build qmake_build
18
		buildtools_build qmake_build
19
USE_XORG=	ice sm x11 xext xtst
19
USE_XORG=	ice sm x11 xext xtst
20
20
(-)accessibility/kmouth-kde4/Makefile (-2 / +2 lines)
Lines 8-15 CATEGORIES= accessibility kde kde-kde4 Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	Speech synthesizer frontend for KDE
9
COMMENT=	Speech synthesizer frontend for KDE
10
10
11
USES=		cmake:outsource kde:4 tar:xz
11
USES=		cmake:outsource kde:4 qt:4 tar:xz
12
USE_KDE=	kdelibs automoc4
12
USE_KDE=	kdelibs automoc4
13
USE_QT4=	qmake_build moc_build rcc_build uic_build
13
USE_QT=		qmake_build moc_build rcc_build uic_build
14
14
15
.include <bsd.port.mk>
15
.include <bsd.port.mk>
(-)accessibility/kmouth/Makefile (-2 / +2 lines)
Lines 10-19 COMMENT= Speech synthesizer frontend for KDE Link Here
10
LICENSE=	GPLv2
10
LICENSE=	GPLv2
11
LICENSE_FILE=	${WRKSRC}/COPYING
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
12
13
USES=		cmake:outsource gettext kde:5 tar:xz
13
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
14
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
14
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
15
		ecm i18n jobwidgets kio service widgetsaddons xmlgui
15
		ecm i18n jobwidgets kio service widgetsaddons xmlgui
16
USE_QT5=	core dbus gui network printsupport speech widgets xml \
16
USE_QT=		core dbus gui network printsupport speech widgets xml \
17
		buildtools_build qmake_build
17
		buildtools_build qmake_build
18
18
19
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)accessibility/qt4-accessible/Makefile (-2 / +2 lines)
Lines 10-17 PKGNAMEPREFIX= qt4- Link Here
10
MAINTAINER=	kde@FreeBSD.org
10
MAINTAINER=	kde@FreeBSD.org
11
COMMENT=	Qt accessibility widgets
11
COMMENT=	Qt accessibility widgets
12
12
13
USE_QT4=	qmake_build moc_build qt3support corelib gui network sql xml
13
USES=		qmake:no_env qt-dist:4
14
QT_DIST=	yes
14
USE_QT=		moc_build qt3support corelib gui network sql xml
15
USE_CXXSTD=	gnu++98
15
USE_CXXSTD=	gnu++98
16
16
17
HAS_CONFIGURE=	yes
17
HAS_CONFIGURE=	yes
(-)accessibility/qt5-speech/Makefile (-3 / +2 lines)
Lines 10-17 COMMENT= Accessibilty features for Qt5 Link Here
10
10
11
LIB_DEPENDS=	libspeechd.so:accessibility/speech-dispatcher
11
LIB_DEPENDS=	libspeechd.so:accessibility/speech-dispatcher
12
12
13
USES=		pkgconfig qmake:outsource
13
USES=		pkgconfig qmake:outsource qt-dist:5,speech
14
USE_QT5=	core gui buildtools_build qmake_build
14
USE_QT=		core gui buildtools_build qmake_build
15
QT_DIST=	${PORTNAME}
16
15
17
.include <bsd.port.mk>
16
.include <bsd.port.mk>
(-)archivers/ark-kde4/Makefile (-2 / +2 lines)
Lines 14-23 LIB_DEPENDS= libqjson.so:devel/qjson@qt4 Link Here
14
LICENSE=	GPLv2+
14
LICENSE=	GPLv2+
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
16
17
USES=		cmake:outsource kde:4 libarchive cpe tar:xz
17
USES=		cmake:outsource kde:4 libarchive cpe qt:4 tar:xz
18
USE_KDE=	automoc4 kdelibs libkonq
18
USE_KDE=	automoc4 kdelibs libkonq
19
CPE_VENDOR=	kde
19
CPE_VENDOR=	kde
20
USE_QT4=	qtestlib qmake_build moc_build rcc_build uic_build
20
USE_QT=		qtestlib qmake_build moc_build rcc_build uic_build
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
22
23
OPTIONS_DEFINE=	7ZIP RAR ZIP
23
OPTIONS_DEFINE=	7ZIP RAR ZIP
(-)archivers/ark/Makefile (-2 / +2 lines)
Lines 10-21 COMMENT= Archiving tool for KDE Link Here
10
LICENSE=	GPLv2+
10
LICENSE=	GPLv2+
11
LICENSE_FILE=	${WRKSRC}/COPYING
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
12
13
USES=		cmake:outsource gettext libarchive kde:5 tar:xz
13
USES=		cmake:outsource gettext libarchive kde:5 qt:5 tar:xz
14
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
14
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
15
		coreaddons crash dbusaddons doctools ecm i18n iconthemes \
15
		coreaddons crash dbusaddons doctools ecm i18n iconthemes \
16
		itemmodels itemviews jobwidgets khtml kio parts pty service \
16
		itemmodels itemviews jobwidgets khtml kio parts pty service \
17
		solid sonnet textwidgets widgetsaddons xmlgui
17
		solid sonnet textwidgets widgetsaddons xmlgui
18
USE_QT5=	concurrent core dbus gui network widgets xml \
18
USE_QT=		concurrent core dbus gui network widgets xml \
19
		buildtools_build qmake_build
19
		buildtools_build qmake_build
20
20
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
(-)archivers/kf5-karchive/Makefile (-2 / +2 lines)
Lines 11-18 COMMENT= KF5 library that provides classes for handling archive formats Link Here
11
LICENSE=	LGPL20
11
LICENSE=	LGPL20
12
LICENSE_FILE=	${WRKSRC}/COPYING.LIB
12
LICENSE_FILE=	${WRKSRC}/COPYING.LIB
13
13
14
USES=		cmake:outsource compiler:c++11-lib kde:5 tar:xz
14
USES=		cmake:outsource compiler:c++11-lib kde:5 qt:5 tar:xz
15
USE_KDE=	ecm
15
USE_KDE=	ecm
16
USE_QT5=	buildtools_build core qmake_build
16
USE_QT=		buildtools_build core qmake_build
17
17
18
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)archivers/quazip/Makefile (-3 / +5 lines)
Lines 16-29 LICENSE= LGPL21 Link Here
16
FLAVORS=	qt4 qt5
16
FLAVORS=	qt4 qt5
17
FLAVOR?=	${FLAVORS:[1]}
17
FLAVOR?=	${FLAVORS:[1]}
18
18
19
USES=		cmake:outsource
19
USES=		cmake:outsource 
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
21
22
.  if ${FLAVOR} == qt4
22
.  if ${FLAVOR} == qt4
23
USE_QT4=	corelib moc_build network_build qmake_build rcc_build uic_build
23
USES+=		qt:4
24
USE_QT=		corelib moc_build network_build qmake_build rcc_build uic_build
24
CMAKE_ARGS=	-DBUILD_WITH_QT4:BOOL=TRUE
25
CMAKE_ARGS=	-DBUILD_WITH_QT4:BOOL=TRUE
25
.  else
26
.  else
26
USE_QT5=	core buildtools_build qmake_build
27
USES+=		qt:5
28
USE_QT=		core buildtools_build qmake_build
27
CMAKE_ARGS=	-DBUILD_WITH_QT4:BOOL=FALSE
29
CMAKE_ARGS=	-DBUILD_WITH_QT4:BOOL=FALSE
28
QTVER_SUFFIX=	5
30
QTVER_SUFFIX=	5
29
.  endif
31
.  endif
(-)astro/gpsbabel/Makefile (-4 / +5 lines)
Lines 19-35 USE_GITHUB= yes Link Here
19
19
20
CONFLICTS=	gpsbabel14-[0-9]*
20
CONFLICTS=	gpsbabel14-[0-9]*
21
21
22
USE_QT5=	core qmake_build
22
USE_QT=		core qmake_build
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--with-zlib=system
24
CONFIGURE_ARGS=	--with-zlib=system
25
USES=		localbase
25
USES=		localbase qt:5 qt:5
26
26
27
OPTIONS_DEFINE=	GUI
27
OPTIONS_DEFINE=	GUI
28
OPTIONS_SUB=	yes
28
OPTIONS_SUB=	yes
29
29
30
GUI_ALL_TARGET=	gui
30
GUI_ALL_TARGET=	gui
31
GUI_USE=	QT5=gui,xml,network,webkit
31
GUI_USES=	qt:5 qt:5
32
GUI_USE+=	QT5=linguisttools_build,moc_build,rcc_build,uic_build
32
GUI_USE=	QT=gui,xml,network,webkit
33
GUI_USE+=	QT=linguisttools_build,moc_build,rcc_build,uic_build
33
GUI_VARS=	MAKE_JOBS_UNSAFE=yes
34
GUI_VARS=	MAKE_JOBS_UNSAFE=yes
34
35
35
post-patch:
36
post-patch:
(-)astro/gpsd/Makefile (-1 / +2 lines)
Lines 131-137 TIMING_MAKE_ARGS_OFF= timing=no Link Here
131
# Client-side options
131
# Client-side options
132
NCURSES_MAKE_ARGS_OFF=	ncurses=no
132
NCURSES_MAKE_ARGS_OFF=	ncurses=no
133
NCURSES_USES=		ncurses
133
NCURSES_USES=		ncurses
134
QTBIND_USE=		QT4=network,corelib
134
QTBIND_USES=		qt:4
135
QTBIND_USE=		QT=network,corelib
135
QTBIND_MAKE_ARGS=	qt=yes
136
QTBIND_MAKE_ARGS=	qt=yes
136
QTBIND_MAKE_ARGS_OFF=	qt=no
137
QTBIND_MAKE_ARGS_OFF=	qt=no
137
QTBIND_PLIST_SUB=	QTBIND=""
138
QTBIND_PLIST_SUB=	QTBIND=""
(-)astro/kstars-kde4/Makefile (-2 / +2 lines)
Lines 13-21 LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ Link Here
13
BUILD_DEPENDS=	xplanet:astro/xplanet
13
BUILD_DEPENDS=	xplanet:astro/xplanet
14
RUN_DEPENDS=	xplanet:astro/xplanet
14
RUN_DEPENDS=	xplanet:astro/xplanet
15
15
16
USES=		cmake:outsource compiler:c++11-lib eigen:3 kde:4 tar:xz
16
USES=		cmake:outsource compiler:c++11-lib eigen:3 kde:4 qt:4 tar:xz
17
USE_KDE=	kdelibs automoc4
17
USE_KDE=	kdelibs automoc4
18
USE_QT4=	opengl qmake_build moc_build rcc_build uic_build
18
USE_QT=		opengl qmake_build moc_build rcc_build uic_build
19
19
20
OPTIONS_DEFINE=	PYKDE
20
OPTIONS_DEFINE=	PYKDE
21
21
(-)astro/kstars/Makefile (-2 / +2 lines)
Lines 19-31 BUILD_DEPENDS= xplanet:astro/xplanet Link Here
19
RUN_DEPENDS=	xplanet:astro/xplanet
19
RUN_DEPENDS=	xplanet:astro/xplanet
20
20
21
USES=		cmake:outsource compiler:c++11-lib eigen:3 gettext kde:5 \
21
USES=		cmake:outsource compiler:c++11-lib eigen:3 gettext kde:5 \
22
		pkgconfig tar:xz
22
		pkgconfig qt:5 tar:xz
23
USE_KDE=	attica auth bookmarks codecs completion config configwidgets\
23
USE_KDE=	attica auth bookmarks codecs completion config configwidgets\
24
		coreaddons crash dbusaddons doctools ecm guiaddons i18n \
24
		coreaddons crash dbusaddons doctools ecm guiaddons i18n \
25
		iconthemes init itemviews jobwidgets kio newstuff notifications \
25
		iconthemes init itemviews jobwidgets kio newstuff notifications \
26
		notifyconfig parts plotting service solid texteditor \
26
		notifyconfig parts plotting service solid texteditor \
27
		widgetsaddons xmlgui
27
		widgetsaddons xmlgui
28
USE_QT5=	concurrent core dbus gui multimedia network opengl printsupport \
28
USE_QT=		concurrent core dbus gui multimedia network opengl printsupport \
29
		qml quick sql svg testlib widgets xml \
29
		qml quick sql svg testlib widgets xml \
30
		buildtools_build qmake_build
30
		buildtools_build qmake_build
31
31
(-)astro/libkgeomap-kde4/Makefile (-2 / +2 lines)
Lines 16-24 LICENSE_COMB= multi Link Here
16
16
17
BUILD_DEPENDS=	${LOCALBASE}/include/boost/graph/buffer_concepts.hpp:devel/boost-libs
17
BUILD_DEPENDS=	${LOCALBASE}/include/boost/graph/buffer_concepts.hpp:devel/boost-libs
18
18
19
USES=		cmake:outsource kde:4 pathfix tar:xz
19
USES=		cmake:outsource kde:4 pathfix qt:4 tar:xz
20
USE_KDE=	kdelibs automoc4 marble
20
USE_KDE=	kdelibs automoc4 marble
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
USE_QT4=	network phonon xml moc_build qmake_build rcc_build uic_build
22
USE_QT=		network phonon xml moc_build qmake_build rcc_build uic_build
23
23
24
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)astro/libkgeomap/Makefile (-2 / +2 lines)
Lines 13-21 LICENSE_COMB= multi Link Here
13
BUILD_DEPENDS=	${LOCALBASE}/include/boost/graph/buffer_concepts.hpp:devel/boost-libs
13
BUILD_DEPENDS=	${LOCALBASE}/include/boost/graph/buffer_concepts.hpp:devel/boost-libs
14
LIB_DEPENDS=	libopencv_video.so:graphics/opencv
14
LIB_DEPENDS=	libopencv_video.so:graphics/opencv
15
15
16
USES=		cmake:outsource gettext kde:5 pkgconfig tar:xz
16
USES=		cmake:outsource gettext kde:5 pkgconfig qt:5 tar:xz
17
USE_KDE=	config coreaddons ecm i18n kio marble service textwidgets
17
USE_KDE=	config coreaddons ecm i18n kio marble service textwidgets
18
USE_QT5=	concurrent core gui network webkit widgets xml \
18
USE_QT=		concurrent core gui network webkit widgets xml \
19
		buildtools_build qmake_build
19
		buildtools_build qmake_build
20
20
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
(-)astro/marble-kde4/Makefile (-2 / +2 lines)
Lines 10-18 COMMENT= Virtual globe and world atlas for KDE Link Here
10
10
11
LIB_DEPENDS=	libquazip.so:archivers/quazip@qt4
11
LIB_DEPENDS=	libquazip.so:archivers/quazip@qt4
12
12
13
USES=		cmake:outsource kde:4 shared-mime-info tar:xz
13
USES=		cmake:outsource kde:4 qt:4 shared-mime-info tar:xz
14
USE_KDE=	kdelibs automoc4
14
USE_KDE=	kdelibs automoc4
15
USE_QT4=	corelib dbus declarative designer_build gui network phonon \
15
USE_QT=		corelib dbus declarative designer_build gui network phonon \
16
		qtestlib script sql svg webkit xml \
16
		qtestlib script sql svg webkit xml \
17
		qmake_build moc_build rcc_build uic_build
17
		qmake_build moc_build rcc_build uic_build
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
(-)astro/marble/Makefile (-2 / +2 lines)
Lines 13-24 LICENSE_FILE= ${WRKSRC}/LICENSE.txt Link Here
13
13
14
LIB_DEPENDS=	libquazip5.so:archivers/quazip@qt5
14
LIB_DEPENDS=	libquazip5.so:archivers/quazip@qt5
15
15
16
USES=		cmake:outsource desktop-file-utils gettext kde:5 tar:xz
16
USES=		cmake:outsource desktop-file-utils gettext kde:5 qt:5 tar:xz
17
USE_KDE=	attica auth codecs completion config configwidgets coreaddons \
17
USE_KDE=	attica auth codecs completion config configwidgets coreaddons \
18
		crash doctools ecm i18n jobwidgets kio newstuff package parts \
18
		crash doctools ecm i18n jobwidgets kio newstuff package parts \
19
		plasma-framework runner service sonnet textwidgets wallet \
19
		plasma-framework runner service sonnet textwidgets wallet \
20
		widgetsaddons xmlgui
20
		widgetsaddons xmlgui
21
USE_QT5=	concurrent core dbus designer gui location network opengl \
21
USE_QT=		concurrent core dbus designer gui location network opengl \
22
		phonon4 printsupport qml quick script sql svg webkit widgets xml \
22
		phonon4 printsupport qml quick script sql svg webkit widgets xml \
23
		buildtools_build qmake_build
23
		buildtools_build qmake_build
24
24
(-)astro/merkaartor/Makefile (-3 / +4 lines)
Lines 18-28 LIB_DEPENDS= libgdal.so:graphics/gdal \ Link Here
18
18
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	openstreetmap
20
GH_ACCOUNT=	openstreetmap
21
USES=		pkgconfig sqlite:3 qmake
21
USES=		pkgconfig qt:5 sqlite:3 qmake
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
23
24
QMAKE_ARGS=	SYSTEM_QUAZIP=1
24
QMAKE_ARGS=	SYSTEM_QUAZIP=1
25
USE_QT5=	buildtools_build \
25
USE_QT=		buildtools_build \
26
		concurrent core gui imageformats network printsupport svg \
26
		concurrent core gui imageformats network printsupport svg \
27
		webkit widgets xml
27
		webkit widgets xml
28
28
Lines 45-51 ZBAR_BROKEN= Does not build with option ZBAR selected Link Here
45
45
46
DEBUG_QMAKE_OFF=	NODEBUG=1 RELEASE=1
46
DEBUG_QMAKE_OFF=	NODEBUG=1 RELEASE=1
47
47
48
NLS_USE=	QT5=linguisttools_build
48
NLS_USES=	qt:5
49
NLS_USE=	QT=linguisttools_build
49
50
50
INSTALLS_ICONS= yes
51
INSTALLS_ICONS= yes
51
52
(-)astro/qlandkartegt/Makefile (-2 / +2 lines)
Lines 16-23 LIB_DEPENDS= libgdal.so:graphics/gdal \ Link Here
16
		libproj.so:graphics/proj \
16
		libproj.so:graphics/proj \
17
		libgps.so:astro/gpsd
17
		libgps.so:astro/gpsd
18
18
19
USES=		cmake desktop-file-utils
19
USES=		cmake desktop-file-utils qt:4
20
USE_QT4=	dbus gui opengl network sql xml linguist_build \
20
USE_QT=		dbus gui opengl network sql xml linguist_build \
21
		moc_build uic_build rcc_build qmake_build
21
		moc_build uic_build rcc_build qmake_build
22
USE_GL=		glu
22
USE_GL=		glu
23
23
(-)astro/qmapshack/Makefile (-2 / +2 lines)
Lines 19-26 LIB_DEPENDS= libgdal.so:graphics/gdal \ Link Here
19
		libroutino.so:astro/routino
19
		libroutino.so:astro/routino
20
RUN_DEPENDS=	${LOCALBASE}/bin/bsdisks:sysutils/bsdisks
20
RUN_DEPENDS=	${LOCALBASE}/bin/bsdisks:sysutils/bsdisks
21
21
22
USES=		cmake compiler:c++11-lib desktop-file-utils jpeg
22
USES=		cmake compiler:c++11-lib desktop-file-utils jpeg qt:5
23
USE_QT5=	buildtools core dbus gui linguisttools network printsupport \
23
USE_QT=		buildtools core dbus gui linguisttools network printsupport \
24
		qmake script sql sql-sqlite3 uitools webkit widgets xml
24
		qmake script sql sql-sqlite3 uitools webkit widgets xml
25
25
26
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)astro/stellarium-qt4/Makefile (-4 / +4 lines)
Lines 18-25 LICENSE= GPLv2+ Link Here
18
CONFLICTS_INSTALL=	${PORTNAME}-0.17.*
18
CONFLICTS_INSTALL=	${PORTNAME}-0.17.*
19
PORTSCOUT=	limit:^0\.12\.			# track only 0.12.x (legacy)
19
PORTSCOUT=	limit:^0\.12\.			# track only 0.12.x (legacy)
20
20
21
USES=		cmake gettext iconv
21
USES=		cmake gettext iconv qt:4
22
USE_QT4=	moc_build rcc_build uic_build qmake_build \
22
USE_QT=		moc_build rcc_build uic_build qmake_build \
23
		corelib gui network opengl
23
		corelib gui network opengl
24
24
25
PORTDOCS=	AUTHORS ChangeLog README
25
PORTDOCS=	AUTHORS ChangeLog README
Lines 55-67 PLIST_SUB+= TEXTURES="@comment " Link Here
55
.endif
55
.endif
56
56
57
.if ${PORT_OPTIONS:MMULTIMEDIA}
57
.if ${PORT_OPTIONS:MMULTIMEDIA}
58
USE_QT4+=	phonon
58
USE_QT+=	phonon
59
.else
59
.else
60
CMAKE_ARGS+=	-DENABLE_SOUND:BOOL=OFF
60
CMAKE_ARGS+=	-DENABLE_SOUND:BOOL=OFF
61
.endif
61
.endif
62
62
63
.if ${PORT_OPTIONS:MSCRIPTING}
63
.if ${PORT_OPTIONS:MSCRIPTING}
64
USE_QT4+=	script
64
USE_QT+=	script
65
PLIST_SUB+=	SCRIPTS=""
65
PLIST_SUB+=	SCRIPTS=""
66
.else
66
.else
67
CMAKE_ARGS+=	-DENABLE_SCRIPTING:BOOL=OFF
67
CMAKE_ARGS+=	-DENABLE_SCRIPTING:BOOL=OFF
(-)astro/stellarium/Makefile (-5 / +7 lines)
Lines 17-24 CONFLICTS_INSTALL= ${PORTNAME}-qt4-0.12.* Link Here
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	Stellarium
18
GH_ACCOUNT=	Stellarium
19
19
20
USES=		cmake gettext
20
USES=		cmake gettext qt:5
21
USE_QT5=	qmake_build buildtools_build linguisttools_build \
21
USE_QT=		qmake_build buildtools_build linguisttools_build \
22
		concurrent core gui network opengl printsupport widgets
22
		concurrent core gui network opengl printsupport widgets
23
23
24
CMAKE_ARGS=	-DENABLE_GPS:BOOL=OFF	# XXX: requires Qt5Positioning
24
CMAKE_ARGS=	-DENABLE_GPS:BOOL=OFF	# XXX: requires Qt5Positioning
Lines 44-53 DOCS_DISTFILES= stellarium_user_guide-${GUIDE_VERSION}-1.pdf:ug Link Here
44
TEXTURES_MASTER_SITES=	SF/${PORTNAME}/Extra-data-files/textures:gfx
44
TEXTURES_MASTER_SITES=	SF/${PORTNAME}/Extra-data-files/textures:gfx
45
TEXTURES_DISTFILES=	textures-1K.zip:gfx
45
TEXTURES_DISTFILES=	textures-1K.zip:gfx
46
46
47
MULTIMEDIA_USE=		QT5=multimedia
47
MULTIMEDIA_USES=	qt:5
48
MULTIMEDIA_USE=		QT=multimedia
48
MULTIMEDIA_CMAKE_OFF=	-DENABLE_MEDIA:BOOL=OFF
49
MULTIMEDIA_CMAKE_OFF=	-DENABLE_MEDIA:BOOL=OFF
49
50
50
TELESCOPE_USE=		QT5=serialport
51
TELESCOPE_USES=	qt:5
52
TELESCOPE_USE=		QT=serialport
51
TELESCOPE_CMAKE_OFF=	-DUSE_PLUGIN_TELESCOPECONTROL:BOOL=OFF
53
TELESCOPE_CMAKE_OFF=	-DUSE_PLUGIN_TELESCOPECONTROL:BOOL=OFF
52
54
53
.include <bsd.port.options.mk>
55
.include <bsd.port.options.mk>
Lines 65-71 PLIST_SUB+= MORE_STARS="@comment " Link Here
65
.endif
67
.endif
66
68
67
.if ${PORT_OPTIONS:MSCRIPTING}
69
.if ${PORT_OPTIONS:MSCRIPTING}
68
USE_QT5+=	script
70
USE_QT+=	script
69
PLIST_SUB+=	SCRIPTS=""
71
PLIST_SUB+=	SCRIPTS=""
70
.else
72
.else
71
CMAKE_ARGS+=	-DENABLE_SCRIPTING:BOOL=OFF
73
CMAKE_ARGS+=	-DENABLE_SCRIPTING:BOOL=OFF
(-)astro/xglobe/Makefile (-2 / +2 lines)
Lines 13-20 COMMENT= Displays a view of the Earth (like xearth) with a rendered photo map Link Here
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
15
16
USES=		gmake
16
USES=		gmake qt:4
17
USE_QT4=	corelib gui qt3support moc_build
17
USE_QT=		corelib gui qt3support moc_build
18
18
19
do-install:
19
do-install:
20
	@${MKDIR} ${STAGEDIR}${DATADIR}
20
	@${MKDIR} ${STAGEDIR}${DATADIR}
(-)audio/abgate-lv2/Makefile (-2 / +2 lines)
Lines 17-27 BROKEN_powerpc64= fails to build: cc1plus: unrecognized command line option -std Link Here
17
17
18
BUILD_DEPENDS=	lv2>0:audio/lv2
18
BUILD_DEPENDS=	lv2>0:audio/lv2
19
19
20
USES=		gmake pkgconfig
20
USES=		gmake pkgconfig qt:5
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	antanasbruzas
22
GH_ACCOUNT=	antanasbruzas
23
USE_CXXSTD=	c++11
23
USE_CXXSTD=	c++11
24
USE_QT5=	core gui widgets buildtools_build qmake_build
24
USE_QT=		core gui widgets buildtools_build qmake_build
25
USE_GL=		gl
25
USE_GL=		gl
26
USE_GNOME=	atkmm gtk20 gtkmm24 libsigc++20
26
USE_GNOME=	atkmm gtk20 gtkmm24 libsigc++20
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
(-)audio/acoustid-fingerprinter/Makefile (-2 / +2 lines)
Lines 18-25 LIB_DEPENDS= libchromaprint.so:audio/chromaprint \ Link Here
18
BROKEN_armv6=		fails to link: fingerprintcalculator.cpp: undefined reference to 'chromaprint_new'
18
BROKEN_armv6=		fails to link: fingerprintcalculator.cpp: undefined reference to 'chromaprint_new'
19
BROKEN_powerpc64=	fails to compile: libchromaprint.so: undefined reference to std::__cxx11::basic_string
19
BROKEN_powerpc64=	fails to compile: libchromaprint.so: undefined reference to std::__cxx11::basic_string
20
20
21
USES=		cmake desktop-file-utils
21
USES=		cmake desktop-file-utils qt:4
22
USE_QT4=	corelib gui network \
22
USE_QT=		corelib gui network \
23
		qmake_build moc_build rcc_build uic_build
23
		qmake_build moc_build rcc_build uic_build
24
USE_GITHUB=	yes
24
USE_GITHUB=	yes
25
GH_ACCOUNT=	acoustid
25
GH_ACCOUNT=	acoustid
(-)audio/amarok-kde4/Makefile (-2 / +2 lines)
Lines 24-34 RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so.1.0.0:devel Link Here
24
		${KDE_PREFIX}/lib/kde4/kio_upnp_ms.so:net/kio-upnp-ms
24
		${KDE_PREFIX}/lib/kde4/kio_upnp_ms.so:net/kio-upnp-ms
25
25
26
USES=		cmake:outsource kde:4 mysql:client,embedded pkgconfig \
26
USES=		cmake:outsource kde:4 mysql:client,embedded pkgconfig \
27
		shared-mime-info shebangfix ssl tar:bzip2
27
		qt:4 shared-mime-info shebangfix ssl tar:bzip2
28
USE_GL=		gl
28
USE_GL=		gl
29
USE_KDE=	automoc4 kdelibs libkcddb libkcompactdisc \
29
USE_KDE=	automoc4 kdelibs libkcddb libkcompactdisc \
30
		nepomuk-core runtime soprano strigi
30
		nepomuk-core runtime soprano strigi
31
USE_QT4=	corelib dbus designer gui network opengl \
31
USE_QT=		corelib dbus designer gui network opengl \
32
		phonon script sql svg webkit xml \
32
		phonon script sql svg webkit xml \
33
		qmake_build moc_build rcc_build uic_build
33
		qmake_build moc_build rcc_build uic_build
34
USE_XORG=	ice sm x11 xau xdmcp xext xft xpm
34
USE_XORG=	ice sm x11 xau xdmcp xext xft xpm
(-)audio/audex/Makefile (-2 / +2 lines)
Lines 13-21 LICENSE= GPLv3 Link Here
13
13
14
LIB_DEPENDS=	libcdda_paranoia.so:audio/cdparanoia
14
LIB_DEPENDS=	libcdda_paranoia.so:audio/cdparanoia
15
15
16
USES=		tar:xz cmake kde:4
16
USES=		qt:4 tar:xz cmake kde:4
17
USE_KDE=	automoc4 kdelibs libkcddb libkcompactdisc
17
USE_KDE=	automoc4 kdelibs libkcddb libkcompactdisc
18
USE_QT4=	gui dbus network svg xml \
18
USE_QT=		gui dbus network svg xml \
19
		qmake_build moc_build rcc_build uic_build
19
		qmake_build moc_build rcc_build uic_build
20
# Too many changes for suffix on literals without a space.
20
# Too many changes for suffix on literals without a space.
21
USE_CXXSTD=	gnu++98
21
USE_CXXSTD=	gnu++98
(-)audio/audiocd-kio/Makefile (-2 / +2 lines)
Lines 17-29 LIB_DEPENDS= libFLAC.so:audio/flac \ Link Here
17
		libKF5Cddb.so:audio/libkcddb \
17
		libKF5Cddb.so:audio/libkcddb \
18
		libKF5CompactDisc.so:audio/libkcompactdisc
18
		libKF5CompactDisc.so:audio/libkcompactdisc
19
19
20
USES=		cmake:outsource gettext kde:5 tar:xz
20
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
21
USE_KDE=	auth bookmarks codecs completion config configwidgets \
21
USE_KDE=	auth bookmarks codecs completion config configwidgets \
22
		coreaddons crash guiaddons i18n iconthemes itemviews \
22
		coreaddons crash guiaddons i18n iconthemes itemviews \
23
		jobwidgets kdelibs4support kio notifications parts \
23
		jobwidgets kdelibs4support kio notifications parts \
24
		service solid sonnet textwidgets unitconversion \
24
		service solid sonnet textwidgets unitconversion \
25
		widgetsaddons windowsystem xmlgui
25
		widgetsaddons windowsystem xmlgui
26
USE_QT5=	core dbus gui network phonon4 printsupport widgets xml \
26
USE_QT=		core dbus gui network phonon4 printsupport widgets xml \
27
		buildtools_build qmake_build
27
		buildtools_build qmake_build
28
28
29
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
(-)audio/cantata/Makefile (-4 / +6 lines)
Lines 14-27 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
14
USE_GITHUB=		yes
14
USE_GITHUB=		yes
15
GH_ACCOUNT=		CDrummond
15
GH_ACCOUNT=		CDrummond
16
16
17
USE_QT5=		buildtools_build concurrent core dbus gui network \
17
USE_QT=			buildtools_build concurrent core dbus gui network \
18
			qmake_build sql sql-sqlite3_run svg widgets xml
18
			qmake_build sql sql-sqlite3_run svg widgets xml
19
19
20
CMAKE_ARGS=		-DENABLE_QT5:BOOL=TRUE	\
20
CMAKE_ARGS=		-DENABLE_QT5:BOOL=TRUE	\
21
			-DENABLE_KDE:BOOL=FALSE	\
21
			-DENABLE_KDE:BOOL=FALSE	\
22
			-DCMAKE_DISABLE_FIND_PACKAGE_UDev:BOOL=TRUE
22
			-DCMAKE_DISABLE_FIND_PACKAGE_UDev:BOOL=TRUE
23
23
24
USES=			cmake:outsource cpe pkgconfig shebangfix
24
USES=			cmake:outsource cpe pkgconfig qt:5 shebangfix
25
SHEBANG_FILES=		playlists/cantata-dynamic cantata-remote.cmake \
25
SHEBANG_FILES=		playlists/cantata-dynamic cantata-remote.cmake \
26
			devices/mounter/mount.cifs.wrapper
26
			devices/mounter/mount.cifs.wrapper
27
CPE_VENDOR=		craig_drummond
27
CPE_VENDOR=		craig_drummond
Lines 71-77 MUSICBRAINZ_IMPLIES= CDPARANOIA Link Here
71
MUSICBRAINZ_LIB_DEPENDS=libmusicbrainz5.so:audio/libmusicbrainz5
71
MUSICBRAINZ_LIB_DEPENDS=libmusicbrainz5.so:audio/libmusicbrainz5
72
MUSICBRAINZ_CMAKE_BOOL=	ENABLE_MUSICBRAINZ
72
MUSICBRAINZ_CMAKE_BOOL=	ENABLE_MUSICBRAINZ
73
73
74
NLS_USE=		QT5=linguisttools_build
74
NLS_USES=	qt:5
75
NLS_USE=		QT=linguisttools_build
75
NLS_CMAKE_ON=		-DLCONVERT_EXECUTABLE:STRING=${QT_BINDIR}/lconvert \
76
NLS_CMAKE_ON=		-DLCONVERT_EXECUTABLE:STRING=${QT_BINDIR}/lconvert \
76
			-DLRELEASE_EXECUTABLE:STRING=${QT_BINDIR}/lrelease
77
			-DLRELEASE_EXECUTABLE:STRING=${QT_BINDIR}/lrelease
77
NLS_CMAKE_OFF=		-DLCONVERT_EXECUTABLE:BOOL=FALSE \
78
NLS_CMAKE_OFF=		-DLCONVERT_EXECUTABLE:BOOL=FALSE \
Lines 79-85 NLS_CMAKE_OFF= -DLCONVERT_EXECUTABLE:BOOL=FALSE \ Link Here
79
80
80
PROXY_CMAKE_BOOL=	ENABLE_PROXY_CONFIG
81
PROXY_CMAKE_BOOL=	ENABLE_PROXY_CONFIG
81
82
82
QT5_USE=		QT5=multimedia
83
QT5_USES=	qt:5
84
QT5_USE=		QT=multimedia
83
85
84
TAGLIB_LIB_DEPENDS=	libtag.so:audio/taglib \
86
TAGLIB_LIB_DEPENDS=	libtag.so:audio/taglib \
85
			libtag-extras.so:audio/taglib-extras
87
			libtag-extras.so:audio/taglib-extras
(-)audio/carla/Makefile (-2 / +2 lines)
Lines 18-29 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyliblo>0:audio/py-pyliblo@${PY_FLAVOR} Link Here
18
CONFLICTS_BUILD=	rtaudio-* rtmidi-*
18
CONFLICTS_BUILD=	rtaudio-* rtmidi-*
19
19
20
USES=		compiler:c++11-lib desktop-file-utils gmake localbase \
20
USES=		compiler:c++11-lib desktop-file-utils gmake localbase \
21
		pkgconfig pyqt:5 python:3.4+ shared-mime-info shebangfix tar:bz2
21
		pkgconfig pyqt:5 python:3.4+ qt:5 shared-mime-info shebangfix tar:bz2
22
USE_GITHUB=	yes
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	falkTX
23
GH_ACCOUNT=	falkTX
24
USE_PYQT=	core_run gui_run sip svg_run widgets_run xml_build  # "sip" should be "sip_build", but "import PyQt5.QtCore" wants "sip". See bug#225040
24
USE_PYQT=	core_run gui_run sip svg_run widgets_run xml_build  # "sip" should be "sip_build", but "import PyQt5.QtCore" wants "sip". See bug#225040
25
USE_GNOME=	gtk20 gtk30
25
USE_GNOME=	gtk20 gtk30
26
USE_QT5=	core gui widgets buildtools_build
26
USE_QT=		core gui widgets buildtools_build
27
USE_XORG=	x11
27
USE_XORG=	x11
28
USE_LDCONFIG=	${PREFIX}/lib/carla
28
USE_LDCONFIG=	${PREFIX}/lib/carla
29
SHEBANG_FILES=	data/carla-single source/native-plugins/resources/*
29
SHEBANG_FILES=	data/carla-single source/native-plugins/resources/*
(-)audio/clementine-player/Makefile (-2 / +2 lines)
Lines 36-48 USES= cmake \ Link Here
36
		desktop-file-utils \
36
		desktop-file-utils \
37
		gettext-tools \
37
		gettext-tools \
38
		pkgconfig \
38
		pkgconfig \
39
		sqlite
39
		qt:4 sqlite
40
40
41
USE_GL=		gl glew glu
41
USE_GL=		gl glew glu
42
USE_XORG=	x11
42
USE_XORG=	x11
43
43
44
CONFLICTS_BUILD=	qt-3.*
44
CONFLICTS_BUILD=	qt-3.*
45
USE_QT4=	corelib \
45
USE_QT=		corelib \
46
		dbus \
46
		dbus \
47
		gui \
47
		gui \
48
		imageformats \
48
		imageformats \
(-)audio/creox/Makefile (-2 / +2 lines)
Lines 18-26 USE_GITHUB= yes Link Here
18
GH_ACCOUNT=	laudrup
18
GH_ACCOUNT=	laudrup
19
GH_PROJECT=	Creox4
19
GH_PROJECT=	Creox4
20
20
21
USES=		cmake:outsource kde:4
21
USES=		cmake:outsource kde:4 qt:4
22
USE_KDE=	automoc4 kdelibs
22
USE_KDE=	automoc4 kdelibs
23
USE_QT4=	moc_build qmake_build rcc_build uic_build
23
USE_QT=		moc_build qmake_build rcc_build uic_build
24
USE_XORG=	xft xpm
24
USE_XORG=	xft xpm
25
USE_CXXSTD=	gnu++98
25
USE_CXXSTD=	gnu++98
26
26
(-)audio/cueplayer/Makefile (-2 / +2 lines)
Lines 14-21 LICENSE= GPLv3 Link Here
14
14
15
LIB_DEPENDS=	libnotify.so:devel/libnotify
15
LIB_DEPENDS=	libnotify.so:devel/libnotify
16
16
17
USES=		pkgconfig qmake
17
USES=		pkgconfig qmake qt:4
18
USE_QT4=	gui xml uic_build moc_build rcc_build network
18
USE_QT=		gui xml uic_build moc_build rcc_build network
19
USE_GSTREAMER=	flac good dvd lame ugly ffmpeg taglib ogg vorbis soup libmms wavpack
19
USE_GSTREAMER=	flac good dvd lame ugly ffmpeg taglib ogg vorbis soup libmms wavpack
20
USE_XORG=	x11
20
USE_XORG=	x11
21
21
(-)audio/dream/Makefile (-2 / +2 lines)
Lines 16-23 LIB_DEPENDS= libhamlib.so:comms/hamlib\ Link Here
16
		libqwt.so:x11-toolkits/qwt5\
16
		libqwt.so:x11-toolkits/qwt5\
17
		libfftw3.so:math/fftw3
17
		libfftw3.so:math/fftw3
18
18
19
USES=		gmake pkgconfig qmake
19
USES=		gmake pkgconfig qmake qt:4
20
USE_QT4=	qmake_build moc_build uic_build corelib gui network rcc webkit
20
USE_QT=		qmake_build moc_build uic_build corelib gui network rcc webkit
21
WRKSRC=		${WRKDIR}/${PORTNAME}
21
WRKSRC=		${WRKDIR}/${PORTNAME}
22
22
23
OPTIONS_DEFINE=		SNDFILE OGG VORBIS FLAC OPUS SPEEX FAAD FAAC
23
OPTIONS_DEFINE=		SNDFILE OGG VORBIS FLAC OPUS SPEEX FAAD FAAC
(-)audio/drumstick/Makefile (-2 / +2 lines)
Lines 15-22 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth
15
LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth
16
RUN_DEPENDS=	${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2:audio/fluid-soundfont
16
RUN_DEPENDS=	${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2:audio/fluid-soundfont
17
17
18
USES=		cmake:outsource pkgconfig shared-mime-info tar:bz2
18
USES=		cmake:outsource pkgconfig qt:5 shared-mime-info tar:bz2
19
USE_QT5=	core gui network svg testlib widgets buildtools_build qmake_build
19
USE_QT=		core gui network svg testlib widgets buildtools_build qmake_build
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
21
22
OPTIONS_DEFINE=		PULSEAUDIO MANPAGES
22
OPTIONS_DEFINE=		PULSEAUDIO MANPAGES
(-)audio/dsbmixer/Makefile (-2 / +2 lines)
Lines 13-22 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
13
13
14
RUN_DEPENDS=	dsbwrtsysctl:sysutils/dsbwrtsysctl
14
RUN_DEPENDS=	dsbwrtsysctl:sysutils/dsbwrtsysctl
15
15
16
USES=		tar:tgz qmake
16
USES=		qt:5 tar:tgz qmake
17
17
18
USE_GL=		gl
18
USE_GL=		gl
19
USE_QT5=	buildtools_build core gui linguisttools_build widgets
19
USE_QT=		buildtools_build core gui linguisttools_build widgets
20
20
21
QMAKE_ARGS=	PORTS=1
21
QMAKE_ARGS=	PORTS=1
22
22
(-)audio/dssi/Makefile (-2 / +2 lines)
Lines 37-44 OPTIONS_DEFINE= DOCS EXAMPLES QT4 Link Here
37
OPTIONS_DEFAULT=QT4
37
OPTIONS_DEFAULT=QT4
38
OPTIONS_SUB=	yes
38
OPTIONS_SUB=	yes
39
39
40
QT4_USE=	QT4=corelib,gui,moc_build
40
QT4_USES=	qmake:no_env qt:4
41
QT_NONSTANDARD=	yes
41
QT4_USE=	QT=corelib,gui,moc_build
42
42
43
post-patch:
43
post-patch:
44
	@${REINPLACE_CMD} -e \
44
	@${REINPLACE_CMD} -e \
(-)audio/esperanza/Makefile (-3 / +2 lines)
Lines 18-27 LIB_DEPENDS= libxmmsclient++.so:audio/cpp-xmms2 Link Here
18
18
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}+git${PORTVERSION:E}
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}+git${PORTVERSION:E}
20
20
21
USE_QT4=	gui xml network imageformats_run \
21
USE_QT=		gui xml network imageformats_run \
22
		qmake_build moc_build rcc_build uic_build
22
		qmake_build moc_build rcc_build uic_build
23
QT_NONSTANDARD=	yes
23
USES=		gmake pkgconfig qmake:no_env qt:4 tar:bzip2
24
USES=		gmake pkgconfig tar:bzip2
25
HAS_CONFIGURE=	yes
24
HAS_CONFIGURE=	yes
26
CONFIGURE_ARGS=	--prefix=${PREFIX} --disable-growl
25
CONFIGURE_ARGS=	--prefix=${PREFIX} --disable-growl
27
MAKE_ARGS=	INSTALL_ROOT="${STAGEDIR}"
26
MAKE_ARGS=	INSTALL_ROOT="${STAGEDIR}"
(-)audio/flacon/Makefile (-2 / +2 lines)
Lines 13-21 LICENSE= LGPL21 Link Here
13
13
14
LIB_DEPENDS=	libuchardet.so:textproc/uchardet
14
LIB_DEPENDS=	libuchardet.so:textproc/uchardet
15
15
16
USES=		cmake desktop-file-utils pkgconfig
16
USES=		cmake desktop-file-utils pkgconfig qt:5
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
USE_QT5=	buildtools_build concurrent_build qmake_build \
18
USE_QT=		buildtools_build concurrent_build qmake_build \
19
		linguisttools_build core gui network widgets
19
		linguisttools_build core gui network widgets
20
20
21
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)audio/fmit/Makefile (-2 / +2 lines)
Lines 16-25 LICENSE= GPLv2 Link Here
16
LIB_DEPENDS=	libfftw3.so:math/fftw3
16
LIB_DEPENDS=	libfftw3.so:math/fftw3
17
17
18
USE_XORG=	xmu
18
USE_XORG=	xmu
19
USE_QT4=	corelib gui opengl \
19
USE_QT=		corelib gui opengl \
20
		linguist_build moc_build qmake_build rcc_build uic_build
20
		linguist_build moc_build qmake_build rcc_build uic_build
21
USE_GL=		glut
21
USE_GL=		glut
22
USES=		cmake pkgconfig tar:bzip2
22
USES=		cmake pkgconfig qt:4 tar:bzip2
23
INSTALLS_ICONS=	yes
23
INSTALLS_ICONS=	yes
24
24
25
OPTIONS_DEFINE=	ALSA JACK OSS PORTAUDIO
25
OPTIONS_DEFINE=	ALSA JACK OSS PORTAUDIO
(-)audio/guidolib/Makefile (-2 / +2 lines)
Lines 13-22 LICENSE= MPL20 Link Here
13
13
14
BUILD_DEPENDS=	cmake:devel/cmake
14
BUILD_DEPENDS=	cmake:devel/cmake
15
15
16
USES=		gmake pkgconfig
16
USES=		gmake pkgconfig qt:5
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	grame-cncm
18
GH_ACCOUNT=	grame-cncm
19
USE_QT5=	core gui widgets printsupport xml buildtools_build qmake_build
19
USE_QT=		core gui widgets printsupport xml buildtools_build qmake_build
20
USE_GL=		gl
20
USE_GL=		gl
21
USE_GNOME=	cairo
21
USE_GNOME=	cairo
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
(-)audio/hydrogen/Makefile (-2 / +2 lines)
Lines 16-23 LIB_DEPENDS= libsndfile.so:audio/libsndfile \ Link Here
16
USE_GITHUB=	yes
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	hydrogen-music
17
GH_ACCOUNT=	hydrogen-music
18
18
19
USES=		cmake compiler:c++11-lang desktop-file-utils pkgconfig
19
USES=		cmake compiler:c++11-lang desktop-file-utils pkgconfig qt:4
20
USE_QT4=	qmake_build moc_build rcc_build uic_build corelib \
20
USE_QT=		qmake_build moc_build rcc_build uic_build corelib \
21
		gui network xml xmlpatterns
21
		gui network xml xmlpatterns
22
22
23
OPTIONS_SINGLE=		EXPORT
23
OPTIONS_SINGLE=		EXPORT
(-)audio/jalv/Makefile (-3 / +2 lines)
Lines 23-35 LIB_DEPENDS= liblilv-0.so:audio/lilv \ Link Here
23
		libfontconfig.so:x11-fonts/fontconfig \
23
		libfontconfig.so:x11-fonts/fontconfig \
24
		libfreetype.so:print/freetype2
24
		libfreetype.so:print/freetype2
25
25
26
USES=		compiler:c++11-lang waf tar:bz2 pkgconfig
26
USES=		compiler:c++11-lang qmake:no_configure,no_env qt:5 waf tar:bz2 pkgconfig
27
CONFIGURE_ARGS=	--no-qt4
27
CONFIGURE_ARGS=	--no-qt4
28
USE_CXXSTD=	c++11
28
USE_CXXSTD=	c++11
29
USE_QT5=	core gui widgets buildtools_build
29
USE_QT=		core gui widgets buildtools_build
30
USE_GNOME=	atk atkmm cairo cairomm pango pangomm libsigc++20 \
30
USE_GNOME=	atk atkmm cairo cairomm pango pangomm libsigc++20 \
31
		gdkpixbuf2 glib20 glibmm  gtk20 gtk30 gtkmm24
31
		gdkpixbuf2 glib20 glibmm  gtk20 gtk30 gtkmm24
32
QT_NONSTANDARD=	yes
33
32
34
post-patch:
33
post-patch:
35
		@${REINPLACE_CMD} 's|$${MANDIR}|${MAN1PREFIX}/man|' \
34
		@${REINPLACE_CMD} 's|$${MANDIR}|${MAN1PREFIX}/man|' \
(-)audio/juk-kde4/Makefile (-2 / +2 lines)
Lines 13-21 LICENSE= GPLv2 Link Here
13
13
14
LIB_DEPENDS=	libtag.so:audio/taglib
14
LIB_DEPENDS=	libtag.so:audio/taglib
15
15
16
USES=		cmake:outsource kde:4 tar:xz
16
USES=		cmake:outsource kde:4 qt:4 tar:xz
17
USE_KDE=	automoc4 kdelibs
17
USE_KDE=	automoc4 kdelibs
18
USE_QT4=	moc_build qmake_build rcc_build uic_build
18
USE_QT=		moc_build qmake_build rcc_build uic_build
19
19
20
CMAKE_ARGS=	-DWITH_TunePimp:BOOL=OFF
20
CMAKE_ARGS=	-DWITH_TunePimp:BOOL=OFF
21
21
(-)audio/juk/Makefile (-2 / +2 lines)
Lines 12-23 LICENSE= GPLv2 Link Here
12
12
13
LIB_DEPENDS=	libtag.so:audio/taglib
13
LIB_DEPENDS=	libtag.so:audio/taglib
14
14
15
USES=		cmake:outsource kde:5 tar:xz
15
USES=		cmake:outsource kde:5 qt:5 tar:xz
16
USE_KDE=	auth bookmarks codecs completion config configwidgets \
16
USE_KDE=	auth bookmarks codecs completion config configwidgets \
17
		coreaddons crash globalaccel i18n iconthemes itemviews \
17
		coreaddons crash globalaccel i18n iconthemes itemviews \
18
		jobwidgets kio notifications service solid sonnet textwidgets \
18
		jobwidgets kio notifications service solid sonnet textwidgets \
19
		wallet widgetsaddons windowsystem xmlgui
19
		wallet widgetsaddons windowsystem xmlgui
20
USE_QT5=	core dbus gui network phonon4 svg widgets xml \
20
USE_QT=		core dbus gui network phonon4 svg widgets xml \
21
		buildtools_build qmake_build
21
		buildtools_build qmake_build
22
22
23
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)audio/kid3-kde4/Makefile (-7 / +8 lines)
Lines 36-59 PLIST_SUB+= QT="" KDE="@comment " Link Here
36
.  if ${PKGNAMESUFFIX} == "-qt5"
36
.  if ${PKGNAMESUFFIX} == "-qt5"
37
# Qt 5 only
37
# Qt 5 only
38
CONFLICTS_INSTALL=	kid3-3.* kid3-qt4-3.*
38
CONFLICTS_INSTALL=	kid3-3.* kid3-qt4-3.*
39
39
USES+=		qt:5
40
USE_QT5=	core dbus gui multimedia network testlib xml widgets \
40
USE_QT=		core dbus gui multimedia network testlib xml widgets \
41
		buildtools_build linguisttools_build qmake_build
41
		buildtools_build linguisttools_build qmake_build
42
CMAKE_ARGS+=	-DWITH_QT5=true
42
CMAKE_ARGS+=	-DWITH_QT5=true
43
OPTIONS_EXCLUDE=PHONON
43
OPTIONS_EXCLUDE=PHONON
44
.  elif ${PKGNAMESUFFIX} == "-qt4"
44
.  elif ${PKGNAMESUFFIX} == "-qt4"
45
# Qt 4 only
45
# Qt 4 only
46
CONFLICTS_INSTALL=	kid3-3.* kid3-qt5-3.*
46
CONFLICTS_INSTALL=	kid3-3.* kid3-qt5-3.*
47
47
USES+=		qt:4
48
USE_QT4=	corelib dbus gui network xml \
48
USE_QT=		corelib dbus gui network xml \
49
		qmake_build moc_build rcc_build uic_build \
49
		qmake_build moc_build rcc_build uic_build \
50
		linguisttools_build
50
		linguisttools_build
51
.  endif
51
.  endif
52
.else
52
.else
53
# KDE 4 only
53
# KDE 4 only
54
CONFLICTS_INSTALL=	kid3-qt4-3.* kid3-qt5-3.*
54
CONFLICTS_INSTALL=	kid3-qt4-3.* kid3-qt5-3.*
55
55
USES+=		qt:4
56
USE_QT4=	corelib dbus gui network svg xml \
56
USE_QT=		corelib dbus gui network svg xml \
57
		qmake_build moc_build rcc_build uic_build \
57
		qmake_build moc_build rcc_build uic_build \
58
		linguisttools_build
58
		linguisttools_build
59
USE_KDE=	kdelibs automoc4
59
USE_KDE=	kdelibs automoc4
Lines 81-87 MP3_CMAKE_BOOL= WITH_ID3LIB Link Here
81
MP4_LIB_DEPENDS=	libmp4v2.so:multimedia/mp4v2
81
MP4_LIB_DEPENDS=	libmp4v2.so:multimedia/mp4v2
82
MP4_CMAKE_BOOL=		WITH_MP4V2
82
MP4_CMAKE_BOOL=		WITH_MP4V2
83
83
84
PHONON_USE=		QT4=phonon
84
PHONON_USES=	qt:4
85
PHONON_USE=		QT=phonon
85
PHONON_CMAKE_BOOL=	WITH_PHONON
86
PHONON_CMAKE_BOOL=	WITH_PHONON
86
87
87
TAGLIB_DESC=		Various audio formats support via Taglib
88
TAGLIB_DESC=		Various audio formats support via Taglib
(-)audio/kio-audiocd-kde4/Makefile (-2 / +2 lines)
Lines 16-25 LIB_DEPENDS= libFLAC.so:audio/flac \ Link Here
16
		libogg.so:audio/libogg \
16
		libogg.so:audio/libogg \
17
		libvorbis.so:audio/libvorbis
17
		libvorbis.so:audio/libvorbis
18
18
19
USES=		cmake:outsource kde:4 tar:xz
19
USES=		cmake:outsource kde:4 qt:4 tar:xz
20
USE_KDE=	kdelibs libkcddb libkcompactdisc \
20
USE_KDE=	kdelibs libkcddb libkcompactdisc \
21
		automoc4
21
		automoc4
22
USE_QT4=	moc_build qmake_build rcc_build uic_build
22
USE_QT=		moc_build qmake_build rcc_build uic_build
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
24
25
OPTIONS_DEFINE=	LAME
25
OPTIONS_DEFINE=	LAME
(-)audio/kmix-kde4/Makefile (-2 / +2 lines)
Lines 11-19 COMMENT= Sound mixer for KDE Link Here
11
11
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
13
14
USES=		cmake:outsource kde:4 tar:xz
14
USES=		cmake:outsource kde:4 qt:4 tar:xz
15
USE_KDE=	automoc4 kdelibs
15
USE_KDE=	automoc4 kdelibs
16
USE_QT4=	gui phonon xml \
16
USE_QT=		gui phonon xml \
17
		moc_build qmake_build rcc_build uic_build
17
		moc_build qmake_build rcc_build uic_build
18
18
19
OPTIONS_DEFINE=	ALSA PULSEAUDIO
19
OPTIONS_DEFINE=	ALSA PULSEAUDIO
(-)audio/kmix/Makefile (-2 / +2 lines)
Lines 11-22 LICENSE= GPLv2 Link Here
11
11
12
LIB_DEPENDS=	libasound.so:audio/alsa-lib
12
LIB_DEPENDS=	libasound.so:audio/alsa-lib
13
13
14
USES=		cmake:outsource gettext kde:5 tar:xz
14
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
15
USE_KDE=	auth codecs config configwidgets coreaddons dbusaddons ecm \
15
USE_KDE=	auth codecs config configwidgets coreaddons dbusaddons ecm \
16
		emoticons globalaccel i18n iconthemes init itemmodels \
16
		emoticons globalaccel i18n iconthemes init itemmodels \
17
		itemviews kcmutils kdelibs4support notifications package \
17
		itemviews kcmutils kdelibs4support notifications package \
18
		plasma-framework service solid widgetsaddons windowsystem xmlgui
18
		plasma-framework service solid widgetsaddons windowsystem xmlgui
19
USE_QT5=	core dbus gui widgets xml \
19
USE_QT=		core dbus gui widgets xml \
20
		buildtools_build qmake_build
20
		buildtools_build qmake_build
21
21
22
# we want the KF5 version of kmix
22
# we want the KF5 version of kmix
(-)audio/kscd-kde4/Makefile (-2 / +2 lines)
Lines 13-21 LICENSE= GPLv2 Link Here
13
13
14
LIB_DEPENDS=	libmusicbrainz3.so:audio/libmusicbrainz3
14
LIB_DEPENDS=	libmusicbrainz3.so:audio/libmusicbrainz3
15
15
16
USES=		cmake:outsource kde:4 tar:xz
16
USES=		cmake:outsource kde:4 qt:4 tar:xz
17
USE_KDE=	kdelibs automoc4
17
USE_KDE=	kdelibs automoc4
18
USE_QT4=	phonon moc_build qmake_build rcc_build uic_build
18
USE_QT=		phonon moc_build qmake_build rcc_build uic_build
19
19
20
OPTIONS_DEFINE=	ALSA
20
OPTIONS_DEFINE=	ALSA
21
21
(-)audio/kstreamripper/Makefile (-2 / +2 lines)
Lines 12-20 COMMENT= Program for recording streams for KDE4 Link Here
12
12
13
RUN_DEPENDS=	${LOCALBASE}/bin/streamripper:audio/streamripper
13
RUN_DEPENDS=	${LOCALBASE}/bin/streamripper:audio/streamripper
14
14
15
USES=		cmake gettext-tools kde:4 tar:bzip2
15
USES=		cmake gettext-tools kde:4 qt:4 tar:bzip2
16
USE_KDE=	kdelibs automoc4
16
USE_KDE=	kdelibs automoc4
17
USE_QT4=	qmake_build moc_build rcc_build uic_build
17
USE_QT=		qmake_build moc_build rcc_build uic_build
18
18
19
WRKSRC=		${WRKDIR}/${PORTNAME}
19
WRKSRC=		${WRKDIR}/${PORTNAME}
20
20
(-)audio/kwave/Makefile (-2 / +2 lines)
Lines 19-30 LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ Link Here
19
		libvorbisenc.so:audio/libvorbis
19
		libvorbisenc.so:audio/libvorbis
20
20
21
USES=		cmake:outsource desktop-file-utils gettext kde:5 \
21
USES=		cmake:outsource desktop-file-utils gettext kde:5 \
22
		localbase:ldflags pkgconfig tar:xz
22
		localbase:ldflags pkgconfig qt:5 tar:xz
23
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
23
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
24
		coreaddons crash dbusaddons ecm i18n iconthemes itemviews \
24
		coreaddons crash dbusaddons ecm i18n iconthemes itemviews \
25
		jobwidgets kio service solid sonnet textwidgets widgetsaddons \
25
		jobwidgets kio service solid sonnet textwidgets widgetsaddons \
26
		xmlgui
26
		xmlgui
27
USE_QT5=	concurrent core dbus gui multimedia network widgets xml \
27
USE_QT=		concurrent core dbus gui multimedia network widgets xml \
28
		buildtools_build qmake_build
28
		buildtools_build qmake_build
29
29
30
OPTIONS_GROUP=			AUDIOPLUGIN
30
OPTIONS_GROUP=			AUDIOPLUGIN
(-)audio/lastfm-desktop/Makefile (-3 / +4 lines)
Lines 21-28 LIB_DEPENDS= liblastfm.so:audio/liblastfm \ Link Here
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	lastfm
22
GH_ACCOUNT=	lastfm
23
23
24
USES=		gettext pkgconfig qmake gmake
24
USES=		gettext pkgconfig qmake gmake qt:4
25
USE_QT4=	corelib dbus gui linguist_build moc_build network phonon \
25
USE_QT=		corelib dbus gui linguist_build moc_build network phonon \
26
		rcc_build sql uic_build webkit xml
26
		rcc_build sql uic_build webkit xml
27
SUB_FILES=	lastfm-desktop.sh
27
SUB_FILES=	lastfm-desktop.sh
28
28
Lines 37-43 OPTIONS_SINGLE= PHONON Link Here
37
OPTIONS_SINGLE_PHONON=	GSTREAMER VLC
37
OPTIONS_SINGLE_PHONON=	GSTREAMER VLC
38
OPTIONS_DEFAULT=	VLC
38
OPTIONS_DEFAULT=	VLC
39
GSTREAMER_DESC=		Multimedia via Phonon-GStreamer
39
GSTREAMER_DESC=		Multimedia via Phonon-GStreamer
40
GSTREAMER_USE=		QT4=phonon-gst_run
40
GSTREAMER_USES=	qt:4
41
GSTREAMER_USE=		QT=phonon-gst_run
41
VLC_DESC=		Multimedia via Phonon-VLC
42
VLC_DESC=		Multimedia via Phonon-VLC
42
VLC_RUN_DEPENDS=	phonon-vlc-qt4>=0.6.1:multimedia/phonon-vlc@qt4
43
VLC_RUN_DEPENDS=	phonon-vlc-qt4>=0.6.1:multimedia/phonon-vlc@qt4
43
44
(-)audio/libechonest/Makefile (-3 / +3 lines)
Lines 21-31 OPTIONS_DEFINE= TEST Link Here
21
PLIST_SUB=	PORTVERSION=${PORTVERSION}
21
PLIST_SUB=	PORTVERSION=${PORTVERSION}
22
22
23
TEST_CMAKE_BOOL=ECHONEST_BUILD_TESTS
23
TEST_CMAKE_BOOL=ECHONEST_BUILD_TESTS
24
TEST_USE=	qt4=qtestlib_build,xml_build
24
TEST_USE=	qt=qtestlib_build,xml_build
25
25
26
USES=		cmake pkgconfig
26
USES=		cmake pkgconfig qt:4
27
USE_GITHUB=	yes
27
USE_GITHUB=	yes
28
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
29
USE_QT4=	corelib qmake_build moc_build network rcc_build
29
USE_QT=		corelib qmake_build moc_build network rcc_build
30
30
31
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)audio/libkcddb-kde4/Makefile (-2 / +2 lines)
Lines 11-19 COMMENT= KDE CDDB library Link Here
11
11
12
LIB_DEPENDS=	libmusicbrainz5.so:audio/libmusicbrainz5
12
LIB_DEPENDS=	libmusicbrainz5.so:audio/libmusicbrainz5
13
13
14
USES=		cmake:outsource kde:4 tar:xz
14
USES=		cmake:outsource kde:4 qt:4 tar:xz
15
USE_KDE=	automoc4 kdelibs
15
USE_KDE=	automoc4 kdelibs
16
USE_QT4=	qtestlib moc_build qmake_build rcc_build uic_build
16
USE_QT=		qtestlib moc_build qmake_build rcc_build uic_build
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
18
19
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)audio/libkcddb/Makefile (-2 / +2 lines)
Lines 9-19 COMMENT= KDE CDDB library Link Here
9
9
10
LIB_DEPENDS=	libmusicbrainz5.so:audio/libmusicbrainz5
10
LIB_DEPENDS=	libmusicbrainz5.so:audio/libmusicbrainz5
11
11
12
USES=		cmake:outsource gettext kde:5 tar:xz
12
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
13
USE_KDE=	auth codecs completion config configwidgets \
13
USE_KDE=	auth codecs completion config configwidgets \
14
		coreaddons ecm i18n jobwidgets kio service \
14
		coreaddons ecm i18n jobwidgets kio service \
15
		widgetsaddons
15
		widgetsaddons
16
USE_QT5=	core gui network widgets xml \
16
USE_QT=		core gui network widgets xml \
17
		buildtools_build qmake_build
17
		buildtools_build qmake_build
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
19
(-)audio/libkcompactdisc-kde4/Makefile (-2 / +2 lines)
Lines 9-17 CATEGORIES= audio kde kde-kde4 Link Here
9
MAINTAINER=	kde@FreeBSD.org
9
MAINTAINER=	kde@FreeBSD.org
10
COMMENT=	KDE library for interfacing with audio CDs
10
COMMENT=	KDE library for interfacing with audio CDs
11
11
12
USES=		cmake:outsource kde:4 tar:xz
12
USES=		cmake:outsource kde:4 qt:4 tar:xz
13
USE_KDE=	automoc4 kdelibs
13
USE_KDE=	automoc4 kdelibs
14
USE_QT4=	phonon moc_build qmake_build rcc_build uic_build
14
USE_QT=		phonon moc_build qmake_build rcc_build uic_build
15
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
16
16
17
OPTIONS_DEFINE=	ALSA
17
OPTIONS_DEFINE=	ALSA
(-)audio/libkcompactdisc/Makefile (-2 / +2 lines)
Lines 8-17 CATEGORIES= audio kde kde-applications Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	KDE library for interfacing with audio CDs
9
COMMENT=	KDE library for interfacing with audio CDs
10
10
11
USES=		cmake:outsource gettext kde:5 tar:xz
11
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
12
USE_KDE=	coreaddons ecm emoticons i18n itemmodels itemviews \
12
USE_KDE=	coreaddons ecm emoticons i18n itemmodels itemviews \
13
		kdelibs4support solid
13
		kdelibs4support solid
14
USE_QT5=	core dbus phonon4\
14
USE_QT=		core dbus phonon4\
15
		buildtools_build qmake_build
15
		buildtools_build qmake_build
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
17
(-)audio/liblastfm/Makefile (-5 / +8 lines)
Lines 13-30 COMMENT= Qt C++ library for the Last.fm webservices Link Here
13
LICENSE=	GPLv3+
13
LICENSE=	GPLv3+
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
15
16
USES=		cmake pkgconfig
16
USES=		cmake pkgconfig 
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	lastfm
18
GH_ACCOUNT=	lastfm
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
20
21
SLAVE?=		qt4
21
SLAVE?=		qt4
22
.if ${SLAVE} == qt4
22
.if ${SLAVE} == qt4
23
USE_QT4=	corelib dbus network sql xml \
23
USES+=		qt:4
24
USE_QT=		corelib dbus network sql xml \
24
		moc_build qmake_build rcc_build
25
		moc_build qmake_build rcc_build
25
CMAKE_ON+=	BUILD_WITH_QT4
26
CMAKE_ON+=	BUILD_WITH_QT4
26
.else
27
.else
27
USE_QT5=	core dbus network sql xml \
28
USES+=		qt:5
29
USE_QT=		core dbus network sql xml \
28
		buildtools_build qmake_build
30
		buildtools_build qmake_build
29
CMAKE_OFF+=	BUILD_WITH_QT4
31
CMAKE_OFF+=	BUILD_WITH_QT4
30
QTVER_SUFFIX=	5
32
QTVER_SUFFIX=	5
Lines 45-53 FINGERPRINT_BUILD_DEPENDS= ${NONEXISTENT}:math/fftw3:patch Link Here
45
FINGERPRINT_CMAKE_ON=	-DLIBFFTW3_INCLUDE_DIR:PATH=`${MAKE} -C ${PORTSDIR}/math/fftw3 -VWRKSRC`/api
47
FINGERPRINT_CMAKE_ON=	-DLIBFFTW3_INCLUDE_DIR:PATH=`${MAKE} -C ${PORTSDIR}/math/fftw3 -VWRKSRC`/api
46
48
47
.if ${SLAVE} == qt4
49
.if ${SLAVE} == qt4
48
TEST_USE=		QT4=qtestlib_build
50
TEST_USES=	qt:4 qt:5
51
TEST_USE=		QT=qtestlib_build
49
.else
52
.else
50
TEST_USE=		QT5=testlib_build
53
TEST_USE=		QT=testlib_build
51
.endif
54
.endif
52
TEST_CMAKE_BOOL=	BUILD_TESTS
55
TEST_CMAKE_BOOL=	BUILD_TESTS
53
TEST_TEST_TARGET=	test
56
TEST_TEST_TARGET=	test
(-)audio/lmms/Makefile (-2 / +2 lines)
Lines 34-44 OPTIONS_DEFAULT=OSS Link Here
34
34
35
USE_LDCONFIG=	yes
35
USE_LDCONFIG=	yes
36
USE_XORG=	x11 xext xft ice sm
36
USE_XORG=	x11 xext xft ice sm
37
USE_QT4=	corelib gui xml moc_build uic_build rcc_build \
37
USE_QT=		corelib gui xml moc_build uic_build rcc_build \
38
		qmake_build
38
		qmake_build
39
USE_GITHUB=	yes
39
USE_GITHUB=	yes
40
GH_ACCOUNT=	LMMS
40
GH_ACCOUNT=	LMMS
41
USES=		cmake desktop-file-utils dos2unix pkgconfig shared-mime-info
41
USES=		cmake desktop-file-utils dos2unix pkgconfig qt:4 shared-mime-info
42
CMAKE_ARGS=	-DWANT_ALSA:BOOL=OFF \
42
CMAKE_ARGS=	-DWANT_ALSA:BOOL=OFF \
43
		-DWANT_CALF:BOOL=OFF \
43
		-DWANT_CALF:BOOL=OFF \
44
		-DWANT_CAPS:BOOL=OFF \
44
		-DWANT_CAPS:BOOL=OFF \
(-)audio/midipp/Makefile (-2 / +4 lines)
Lines 25-31 OPTIONS_SINGLE_TOOLKIT= QT4 QT5 Link Here
25
OPTIONS_DEFAULT=	QT5
25
OPTIONS_DEFAULT=	QT5
26
26
27
TOOLKIT_DESC=	Qt toolkit
27
TOOLKIT_DESC=	Qt toolkit
28
QT4_USE=	${_USE_QT4:S/^/QT4=/}
28
QT4_USES=	qt:4
29
QT5_USE=	${_USE_QT5:S/^/QT5=/} GL=gl
29
QT4_USE=	${_USE_QT4:S/^/QT=/}
30
QT5_USES=	qt:5
31
QT5_USE=	${_USE_QT5:S/^/QT=/} GL=gl
30
32
31
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)audio/minitunes/Makefile (-2 / +2 lines)
Lines 12-19 COMMENT= Just another music player Link Here
12
12
13
LIB_DEPENDS=	libtag.so:audio/taglib
13
LIB_DEPENDS=	libtag.so:audio/taglib
14
14
15
USES=		qmake
15
USES=		qmake qt:4
16
USE_QT4=	dbus gui moc_build network phonon rcc_build \
16
USE_QT=		dbus gui moc_build network phonon rcc_build \
17
		sql uic_build xml
17
		sql uic_build xml
18
INSTALLS_ICONS=	yes
18
INSTALLS_ICONS=	yes
19
19
(-)audio/mixxx/Makefile (-2 / +2 lines)
Lines 33-40 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} Link Here
33
BROKEN_aarch64=		fails to compile: Exception("invalid machine type")
33
BROKEN_aarch64=		fails to compile: Exception("invalid machine type")
34
BROKEN_powerpc64=	fails to configure: unmet dependencies: Could not find libprotobuf, libchromaprint, libmp4, and libwavpack
34
BROKEN_powerpc64=	fails to configure: unmet dependencies: Could not find libprotobuf, libchromaprint, libmp4, and libwavpack
35
35
36
USES=		scons iconv pkgconfig
36
USES=		qt:4 scons iconv pkgconfig
37
USE_QT4=	corelib gui network opengl script scripttools sql sql-sqlite3 \
37
USE_QT=		corelib gui network opengl script scripttools sql sql-sqlite3 \
38
		svg testlib xml xmlpatterns linguisttools_build moc_build \
38
		svg testlib xml xmlpatterns linguisttools_build moc_build \
39
		qmake_build rcc_build uic_build
39
		qmake_build rcc_build uic_build
40
USE_GL=		gl glu
40
USE_GL=		gl glu
(-)audio/mixxx20/Makefile (-2 / +2 lines)
Lines 31-38 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} Link Here
31
BROKEN_aarch64=		fails to compile: Exception("invalid machine type")
31
BROKEN_aarch64=		fails to compile: Exception("invalid machine type")
32
BROKEN_powerpc64=	fails to configure: unmet dependencies: Could not find libprotobuf, libchromaprint, libmp4, and libwavpack
32
BROKEN_powerpc64=	fails to configure: unmet dependencies: Could not find libprotobuf, libchromaprint, libmp4, and libwavpack
33
33
34
USES=		scons iconv pkgconfig
34
USES=		qt:4 scons iconv pkgconfig
35
USE_QT4=	corelib gui network opengl script scripttools sql sql-sqlite3 \
35
USE_QT=		corelib gui network opengl script scripttools sql sql-sqlite3 \
36
		svg testlib xml xmlpatterns linguisttools_build moc_build \
36
		svg testlib xml xmlpatterns linguisttools_build moc_build \
37
		qmake_build rcc_build uic_build
37
		qmake_build rcc_build uic_build
38
USE_GL=		gl glu
38
USE_GL=		gl glu
(-)audio/mous/Makefile (-1 / +2 lines)
Lines 72-78 NCURSES_USE= ncurses Link Here
72
OSS_CMAKE_BOOL=		WITH_PLUGIN_OSS
72
OSS_CMAKE_BOOL=		WITH_PLUGIN_OSS
73
73
74
QT5_CMAKE_BOOL=		WITH_APP_QT5
74
QT5_CMAKE_BOOL=		WITH_APP_QT5
75
QT5_USE=		qt5=buildtools,core,gui,widgets,qmake_build
75
QT5_USES=		qt:5
76
QT5_USE=		qt=buildtools,core,gui,widgets,qmake_build
76
77
77
SNDIO_CMAKE_BOOL=	WITH_PLUGIN_SNDIO
78
SNDIO_CMAKE_BOOL=	WITH_PLUGIN_SNDIO
78
SNDIO_LIB_DEPENDS=	libsndio.so:audio/sndio
79
SNDIO_LIB_DEPENDS=	libsndio.so:audio/sndio
(-)audio/mumble/Makefile (-3 / +4 lines)
Lines 21-33 LIB_DEPENDS+= libspeex.so:audio/speex \ Link Here
21
21
22
PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
22
PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
23
23
24
USES=		compiler cpe desktop-file-utils gmake pkgconfig qmake ssl
24
USES=		compiler cpe desktop-file-utils gmake pkgconfig qmake qt:4 ssl
25
USE_GITHUB=	yes
25
USE_GITHUB=	yes
26
GH_ACCOUNT=	mumble-voip
26
GH_ACCOUNT=	mumble-voip
27
GH_PROJECT=	mumble celt-0.7.0:mumble_celt_0_7 celt-0.11.0:mumble_celt_0_11
27
GH_PROJECT=	mumble celt-0.7.0:mumble_celt_0_7 celt-0.11.0:mumble_celt_0_11
28
GH_TAGNAME=	5a16cda:mumble_celt_0_7 e18de77:mumble_celt_0_11
28
GH_TAGNAME=	5a16cda:mumble_celt_0_7 e18de77:mumble_celt_0_11
29
GH_SUBDIR=	celt-0.7.0-src:mumble_celt_0_7 celt-0.11.0-src:mumble_celt_0_11
29
GH_SUBDIR=	celt-0.7.0-src:mumble_celt_0_7 celt-0.11.0-src:mumble_celt_0_11
30
USE_QT4=	gui svg iconengines_run xml sql network l10n \
30
USE_QT=		gui svg iconengines_run xml sql network l10n \
31
		linguist_build moc_build rcc_build uic_build \
31
		linguist_build moc_build rcc_build uic_build \
32
		opengl sql-sqlite3_run corelib
32
		opengl sql-sqlite3_run corelib
33
USE_LDCONFIG=	yes
33
USE_LDCONFIG=	yes
Lines 45-51 OPTIONS_DEFINE= DBUS BONJOUR PORTAUDIO Link Here
45
OPTIONS_DEFAULT=	DBUS
45
OPTIONS_DEFAULT=	DBUS
46
46
47
DBUS_VARS_OFF=	CONFIG+=no-dbus
47
DBUS_VARS_OFF=	CONFIG+=no-dbus
48
DBUS_USE=	QT4=dbus
48
DBUS_USES=	qt:4
49
DBUS_USE=	QT=dbus
49
50
50
BONJOUR_DESC=		Bonjour support
51
BONJOUR_DESC=		Bonjour support
51
BONJOUR_VARS_OFF=	CONFIG+=no-bonjour
52
BONJOUR_VARS_OFF=	CONFIG+=no-bonjour
(-)audio/murmur/Makefile (-5 / +5 lines)
Lines 17-24 LIB_DEPENDS= libprotobuf.so:devel/protobuf Link Here
17
17
18
USERS=		murmur
18
USERS=		murmur
19
GROUPS=		murmur
19
GROUPS=		murmur
20
USES=		compiler:c++11-lang qmake pkgconfig ssl
20
USES=		compiler:c++11-lang qmake pkgconfig qt:4 ssl
21
USE_QT4=	moc_build corelib network sql xml
21
USE_QT=		moc_build corelib network sql xml
22
22
23
USE_GITHUB=	YES
23
USE_GITHUB=	YES
24
GH_ACCOUNT=	mumble-voip
24
GH_ACCOUNT=	mumble-voip
Lines 46-52 CONFIG+= no-ice Link Here
46
.endif
46
.endif
47
47
48
.if ${PORT_OPTIONS:MDBUS}
48
.if ${PORT_OPTIONS:MDBUS}
49
USE_QT4+=	dbus
49
USE_QT+=	dbus
50
.else
50
.else
51
CONFIG+=	no-dbus
51
CONFIG+=	no-dbus
52
.endif
52
.endif
Lines 58-70 CONFIG+= no-bonjour Link Here
58
.endif
58
.endif
59
59
60
.if ${PORT_OPTIONS:MMYSQL}
60
.if ${PORT_OPTIONS:MMYSQL}
61
USE_QT4+=	sql-mysql
61
USE_QT+=	sql-mysql
62
.else
62
.else
63
CONFIG+=	no-sql-mysql
63
CONFIG+=	no-sql-mysql
64
.endif
64
.endif
65
65
66
.if ${PORT_OPTIONS:MSQLITE}
66
.if ${PORT_OPTIONS:MSQLITE}
67
USE_QT4+=	sql-sqlite3_run
67
USE_QT+=	sql-sqlite3_run
68
.else
68
.else
69
CONFIG+=	no-sqlite3_run
69
CONFIG+=	no-sqlite3_run
70
.endif
70
.endif
(-)audio/musescore/Makefile (-2 / +2 lines)
Lines 23-30 LIB_DEPENDS= libmp3lame.so:audio/lame \ Link Here
23
		libfreetype.so:print/freetype2
23
		libfreetype.so:print/freetype2
24
24
25
USES=		cmake:outsource compiler:c++11-lib desktop-file-utils \
25
USES=		cmake:outsource compiler:c++11-lib desktop-file-utils \
26
		pkgconfig shared-mime-info zip
26
		pkgconfig qt:5 shared-mime-info zip
27
USE_QT5=	core gui widgets opengl concurrent designer help network \
27
USE_QT=		core gui widgets opengl concurrent designer help network \
28
		scripttools qml quick svg sql printsupport testlib webkit \
28
		scripttools qml quick svg sql printsupport testlib webkit \
29
		xml xmlpatterns \
29
		xml xmlpatterns \
30
		buildtools_build linguisttools_build qmake_build uitools_build
30
		buildtools_build linguisttools_build qmake_build uitools_build
(-)audio/mythplugin-mythmusic/Makefile (-1 / +2 lines)
Lines 20-30 LIB_DEPENDS= libFLAC.so:audio/flac \ Link Here
20
		libvorbis.so:audio/libvorbis \
20
		libvorbis.so:audio/libvorbis \
21
		libmyth-29.so:multimedia/mythtv
21
		libmyth-29.so:multimedia/mythtv
22
22
23
USES=	qt:5
23
USE_GITHUB=	yes
24
USE_GITHUB=	yes
24
GH_ACCOUNT=	MythTV
25
GH_ACCOUNT=	MythTV
25
GH_PROJECT=	mythtv
26
GH_PROJECT=	mythtv
26
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
27
USE_QT5=	buildtools_build core gui qmake_build sql xml
28
USE_QT=		buildtools_build core gui qmake_build sql xml
28
29
29
HAS_CONFIGURE=	yes
30
HAS_CONFIGURE=	yes
30
CONFIGURE_ARGS=	--prefix="${PREFIX}" --disable-all \
31
CONFIGURE_ARGS=	--prefix="${PREFIX}" --disable-all \
(-)audio/openal-soft/Makefile (-1 / +2 lines)
Lines 35-41 CONFIG_DESC= Install configuration utility (needs Qt 4.x) Link Here
35
35
36
CONFIG_CMAKE_BOOL_OFF=	ALSOFT_NO_CONFIG_UTIL
36
CONFIG_CMAKE_BOOL_OFF=	ALSOFT_NO_CONFIG_UTIL
37
CONFIG_CMAKE_ON=	-DALSOFT_NO_QT5:BOOL=ON
37
CONFIG_CMAKE_ON=	-DALSOFT_NO_QT5:BOOL=ON
38
CONFIG_USE=		QT4=corelib,gui,qmake_build,moc_build,rcc_build,uic_build
38
CONFIG_USES=		qt:4
39
CONFIG_USE=		QT=corelib,gui,qmake_build,moc_build,rcc_build,uic_build
39
40
40
JACK_CMAKE_BOOL=	ALSOFT_REQUIRE_JACK ALSOFT_BACKEND_JACK
41
JACK_CMAKE_BOOL=	ALSOFT_REQUIRE_JACK ALSOFT_BACKEND_JACK
41
JACK_LIB_DEPENDS=	libjack.so:audio/jack
42
JACK_LIB_DEPENDS=	libjack.so:audio/jack
(-)audio/padthv1-lv2/Makefile (-2 / +2 lines)
Lines 17-28 LIB_DEPENDS= libfftw3.so:math/fftw3 \ Link Here
17
		libjack.so:audio/jack \
17
		libjack.so:audio/jack \
18
		liblo.so:audio/liblo
18
		liblo.so:audio/liblo
19
19
20
USES=		autoreconf gmake pkgconfig shared-mime-info
20
USES=		autoreconf gmake pkgconfig qt:5 shared-mime-info
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
USE_GITHUB=	yes
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	rncbc
23
GH_ACCOUNT=	rncbc
24
USE_GL=		gl
24
USE_GL=		gl
25
USE_QT5=	core gui widgets xml buildtools_build qmake_build
25
USE_QT=		core gui widgets xml buildtools_build qmake_build
26
26
27
PLIST_SUB=	SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} SHL1=${PORTVERSION:R:R}
27
PLIST_SUB=	SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} SHL1=${PORTVERSION:R:R}
28
28
(-)audio/pc-mixer/Makefile (-2 / +2 lines)
Lines 13-21 WRKSRC_SUBDIR= src-qt5 Link Here
13
MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
13
MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
14
14
15
MAKE_JOBS_UNSAFE=yes
15
MAKE_JOBS_UNSAFE=yes
16
USES=		qmake shebangfix tar:xz
16
USES=		qmake qt:5 shebangfix tar:xz
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
USE_QT5=	core gui network svg linguist \
18
USE_QT=		core gui network svg linguist \
19
		buildtools x11extras widgets multimedia
19
		buildtools x11extras widgets multimedia
20
USE_GL+=	gl
20
USE_GL+=	gl
21
21
(-)audio/plasma5-plasma-pa/Makefile (-2 / +2 lines)
Lines 11-21 LIB_DEPENDS= libcanberra.so:audio/libcanberra \ Link Here
11
		libpulse.so:audio/pulseaudio
11
		libpulse.so:audio/pulseaudio
12
12
13
USES=		cmake:outsource compiler:c++11-lib cpe gettext kde:5 \
13
USES=		cmake:outsource compiler:c++11-lib cpe gettext kde:5 \
14
		pkgconfig shebangfix tar:xz
14
		pkgconfig qt:5 shebangfix tar:xz
15
USE_GNOME=	gconf2
15
USE_GNOME=	gconf2
16
USE_KDE=	config configwidgets coreaddons ecm globalaccel i18n \
16
USE_KDE=	config configwidgets coreaddons ecm globalaccel i18n \
17
		kdeclarative package plasma-framework
17
		kdeclarative package plasma-framework
18
USE_QT5=	core dbus gui network qml quick widgets \
18
USE_QT=		core dbus gui network qml quick widgets \
19
		buildtools_build qmake_build
19
		buildtools_build qmake_build
20
20
21
SHEBANG_FILES=	data/plasmaVolumeDisableKMixAutostart.pl
21
SHEBANG_FILES=	data/plasmaVolumeDisableKMixAutostart.pl
(-)audio/polyphone/Makefile (-2 / +2 lines)
Lines 19-27 LIB_DEPENDS= libjack.so:audio/jack \ Link Here
19
		libstk-4.6.0.so:audio/stk \
19
		libstk-4.6.0.so:audio/stk \
20
		libvorbisfile.so:audio/libvorbis
20
		libvorbisfile.so:audio/libvorbis
21
21
22
USES=		compiler:c++11-lang desktop-file-utils pkgconfig qmake:outsource shared-mime-info zip
22
USES=		compiler:c++11-lang desktop-file-utils pkgconfig qmake:outsource qt:5 shared-mime-info zip
23
USE_GL=		gl
23
USE_GL=		gl
24
USE_QT5=	core concurrent gui network printsupport svg widgets buildtools_build qmake_build
24
USE_QT=		core concurrent gui network printsupport svg widgets buildtools_build qmake_build
25
USE_CXXSTD=	c++11
25
USE_CXXSTD=	c++11
26
QMAKE_ARGS=	DEFINES=USE_LOCAL_QCUSTOMPLOT
26
QMAKE_ARGS=	DEFINES=USE_LOCAL_QCUSTOMPLOT
27
CXXFLAGS+=	-D__UNIX_JACK__
27
CXXFLAGS+=	-D__UNIX_JACK__
(-)audio/qjackctl/Makefile (-3 / +3 lines)
Lines 14-24 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
14
14
15
LIB_DEPENDS=	libjack.so:audio/jack
15
LIB_DEPENDS=	libjack.so:audio/jack
16
16
17
USES=		autoreconf compiler:c++11-lib gmake localbase pkgconfig
17
USES=		autoreconf compiler:c++11-lib gmake localbase pkgconfig qt:5
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	rncbc
20
GH_ACCOUNT=	rncbc
21
USE_QT5=	core gui widgets x11extras xml buildtools_build linguisttools_build qmake_build
21
USE_QT=		core gui widgets x11extras xml buildtools_build linguisttools_build qmake_build
22
USE_GL=		gl
22
USE_GL=		gl
23
USE_CXXSTD=	c++11
23
USE_CXXSTD=	c++11
24
24
Lines 36-42 ALSA_CONFIGURE_ENABLE= alsa_seq Link Here
36
ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
36
ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
37
37
38
DBUS_CONFIGURE_ENABLE=	dbus
38
DBUS_CONFIGURE_ENABLE=	dbus
39
DBUS_USE=		QT5=dbus
39
DBUS_USE=		QT=dbus
40
40
41
PORTAUDIO_CONFIGURE_ENABLE=	portaudio
41
PORTAUDIO_CONFIGURE_ENABLE=	portaudio
42
PORTAUDIO_LIB_DEPENDS=	libportaudio.so:audio/portaudio
42
PORTAUDIO_LIB_DEPENDS=	libportaudio.so:audio/portaudio
(-)audio/qmidiarp/Makefile (-2 / +2 lines)
Lines 22-31 LIB_DEPENDS= libasound.so:audio/alsa-lib \ Link Here
22
PORTSCOUT=	limit:^qmidiarp
22
PORTSCOUT=	limit:^qmidiarp
23
23
24
USES=		autoreconf compiler:c++11-lib desktop-file-utils \
24
USES=		autoreconf compiler:c++11-lib desktop-file-utils \
25
		gmake localbase libtool pkgconfig
25
		gmake localbase libtool pkgconfig qt:5
26
USE_GITHUB=	yes
26
USE_GITHUB=	yes
27
GH_ACCOUNT=	emuse
27
GH_ACCOUNT=	emuse
28
USE_QT5=	core gui network widgets buildtools_build \
28
USE_QT=		core gui network widgets buildtools_build \
29
		linguisttools_build
29
		linguisttools_build
30
USE_CXXSTD=	c++11
30
USE_CXXSTD=	c++11
31
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
(-)audio/qmpdclient/Makefile (-4 / +6 lines)
Lines 13-20 COMMENT= Easy to use musicpd client written in Qt4 Link Here
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
15
16
USES=		qmake tar:bzip2
16
USES=		qmake qt:4 tar:bzip2
17
USE_QT4=	moc_build rcc_build uic_build \
17
USE_QT=		moc_build rcc_build uic_build \
18
		corelib gui network xml xmlpatterns
18
		corelib gui network xml xmlpatterns
19
INSTALLS_ICONS=	yes
19
INSTALLS_ICONS=	yes
20
20
Lines 25-34 WRKSRC= ${WRKDIR}/${PORTNAME} Link Here
25
25
26
OPTIONS_SUB=	yes
26
OPTIONS_SUB=	yes
27
27
28
NLS_USE=	QT4=linguisttools_build
28
NLS_USES=	qt:4
29
NLS_USE=	QT=linguisttools_build
29
30
30
DBUS_QMAKE_ON=	CONFIG+=qdbus
31
DBUS_QMAKE_ON=	CONFIG+=qdbus
31
DBUS_USE=	QT4=dbus
32
DBUS_USES=	qt:4
33
DBUS_USE=	QT=dbus
32
34
33
DEBUG_QMAKE_ON=	CONFIG+=debug
35
DEBUG_QMAKE_ON=	CONFIG+=debug
34
36
(-)audio/qsampler/Makefile (-6 / +7 lines)
Lines 19-25 RUN_DEPENDS= linuxsampler:audio/linuxsampler Link Here
19
LDFLAGS+=	-L${LOCALBASE}/lib
19
LDFLAGS+=	-L${LOCALBASE}/lib
20
20
21
USES=	autoreconf gmake pkgconfig shared-mime-info
21
USES=	autoreconf gmake pkgconfig shared-mime-info
22
QT_NONSTANDARD=	yes
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	ac_cv_path_ac_cv_qmake=${QMAKE} \
23
CONFIGURE_ENV=	ac_cv_path_ac_cv_qmake=${QMAKE} \
25
		ac_cv_path_ac_moc=${MOC} \
24
		ac_cv_path_ac_moc=${MOC} \
Lines 38-50 OPTIONS_DEFAULT= QT5 Link Here
38
37
39
TOOLKIT_DESC=	Qt toolkit
38
TOOLKIT_DESC=	Qt toolkit
40
39
41
QT4_USE=	qt4=corelib,gui \
40
QT4_USES=	qmake:no_env qt:4
42
		qt4=linguisttools_build \
41
QT4_USE=	qt=corelib,gui \
43
		qt4=moc_build,qmake_build,rcc_build,uic_build
42
		qt=linguisttools_build \
43
		qt=moc_build,qmake_build,rcc_build,uic_build
44
QT4_CONFIGURE_ENABLE=	qt4
44
QT4_CONFIGURE_ENABLE=	qt4
45
45
46
QT5_USE=	qt5=core,gui,widgets,x11extras \
46
QT5_USES=	qmake:no_env qt:5
47
		qt5=buildtools_build,linguisttools_build,qmake_build
47
QT5_USE=	qt=core,gui,widgets,x11extras \
48
		qt=buildtools_build,linguisttools_build,qmake_build
48
QT5_CONFIGURE_ENABLE=	qt5
49
QT5_CONFIGURE_ENABLE=	qt5
49
50
50
post-configure:
51
post-configure:
(-)audio/qsynth/Makefile (-2 / +2 lines)
Lines 15-23 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
15
16
LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth
16
LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth
17
17
18
USES=		autoreconf gmake pkgconfig
18
USES=		autoreconf gmake pkgconfig qt:5
19
USE_CXXSTD=	c++11
19
USE_CXXSTD=	c++11
20
USE_QT5=	core gui widgets x11extras buildtools_build linguisttools_build qmake_build
20
USE_QT=		core gui widgets x11extras buildtools_build linguisttools_build qmake_build
21
USE_GL=		gl
21
USE_GL=		gl
22
USE_GITHUB=	yes
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	rncbc
23
GH_ACCOUNT=	rncbc
(-)audio/quimup/Makefile (-2 / +2 lines)
Lines 18-25 LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \ Link Here
18
18
19
WRKSRC=		${WRKDIR}/Quimup_${PORTVERSION}
19
WRKSRC=		${WRKDIR}/Quimup_${PORTVERSION}
20
20
21
USES=		pkgconfig qmake compiler:c++11-lang
21
USES=		pkgconfig qmake compiler:c++11-lang qt:5
22
USE_QT5=	core gui network widgets buildtools_build
22
USE_QT=		core gui network widgets buildtools_build
23
USE_GL=		gl
23
USE_GL=		gl
24
24
25
CXXFLAGS+=	-std=c++11
25
CXXFLAGS+=	-std=c++11
(-)audio/rosegarden/Makefile (-6 / +7 lines)
Lines 34-46 OPTIONS_DEFAULT= QT4 Link Here
34
34
35
LIRC_LIB_DEPENDS=	liblirc_client.so:comms/lirc
35
LIRC_LIB_DEPENDS=	liblirc_client.so:comms/lirc
36
LIRC_CMAKE_ON=		-DENABLE_LIRC:BOOL=ON
36
LIRC_CMAKE_ON=		-DENABLE_LIRC:BOOL=ON
37
QT4_USE=		qt4=gui,network,testlib,xml \
37
QT4_USES=		qt:4
38
			qt4=linguisttools_build,moc_build,qmake_build \
38
QT4_USE=		qt=gui,network,testlib,xml \
39
			qt4=rcc_build,uic_build
39
			qt=linguisttools_build,moc_build,qmake_build \
40
			qt=rcc_build,uic_build
40
QT4_CMAKE_ON=		-DUSE_QT4:BOOL=ON
41
QT4_CMAKE_ON=		-DUSE_QT4:BOOL=ON
41
QT5_USES=		compiler:c++11-lib
42
QT5_USES=		compiler:c++11-lib qt:5
42
QT5_USE=		qt5=network,printsupport,testlib,widgets,xml \
43
QT5_USE=		qt=network,printsupport,testlib,widgets,xml \
43
			qt5=buildtools_build,linguisttools_build,qmake_build
44
			qt=buildtools_build,linguisttools_build,qmake_build
44
QT5_CMAKE_ON=		-DUSE_QT5:BOOL=ON
45
QT5_CMAKE_ON=		-DUSE_QT5:BOOL=ON
45
TOOLKIT_DESC=		Qt toolkit
46
TOOLKIT_DESC=		Qt toolkit
46
47
(-)audio/sayonara/Makefile (-2 / +2 lines)
Lines 18-27 LIB_DEPENDS= libtag.so:audio/taglib \ Link Here
18
		libmtp.so:multimedia/libmtp
18
		libmtp.so:multimedia/libmtp
19
19
20
USES=		cmake:outsource compiler:c++11-lib desktop-file-utils \
20
USES=		cmake:outsource compiler:c++11-lib desktop-file-utils \
21
		pkgconfig
21
		pkgconfig qt:5
22
USE_GNOME=	glib20
22
USE_GNOME=	glib20
23
USE_GSTREAMER1=	flac libav mpg123 ogg opus vorbis
23
USE_GSTREAMER1=	flac libav mpg123 ogg opus vorbis
24
USE_QT5=	dbus core gui network sql sql-sqlite3_run widgets xml \
24
USE_QT=		dbus core gui network sql sql-sqlite3_run widgets xml \
25
		buildtools_build qmake_build linguisttools_build
25
		buildtools_build qmake_build linguisttools_build
26
26
27
WRKSRC=		${WRKDIR}/${PORTNAME}-player
27
WRKSRC=		${WRKDIR}/${PORTNAME}-player
(-)audio/simon/Makefile (-2 / +2 lines)
Lines 17-25 LIB_DEPENDS= libasound.so:audio/alsa-lib \ Link Here
17
		libsphinxad.so:audio/sphinxbase \
17
		libsphinxad.so:audio/sphinxbase \
18
		libqwt6.so:x11-toolkits/qwt6@qt4
18
		libqwt6.so:x11-toolkits/qwt6@qt4
19
19
20
USES=		cmake:outsource gettext kde:4 tar:bz2
20
USES=		cmake:outsource gettext kde:4 qt:4 tar:bz2
21
USE_KDE=	kdelibs automoc4 pimlibs
21
USE_KDE=	kdelibs automoc4 pimlibs
22
USE_QT4=	accessible corelib dbus gui network script sql svg testlib xml \
22
USE_QT=		accessible corelib dbus gui network script sql svg testlib xml \
23
		moc_build qmake_build rcc_build uic_build
23
		moc_build qmake_build rcc_build uic_build
24
USE_XORG=	x11 xtst
24
USE_XORG=	x11 xtst
25
25
(-)audio/skype-call-recorder/Makefile (-2 / +2 lines)
Lines 15-22 LIB_DEPENDS= libmp3lame.so:audio/lame \ Link Here
15
		libid3.so:audio/id3lib \
15
		libid3.so:audio/id3lib \
16
		libvorbisenc.so:audio/libvorbis
16
		libvorbisenc.so:audio/libvorbis
17
17
18
USES=		cmake
18
USES=		cmake qt:4
19
USE_QT4=	corelib dbus gui network \
19
USE_QT=		corelib dbus gui network \
20
		qmake_build moc_build rcc_build uic_build
20
		qmake_build moc_build rcc_build uic_build
21
21
22
PLIST_FILES=	bin/skype-call-recorder \
22
PLIST_FILES=	bin/skype-call-recorder \
(-)audio/sonic-visualiser/Makefile (-2 / +2 lines)
Lines 21-30 LIB_DEPENDS= libfftw3.so:math/fftw3 \ Link Here
21
		libsord-0.so:devel/sord \
21
		libsord-0.so:devel/sord \
22
		libvamp-hostsdk.so:audio/vamp-plugin-sdk
22
		libvamp-hostsdk.so:audio/vamp-plugin-sdk
23
23
24
USES=	autoreconf desktop-file-utils pkgconfig
24
USES=	autoreconf desktop-file-utils pkgconfig qt:5
25
25
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
USE_QT5=	buildtools_build core gui network qmake_build testlib widgets xml
27
USE_QT=		buildtools_build core gui network qmake_build testlib widgets xml
28
USE_XORG=	x11
28
USE_XORG=	x11
29
USE_GL=		gl
29
USE_GL=		gl
30
30
(-)audio/soundkonverter/Makefile (-2 / +2 lines)
Lines 17-25 LIB_DEPENDS= libtag.so:audio/taglib \ Link Here
17
		libphonon.so:multimedia/phonon@qt4
17
		libphonon.so:multimedia/phonon@qt4
18
18
19
GH_ACCOUNT=	HessiJames
19
GH_ACCOUNT=	HessiJames
20
USES=		cmake compiler:c++11-lang kde:4
20
USES=		cmake compiler:c++11-lang kde:4 qt:4
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
USE_QT4=	corelib dbus gui network moc_build qmake_build rcc_build svg uic_build xml
22
USE_QT=		corelib dbus gui network moc_build qmake_build rcc_build svg uic_build xml
23
USE_KDE=	automoc4 kdelibs libkcddb
23
USE_KDE=	automoc4 kdelibs libkcddb
24
WRKSRC_SUBDIR=	src
24
WRKSRC_SUBDIR=	src
25
25
(-)audio/supercollider/Makefile (-2 / +2 lines)
Lines 20-28 LIB_DEPENDS= libavahi-client.so:net/avahi-app \ Link Here
20
		libsndfile.so:audio/libsndfile \
20
		libsndfile.so:audio/libsndfile \
21
		libfftw3f.so:math/fftw3-float
21
		libfftw3f.so:math/fftw3-float
22
22
23
USES=		cmake:outsource iconv localbase pkgconfig readline \
23
USES=		cmake:outsource iconv localbase pkgconfig qt:5 readline \
24
		shared-mime-info tar:bzip2
24
		shared-mime-info tar:bzip2
25
USE_QT5=	buildtools_build concurrent core gui linguisttools location \
25
USE_QT=		buildtools_build concurrent core gui linguisttools location \
26
		network opengl printsupport qmake_build qml quick sensors \
26
		network opengl printsupport qmake_build qml quick sensors \
27
		sql webkit widgets
27
		sql webkit widgets
28
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
(-)audio/synthpod-lv2/Makefile (-2 / +4 lines)
Lines 58-68 JACK_LIB_DEPENDS= libjack.so:audio/jack \ Link Here
58
JACK_CMAKE_OFF=	-DBUILD_JACK="OFF"
58
JACK_CMAKE_OFF=	-DBUILD_JACK="OFF"
59
KX_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_KX="ON"
59
KX_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_KX="ON"
60
KX_USE=		XORG=x11,xcb,xext GL=glu
60
KX_USE=		XORG=x11,xcb,xext GL=glu
61
QT4_USES=	qt:4
61
QT4_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_QT4="ON"
62
QT4_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_QT4="ON"
62
QT4_USE=	XORG=x11,xcb,xext GL=glu QT4=corelib,gui
63
QT4_USE=	XORG=x11,xcb,xext GL=glu QT=corelib,gui
64
QT5_USES=	qt:5
63
QT5_BROKEN=	Build fails: https://github.com/OpenMusicKontrollers/synthpod/issues/10
65
QT5_BROKEN=	Build fails: https://github.com/OpenMusicKontrollers/synthpod/issues/10
64
QT5_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_QT5="ON"
66
QT5_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_QT5="ON"
65
QT5_USE=	XORG=x11,xcb,xext GL=glu QT5=core,gui
67
QT5_USE=	XORG=x11,xcb,xext GL=glu QT=core,gui
66
SHOW_USE=	XORG=x11,xcb,xext GL=glu
68
SHOW_USE=	XORG=x11,xcb,xext GL=glu
67
SHOW_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_SHOW="ON"
69
SHOW_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_SHOW="ON"
68
X11_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_X11="ON"
70
X11_CMAKE_ON=	-DBUILD_UI="ON" -DBUILD_SANDBOX_X11="ON"
(-)audio/virtual_oss_ctl/Makefile (-2 / +2 lines)
Lines 14-20 LICENSE= BSD2CLAUSE Link Here
14
14
15
RUN_DEPENDS=	virtual_oss:audio/virtual_oss
15
RUN_DEPENDS=	virtual_oss:audio/virtual_oss
16
16
17
USES=		qmake tar:bzip2
17
USES=		qmake qt:4 tar:bzip2
18
USE_QT4=	corelib gui qmake_build moc_build rcc_build
18
USE_QT=		corelib gui qmake_build moc_build rcc_build
19
19
20
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)audio/vmpk/Makefile (-3 / +3 lines)
Lines 15-22 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
15
16
LIB_DEPENDS=	libdrumstick-rt.so:audio/drumstick
16
LIB_DEPENDS=	libdrumstick-rt.so:audio/drumstick
17
17
18
USES=		cmake:outsource pkgconfig tar:bz2
18
USES=		cmake:outsource pkgconfig qt:5 tar:bz2
19
USE_QT5=	core gui network svg widgets x11extras \
19
USE_QT=		core gui network svg widgets x11extras \
20
		buildtools_build linguisttools_build qmake_build
20
		buildtools_build linguisttools_build qmake_build
21
USE_XORG=	xcb
21
USE_XORG=	xcb
22
22
Lines 26-31 OPTIONS_DEFINE= DBUS Link Here
26
OPTIONS_SUB=		yes
26
OPTIONS_SUB=		yes
27
27
28
DBUS_CMAKE_BOOL=	ENABLE_DBUS
28
DBUS_CMAKE_BOOL=	ENABLE_DBUS
29
DBUS_USE=	qt5=dbus
29
DBUS_USE=	qt=dbus
30
30
31
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)biology/clustalx/Makefile (-2 / +2 lines)
Lines 12-19 COMMENT= Multiple alignment of nucleic acid and protein sequences with GUI Link Here
12
LICENSE=	LGPL3
12
LICENSE=	LGPL3
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
USES=		qmake
15
USES=		qmake qt:4
16
USE_QT4=	corelib gui moc qmake_build xml
16
USE_QT=		corelib gui moc qmake_build xml
17
17
18
PLIST_FILES=	bin/clustalx \
18
PLIST_FILES=	bin/clustalx \
19
		${DATADIR}/colprot.xml \
19
		${DATADIR}/colprot.xml \
(-)biology/ugene/Makefile (-2 / +2 lines)
Lines 20-28 RUN_DEPENDS= bash:shells/bash Link Here
20
20
21
BROKEN_aarch64=	Fails to build: invokes x86 asm
21
BROKEN_aarch64=	Fails to build: invokes x86 asm
22
22
23
USES=		desktop-file-utils qmake
23
USES=		desktop-file-utils qmake qt:5
24
USE_GL=		glu
24
USE_GL=		glu
25
USE_QT5=	buildtools_build linguisttools_build scripttools_build \
25
USE_QT=		buildtools_build linguisttools_build scripttools_build \
26
		gui network printsupport script sql svg webkit widgets xml \
26
		gui network printsupport script sql svg webkit widgets xml \
27
		imageformats_run
27
		imageformats_run
28
28
(-)cad/freecad/Makefile (-2 / +2 lines)
Lines 31-40 LIB_DEPENDS= libexpat.so:textproc/expat2 \ Link Here
31
RUN_DEPENDS=	pivy>0:graphics/py-pivy@${PY_FLAVOR}
31
RUN_DEPENDS=	pivy>0:graphics/py-pivy@${PY_FLAVOR}
32
32
33
USES=		dos2unix compiler:c++11-lib cmake:outsource eigen:3 fortran jpeg \
33
USES=		dos2unix compiler:c++11-lib cmake:outsource eigen:3 fortran jpeg \
34
		python:2.7 localbase
34
		python:2.7 localbase qt:4
35
USE_XORG=	ice sm x11 xext xt
35
USE_XORG=	ice sm x11 xext xt
36
USE_GL=		gl glu
36
USE_GL=		gl glu
37
USE_QT4=	qmake_build corelib gui moc_build network opengl rcc_build \
37
USE_QT=		qmake_build corelib gui moc_build network opengl rcc_build \
38
		uic_build svg xml webkit
38
		uic_build svg xml webkit
39
USE_LDCONFIG=	yes
39
USE_LDCONFIG=	yes
40
DOS2UNIX_GLOB=	*.txt *.h *.cpp *.py *.qss *.csv *.pov *.stp *.ui *.wrl *.WRL
40
DOS2UNIX_GLOB=	*.txt *.h *.cpp *.py *.qss *.csv *.pov *.stp *.ui *.wrl *.WRL
(-)cad/fritzing/Makefile (-2 / +2 lines)
Lines 14-21 LICENSE= GPLv2+ Link Here
14
14
15
SUB_FILES+=	pkg-install
15
SUB_FILES+=	pkg-install
16
16
17
USES=		dos2unix gmake python qmake tar:bzip2
17
USES=		dos2unix gmake python qmake qt:5 tar:bzip2
18
USE_QT5=	buildtools concurrent core dbus gui imageformats network printsupport qmake serialport sql-sqlite3 svg xml
18
USE_QT=		buildtools concurrent core dbus gui imageformats network printsupport qmake serialport sql-sqlite3 svg xml
19
DOS2UNIX_REGEX=	.*pro
19
DOS2UNIX_REGEX=	.*pro
20
INSTALLS_ICONS=	yes
20
INSTALLS_ICONS=	yes
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
(-)cad/klayout/Makefile (-2 / +2 lines)
Lines 11-19 COMMENT= Qt-based GDS2 Viewer Link Here
11
11
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
13
14
USES=		compiler:c++0x gmake python
14
USES=		compiler:c++0x gmake python qt:4
15
USE_RUBY=	yes
15
USE_RUBY=	yes
16
USE_QT4=	corelib designer gui network moc_build sql uic_build \
16
USE_QT=		corelib designer gui network moc_build sql uic_build \
17
		rcc_build qt3support xml
17
		rcc_build qt3support xml
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
PLIST_FILES=	bin/klayout \
19
PLIST_FILES=	bin/klayout \
(-)cad/layouteditor/Makefile (-2 / +2 lines)
Lines 16-23 LIB_DEPENDS= libttf.so:print/freetype Link Here
16
BROKEN_armv6=		fails to compile: no matching member function for call to 'map'
16
BROKEN_armv6=		fails to compile: no matching member function for call to 'map'
17
BROKEN_armv7=		fails to compile: no matching member function for call to 'map'
17
BROKEN_armv7=		fails to compile: no matching member function for call to 'map'
18
18
19
USES=		qmake zip
19
USES=		qmake qt:4 zip
20
USE_QT4=	corelib gui network moc_build sql uic_build \
20
USE_QT=		corelib gui network moc_build sql uic_build \
21
		rcc_build qt3support xml
21
		rcc_build qt3support xml
22
WRKSRC=		${WRKDIR}/layout
22
WRKSRC=		${WRKDIR}/layout
23
PLIST_FILES=	bin/layout
23
PLIST_FILES=	bin/layout
(-)cad/leocad/Makefile (-2 / +2 lines)
Lines 19-26 LIB_DEPENDS= libpng.so:graphics/png Link Here
19
19
20
WRKSRC=		${WRKDIR}/${PORTNAME}
20
WRKSRC=		${WRKDIR}/${PORTNAME}
21
21
22
USES=		desktop-file-utils gmake jpeg pkgconfig qmake shared-mime-info
22
USES=		desktop-file-utils gmake jpeg pkgconfig qmake qt:4 shared-mime-info
23
USE_QT4=	moc_build rcc_build uic_build iconengines_run imageformats_run \
23
USE_QT=		moc_build rcc_build uic_build iconengines_run imageformats_run \
24
		corelib gui network opengl
24
		corelib gui network opengl
25
USE_GL=		glut
25
USE_GL=		glut
26
USE_GNOME=	gtk20
26
USE_GNOME=	gtk20
(-)cad/librecad/Makefile (-2 / +2 lines)
Lines 15-26 BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs Link Here
15
LIB_DEPENDS=	libmuparser.so:math/muparser \
15
LIB_DEPENDS=	libmuparser.so:math/muparser \
16
		libfreetype.so:print/freetype2
16
		libfreetype.so:print/freetype2
17
17
18
USES=		compiler:c++11-lib desktop-file-utils pkgconfig qmake
18
USES=		compiler:c++11-lib desktop-file-utils pkgconfig qmake qt:5
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	LibreCAD
20
GH_ACCOUNT=	LibreCAD
21
GH_PROJECT=	LibreCAD
21
GH_PROJECT=	LibreCAD
22
USE_GL=		gl
22
USE_GL=		gl
23
USE_QT5=	core gui printsupport svg widgets \
23
USE_QT=		core gui printsupport svg widgets \
24
		buildtools_build linguisttools_build
24
		buildtools_build linguisttools_build
25
25
26
QMAKE_ARGS+=	BOOST_DIR="${LOCALBASE}"
26
QMAKE_ARGS+=	BOOST_DIR="${LOCALBASE}"
(-)cad/meshlab/Makefile (-2 / +2 lines)
Lines 22-31 EXTRACT_DEPENDS=gtar:archivers/gtar Link Here
22
LIB_DEPENDS=	libQtSolutions_SOAP-head.so:devel/qt4-qtsolutions-soap	\
22
LIB_DEPENDS=	libQtSolutions_SOAP-head.so:devel/qt4-qtsolutions-soap	\
23
		libmpir.so:math/mpir
23
		libmpir.so:math/mpir
24
24
25
USES=		compiler:c++11-lib dos2unix qmake tar:tgz
25
USES=		compiler:c++11-lib dos2unix qmake qt:4 tar:tgz
26
USE_CXXSTD=	c++11
26
USE_CXXSTD=	c++11
27
USE_GL=		glew glu
27
USE_GL=		glew glu
28
USE_QT4=	moc_build rcc_build uic_build corelib gui xml \
28
USE_QT=		moc_build rcc_build uic_build corelib gui xml \
29
		xmlpatterns opengl network script
29
		xmlpatterns opengl network script
30
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
31
DOS2UNIX_FILES=	external/structuresynth/ssynth/SyntopiaCore/GLEngine/Object3D.h \
31
DOS2UNIX_FILES=	external/structuresynth/ssynth/SyntopiaCore/GLEngine/Object3D.h \
(-)cad/openscad-devel/Makefile (-2 / +2 lines)
Lines 27-33 LIB_DEPENDS= libgmp.so:math/gmp \ Link Here
27
CONFLICTS=	openscad
27
CONFLICTS=	openscad
28
28
29
USES=		bison compiler:c++11-lang desktop-file-utils eigen:3 gettext-tools \
29
USES=		bison compiler:c++11-lang desktop-file-utils eigen:3 gettext-tools \
30
		pkgconfig python:run qmake shebangfix
30
		pkgconfig python:run qmake qt:4 shebangfix
31
USE_GITHUB=	yes
31
USE_GITHUB=	yes
32
GH_ACCOUNT=	openscad
32
GH_ACCOUNT=	openscad
33
GH_PROJECT=	openscad
33
GH_PROJECT=	openscad
Lines 35-41 GH_TAGNAME= 179074dff8c23cbc0e651ce8463737df0006f4ca Link Here
35
35
36
#SHEBANG_FILES=	libraries/MCAD/get_submodules.py
36
#SHEBANG_FILES=	libraries/MCAD/get_submodules.py
37
USE_GL=		glu glew
37
USE_GL=		glu glew
38
USE_QT4=	corelib gui opengl moc_build uic_build rcc_build
38
USE_QT=		corelib gui opengl moc_build uic_build rcc_build
39
PLIST_SUB=	PORTVERSION=${PORTVERSION}
39
PLIST_SUB=	PORTVERSION=${PORTVERSION}
40
QMAKE_ENV=	EIGENDIR=${LOCALBASE}/include/eigen3
40
QMAKE_ENV=	EIGENDIR=${LOCALBASE}/include/eigen3
41
QMAKE_ARGS+=	VERSION=${PORTVERSION} \
41
QMAKE_ARGS+=	VERSION=${PORTVERSION} \
(-)cad/openscad/Makefile (-2 / +2 lines)
Lines 26-35 LIB_DEPENDS= libgmp.so:math/gmp \ Link Here
26
CONFLICTS=      openscad-devel
26
CONFLICTS=      openscad-devel
27
27
28
USES=		bison compiler:c++11-lang desktop-file-utils eigen:3 gettext-tools \
28
USES=		bison compiler:c++11-lang desktop-file-utils eigen:3 gettext-tools \
29
		pkgconfig python:run qmake shebangfix
29
		pkgconfig python:run qmake qt:4 shebangfix
30
SHEBANG_FILES=	libraries/MCAD/get_submodules.py
30
SHEBANG_FILES=	libraries/MCAD/get_submodules.py
31
USE_GL=		glu glew
31
USE_GL=		glu glew
32
USE_QT4=	corelib gui opengl moc_build uic_build rcc_build
32
USE_QT=		corelib gui opengl moc_build uic_build rcc_build
33
PLIST_SUB=	PORTVERSION=${PORTVERSION}
33
PLIST_SUB=	PORTVERSION=${PORTVERSION}
34
QMAKE_ENV=	EIGENDIR=${LOCALBASE}/include/eigen3
34
QMAKE_ENV=	EIGENDIR=${LOCALBASE}/include/eigen3
35
QMAKE_ARGS+=	VERSION=${PORTVERSION} \
35
QMAKE_ARGS+=	VERSION=${PORTVERSION} \
(-)cad/qcad/Makefile (-2 / +2 lines)
Lines 19-28 LIB_DEPENDS= libquazip.so:archivers/quazip@qt4 Link Here
19
19
20
MAKE_JOBS_UNSAFE=yes
20
MAKE_JOBS_UNSAFE=yes
21
21
22
USES=		gmake qmake
22
USES=		gmake qmake qt:5
23
USE_GITHUB=	yes
23
USE_GITHUB=	yes
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
USE_QT5=	buildtools qmake_build \
25
USE_QT=		buildtools qmake_build \
26
		designer gui help imageformats network opengl script \
26
		designer gui help imageformats network opengl script \
27
		scripttools sql svg xml xmlpatterns webkit widgets uitools
27
		scripttools sql svg xml xmlpatterns webkit widgets uitools
28
USE_GL=		glu
28
USE_GL=		glu
(-)cad/qelectrotech/Makefile (-2 / +2 lines)
Lines 15-22 COMMENT= QElectroTech is application to design electric diagrams Link Here
15
LICENSE=	GPLv2
15
LICENSE=	GPLv2
16
LICENSE_FILE=	${WRKSRC}/LICENSE
16
LICENSE_FILE=	${WRKSRC}/LICENSE
17
17
18
USES=		compiler:c++11-lib desktop-file-utils qmake shared-mime-info
18
USES=		compiler:c++11-lib desktop-file-utils qmake qt:5 shared-mime-info
19
USE_QT5=	buildtools_build gui network printsupport \
19
USE_QT=		buildtools_build gui network printsupport \
20
		sql-sqlite3 svg xml
20
		sql-sqlite3 svg xml
21
21
22
OPTIONS_DEFINE=       DEBUG
22
OPTIONS_DEFINE=       DEBUG
(-)cad/qfsm/Makefile (-2 / +2 lines)
Lines 14-22 LICENSE= GPLv3+ Link Here
14
14
15
OPTIONS_DEFINE=	GRAPHVIZ DOCS EXAMPLES
15
OPTIONS_DEFINE=	GRAPHVIZ DOCS EXAMPLES
16
16
17
USES=		tar:bzip2 cmake desktop-file-utils
17
USES=		qt:4 tar:bzip2 cmake desktop-file-utils
18
USE_XORG=	xi
18
USE_XORG=	xi
19
USE_QT4=	corelib gui qt3support svg xml \
19
USE_QT=		corelib gui qt3support svg xml \
20
		moc_build qmake_build rcc_build uic_build
20
		moc_build qmake_build rcc_build uic_build
21
INSTALLS_ICONS=	yes
21
INSTALLS_ICONS=	yes
22
22
(-)cad/qucs/Makefile (-2 / +2 lines)
Lines 15-23 LICENSE_FILE= ${WRKSRC}/qucs/COPYING Link Here
15
BUILD_DEPENDS=	gperf:devel/gperf \
15
BUILD_DEPENDS=	gperf:devel/gperf \
16
		admsXml:cad/adms
16
		admsXml:cad/adms
17
17
18
USE_QT4=	moc_build uic_build rcc_build linguisttools_build \
18
USE_QT=		moc_build uic_build rcc_build linguisttools_build \
19
		corelib gui xml svg script qt3support
19
		corelib gui xml svg script qt3support
20
USES=		autoreconf compiler:c++11-lib bison gmake libtool shebangfix
20
USES=		autoreconf compiler:c++11-lib bison gmake libtool qt:4 shebangfix
21
SHEBANG_FILES=	qucs/contrib/ps2sp
21
SHEBANG_FILES=	qucs/contrib/ps2sp
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--disable-doc
23
CONFIGURE_ARGS=	--disable-doc
(-)chinese/fcitx-libpinyin/Makefile (-1 / +2 lines)
Lines 31-37 QT4_DESC= Enable Qt4 for dictmanager Link Here
31
.include <bsd.port.options.mk>
31
.include <bsd.port.options.mk>
32
32
33
.if ${PORT_OPTIONS:MQT4}
33
.if ${PORT_OPTIONS:MQT4}
34
USE_QT4=	qmake_build moc_build rcc_build uic_build gui webkit
34
USES+=		qt:4
35
USE_QT=		qmake_build moc_build rcc_build uic_build gui webkit
35
USE_LDCONFIG=	${PREFIX}/lib/fcitx/qt
36
USE_LDCONFIG=	${PREFIX}/lib/fcitx/qt
36
PLIST_SUB+=	QT4=""
37
PLIST_SUB+=	QT4=""
37
.else
38
.else
(-)chinese/fcitx/Makefile (-2 / +3 lines)
Lines 39-45 USE_GNOME= pango intltool libxml2 introspection Link Here
39
USE_KDE=	ecm
39
USE_KDE=	ecm
40
USE_XORG=	x11 xext xkbfile sm ice
40
USE_XORG=	x11 xext xkbfile sm ice
41
USE_LDCONFIG=	yes
41
USE_LDCONFIG=	yes
42
USES=		tar:xz cmake:noninja desktop-file-utils \
42
USES=		qt:4 tar:xz cmake:noninja desktop-file-utils \
43
		gettext-tools:build,run gettext-runtime iconv:wchar_t \
43
		gettext-tools:build,run gettext-runtime iconv:wchar_t \
44
		kde:5 pkgconfig shared-mime-info
44
		kde:5 pkgconfig shared-mime-info
45
INSTALLS_ICONS=	yes
45
INSTALLS_ICONS=	yes
Lines 87-93 SUB_LIST+= GTK3_IM=xim Link Here
87
.endif
87
.endif
88
88
89
.if ${PORT_OPTIONS:MQT4}
89
.if ${PORT_OPTIONS:MQT4}
90
USE_QT4+=	qmake_build moc_build rcc_build uic_build dbus gui inputmethods corelib
90
USES+=		qt:4
91
USE_QT+=		qmake_build moc_build rcc_build uic_build dbus gui inputmethods corelib
91
USE_LDCONFIG+=	${PREFIX}/lib/fcitx/qt
92
USE_LDCONFIG+=	${PREFIX}/lib/fcitx/qt
92
PLIST_SUB+=	QT4=""
93
PLIST_SUB+=	QT4=""
93
.else
94
.else
(-)chinese/gcin-qt4/Makefile (-2 / +2 lines)
Lines 16-23 LICENSE= LGPL21 Link Here
16
LIB_DEPENDS=	libgcin-im-client.so:chinese/gcin
16
LIB_DEPENDS=	libgcin-im-client.so:chinese/gcin
17
17
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/qt4-im
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/qt4-im
19
USES=		gmake pkgconfig tar:xz
19
USES=		gmake pkgconfig qt:4 tar:xz
20
USE_QT4=	inputmethods qmake_build moc_build corelib gui
20
USE_QT=		inputmethods qmake_build moc_build corelib gui
21
MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
21
MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
22
		MKDIR="${MKDIR}"
22
		MKDIR="${MKDIR}"
23
23
(-)chinese/gcin-qt5/Makefile (-2 / +2 lines)
Lines 17-24 LICENSE= LGPL21 Link Here
17
LIB_DEPENDS=	libgcin-im-client.so:chinese/gcin
17
LIB_DEPENDS=	libgcin-im-client.so:chinese/gcin
18
18
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/qt5-im
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/qt5-im
20
USES=		compiler:c++11-lang gmake pkgconfig tar:xz
20
USES=		compiler:c++11-lang gmake pkgconfig qt:5 tar:xz
21
USE_QT5=	qdbus qmake_build buildtools_build core gui
21
USE_QT=		qdbus qmake_build buildtools_build core gui
22
USE_CXXSTD=	c++11
22
USE_CXXSTD=	c++11
23
MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
23
MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
24
		MKDIR="${MKDIR}"
24
		MKDIR="${MKDIR}"
(-)chinese/qt4-codecs-cn/Makefile (-2 / +2 lines)
Lines 11-18 PKGNAMESUFFIX= -cn Link Here
11
MAINTAINER=	kde@FreeBSD.org
11
MAINTAINER=	kde@FreeBSD.org
12
COMMENT=	Qt GB 18030 codec plugin
12
COMMENT=	Qt GB 18030 codec plugin
13
13
14
USE_QT4=	qmake_build corelib
14
USES=		qmake:no_env qt-dist:4
15
QT_DIST=	yes
15
USE_QT=		corelib
16
16
17
HAS_CONFIGURE=	yes
17
HAS_CONFIGURE=	yes
18
18
(-)chinese/qt4-codecs-tw/Makefile (-2 / +2 lines)
Lines 11-18 PKGNAMESUFFIX= -tw Link Here
11
MAINTAINER=	kde@FreeBSD.org
11
MAINTAINER=	kde@FreeBSD.org
12
COMMENT=	Qt Big-5 codec plugin
12
COMMENT=	Qt Big-5 codec plugin
13
13
14
USE_QT4=	qmake_build corelib
14
USES=		qmake:no_env qt-dist:4
15
QT_DIST=	yes
15
USE_QT=		corelib
16
16
17
HAS_CONFIGURE=	yes
17
HAS_CONFIGURE=	yes
18
18
(-)chinese/qterm/Makefile (-5 / +8 lines)
Lines 10-18 MASTER_SITES= SF/qterm/qterm/${PORTVERSION} Link Here
10
MAINTAINER=	kaiwang27@gmail.com
10
MAINTAINER=	kaiwang27@gmail.com
11
COMMENT=	BBS client for BSD/Linux
11
COMMENT=	BBS client for BSD/Linux
12
12
13
USES=		tar:bzip2 cmake perl5
13
USES=		qt:4 tar:bzip2 cmake perl5
14
USE_PERL5=	build
14
USE_PERL5=	build
15
USE_QT4=	codecs-cn_run codecs-tw_run gui help-tools_build \
15
USE_QT=		codecs-cn_run codecs-tw_run gui help-tools_build \
16
		linguist_build moc_build network qt3support_build \
16
		linguist_build moc_build network qt3support_build \
17
		qmake_build rcc_build uic_build xml
17
		qmake_build rcc_build uic_build xml
18
USE_XORG=	x11 ice
18
USE_XORG=	x11 ice
Lines 31-45 OPENSSL_USES= ssl Link Here
31
OPENSSL_CMAKE_ON=	-DQTERM_ENABLE_SSH:BOOL=TRUE
31
OPENSSL_CMAKE_ON=	-DQTERM_ENABLE_SSH:BOOL=TRUE
32
OPENSSL_CMAKE_OFF=	-DQTERM_ENABLE_SSH:BOOL=FALSE
32
OPENSSL_CMAKE_OFF=	-DQTERM_ENABLE_SSH:BOOL=FALSE
33
33
34
DBUS_USE=	QT4=dbus
34
DBUS_USES=	qt:4
35
DBUS_USE=	QT=dbus
35
DBUS_CMAKE_ON=	-DQTERM_ENABLE_DBUS:BOOL=TRUE
36
DBUS_CMAKE_ON=	-DQTERM_ENABLE_DBUS:BOOL=TRUE
36
DBUS_CMAKE_OFF=	-DQTERM_ENABLE_DBUS:BOOL=FALSE
37
DBUS_CMAKE_OFF=	-DQTERM_ENABLE_DBUS:BOOL=FALSE
37
38
38
PHONON_USE=	QT4=phonon
39
PHONON_USES=	qt:4
40
PHONON_USE=	QT=phonon
39
PHONON_CMAKE_ON=	-DQTERM_ENABLE_PHONON:BOOL=TRUE
41
PHONON_CMAKE_ON=	-DQTERM_ENABLE_PHONON:BOOL=TRUE
40
PHONON_CMAKE_OFF=	-DQTERM_ENABLE_PHONON:BOOL=FALSE
42
PHONON_CMAKE_OFF=	-DQTERM_ENABLE_PHONON:BOOL=FALSE
41
43
42
QTSCRIPT_USE=	QT4=script
44
QTSCRIPT_USES=	qt:4
45
QTSCRIPT_USE=	QT=script
43
QTSCRIPT_RUN_DEPENDS=	${QT_PLUGINDIR}/script/libqtscript_core.so:devel/qtscriptgenerator
46
QTSCRIPT_RUN_DEPENDS=	${QT_PLUGINDIR}/script/libqtscript_core.so:devel/qtscriptgenerator
44
QTSCRIPT_CMAKE_ON=	-DQTERM_ENABLE_SCRIPT:BOOL=TRUE
47
QTSCRIPT_CMAKE_ON=	-DQTERM_ENABLE_SCRIPT:BOOL=TRUE
45
QTSCRIPT_CMAKE_OFF=	-DQTERM_ENABLE_SCRIPT:BOOL=FALSE
48
QTSCRIPT_CMAKE_OFF=	-DQTERM_ENABLE_SCRIPT:BOOL=FALSE
(-)comms/cutecom/Makefile (-2 / +3 lines)
Lines 14-21 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
14
14
15
RUN_DEPENDS=	lsz:comms/lrzsz
15
RUN_DEPENDS=	lsz:comms/lrzsz
16
16
17
USES=		cmake
17
USE_QT=		qt3support qmake_build moc_build rcc_build uic_build
18
USE_QT5=	buildtools_build core gui qmake_build serialport widgets
18
USES=		cmake qt:5
19
USE_QT=		buildtools_build core gui qmake_build serialport widgets
19
USE_GITHUB=	yes
20
USE_GITHUB=	yes
20
GH_ACCOUNT=	neundorf
21
GH_ACCOUNT=	neundorf
21
22
(-)comms/dabstick-radio/Makefile (-2 / +2 lines)
Lines 21-28 LIB_DEPENDS+= librtlsdr.so:comms/rtl-sdr \ Link Here
21
		libfftw3.so:math/fftw3 \
21
		libfftw3.so:math/fftw3 \
22
		libfaad.so:audio/faad
22
		libfaad.so:audio/faad
23
23
24
USES=		tar:tgz
24
USES=		qt:4 tar:tgz
25
USE_QT4=	gui qt3support qmake_build moc_build rcc_build uic_build
25
USE_QT=		gui qt3support qmake_build moc_build rcc_build uic_build
26
26
27
PORTDOCS=	*
27
PORTDOCS=	*
28
PLIST_FILES+=	bin/dabreceiver bin/fmreceiver bin/spectrum-viewer
28
PLIST_FILES+=	bin/dabreceiver bin/fmreceiver bin/spectrum-viewer
(-)comms/gnuradio/Makefile (-2 / +2 lines)
Lines 48-54 RUN_DEPENDS:= ${BUILD_DEPENDS} Link Here
48
# volk/lib/volk_cpu.c: In function 'i_can_has_3dnow':
48
# volk/lib/volk_cpu.c: In function 'i_can_has_3dnow':
49
# volk/lib/volk_cpu.c:62: error: can't find a register in class 'BREG' while reloading 'asm'
49
# volk/lib/volk_cpu.c:62: error: can't find a register in class 'BREG' while reloading 'asm'
50
# volk/lib/volk_cpu.c:62: error: 'asm' operand has impossible constraints
50
# volk/lib/volk_cpu.c:62: error: 'asm' operand has impossible constraints
51
USES=		cmake:outsource compiler:c11 fortran iconv perl5 pkgconfig pyqt:4 python:2.7 shebangfix
51
USES=		cmake:outsource compiler:c11 fortran iconv perl5 pkgconfig pyqt:4 python:2.7 qt:4 shebangfix
52
SHEBANG_FILES=	grc/scripts/freedesktop/grc_setup_freedesktop.in \
52
SHEBANG_FILES=	grc/scripts/freedesktop/grc_setup_freedesktop.in \
53
		gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor \
53
		gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor \
54
		gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx
54
		gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx
Lines 67-73 DOCSDIR= share/doc/${PORTNAME}-${PORTVERSION} Link Here
67
USE_GNOME=	pygtk2
67
USE_GNOME=	pygtk2
68
USE_PYQT=	core gui opengl
68
USE_PYQT=	core gui opengl
69
USE_WX=		3.0+
69
USE_WX=		3.0+
70
USE_QT4=	corelib gui xml qmake moc_build rcc_build uic_build
70
USE_QT=		corelib gui xml qmake moc_build rcc_build uic_build
71
WX_COMPS=	wx wx:build wx:run python:build python:run
71
WX_COMPS=	wx wx:build wx:run python:build python:run
72
USE_LDCONFIG=	yes
72
USE_LDCONFIG=	yes
73
PLIST_SUB+=	MAJOR_VERSION="3"
73
PLIST_SUB+=	MAJOR_VERSION="3"
(-)comms/gqrx/Makefile (-2 / +3 lines)
Lines 26-36 LIB_DEPENDS= libgnuradio-runtime.so:comms/gnuradio \ Link Here
26
		libboost_program_options.so:devel/boost-libs \
26
		libboost_program_options.so:devel/boost-libs \
27
		liblog4cpp.so:devel/log4cpp
27
		liblog4cpp.so:devel/log4cpp
28
28
29
USES=		pkgconfig qmake
29
USES=		pkgconfig qmake qt:5
30
30
USE_GITHUB=	yes
31
USE_GITHUB=	yes
31
GH_ACCOUNT=	csete
32
GH_ACCOUNT=	csete
32
USE_GL=		gl
33
USE_GL=		gl
33
USE_QT5=	buildtools_build core gui svg network widgets
34
USE_QT=		buildtools_build core gui svg network widgets
34
35
35
OPTIONS_RADIO=	AUDIO
36
OPTIONS_RADIO=	AUDIO
36
AUDIO_DESC=	Audio backend
37
AUDIO_DESC=	Audio backend
(-)comms/hamfax/Makefile (-2 / +2 lines)
Lines 12-21 COMMENT= QT application for sending and receiving facsimiles over radio Link Here
12
12
13
LIB_DEPENDS=	libaudiofile.so:audio/libaudiofile
13
LIB_DEPENDS=	libaudiofile.so:audio/libaudiofile
14
14
15
USE_QT4=	gui moc_build
15
USE_QT=		gui moc_build
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
CONFIGURE_ARGS+=	CPPFLAGS="-I${LOCALBASE}/include" \
17
CONFIGURE_ARGS+=	CPPFLAGS="-I${LOCALBASE}/include" \
18
			LDFLAGS="-L${LOCALBASE}/lib"
18
			LDFLAGS="-L${LOCALBASE}/lib"
19
USES=		gmake pkgconfig tar:bzip2
19
USES=		gmake pkgconfig qt:4 tar:bzip2
20
20
21
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)comms/inspectrum/Makefile (-2 / +2 lines)
Lines 22-29 USE_GITHUB= yes Link Here
22
GH_ACCOUNT=	miek
22
GH_ACCOUNT=	miek
23
GH_TAGNAME=	11853b64062bda4f81926613f15d1d9654c227c8
23
GH_TAGNAME=	11853b64062bda4f81926613f15d1d9654c227c8
24
24
25
USE_QT5=	core buildtools_build concurrent widgets
25
USE_QT=		core buildtools_build concurrent widgets
26
USES=		cmake pkgconfig qmake
26
USES=		cmake pkgconfig qmake qt:5
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
28
29
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)comms/klog/Makefile (-2 / +2 lines)
Lines 11-18 COMMENT= Simple Qt-based amateur radio logger Link Here
11
LICENSE=	GPLv3
11
LICENSE=	GPLv3
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
13
14
USES=		qmake
14
USES=		qmake qt:5
15
USE_QT5=	buildtools_build core gui linguisttools_build multimedia network \
15
USE_QT=		buildtools_build core gui linguisttools_build multimedia network \
16
		printsupport sql sql-sqlite3_run widgets
16
		printsupport sql sql-sqlite3_run widgets
17
DESKTOP_ENTRIES=	"KLog" "Simple Amateur Radio Logging Program" \
17
DESKTOP_ENTRIES=	"KLog" "Simple Amateur Radio Logging Program" \
18
		"" "klog" "Network;HamRadio;" \
18
		"" "klog" "Network;HamRadio;" \
(-)comms/kremotecontrol-kde4/Makefile (-2 / +2 lines)
Lines 10-18 COMMENT= KDE frontend for your remote controls Link Here
10
10
11
RUN_DEPENDS=	lircd:comms/lirc
11
RUN_DEPENDS=	lircd:comms/lirc
12
12
13
USES=		cmake:outsource kde:4 tar:xz
13
USES=		cmake:outsource kde:4 qt:4 tar:xz
14
USE_KDE=	automoc4 kdelibs
14
USE_KDE=	automoc4 kdelibs
15
USE_QT4=	corelib script xmlpatterns \
15
USE_QT=		corelib script xmlpatterns \
16
		qmake_build moc_build rcc_build uic_build
16
		qmake_build moc_build rcc_build uic_build
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
18
(-)comms/libsdr-gui/Makefile (-2 / +2 lines)
Lines 19-26 LIB_DEPENDS= libfftw3.so:math/fftw3 \ Link Here
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	hmatuschek
20
GH_ACCOUNT=	hmatuschek
21
21
22
USE_QT5=	core buildtools_build qmake widgets
22
USE_QT=		core buildtools_build qmake widgets
23
USES=		cmake pkgconfig
23
USES=		cmake pkgconfig qt:5
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
25
26
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)comms/linpsk/Makefile (-2 / +2 lines)
Lines 12-19 COMMENT= Simple Qt PSK31, RTTY, and MSK31 client Link Here
12
LIB_DEPENDS=	libfftw3.so:math/fftw3 \
12
LIB_DEPENDS=	libfftw3.so:math/fftw3 \
13
		libasound.so:audio/alsa-lib
13
		libasound.so:audio/alsa-lib
14
14
15
USES=		qmake tar:tgz
15
USES=		qmake qt:4 tar:tgz
16
USE_QT4=	gui network corelib moc_build uic_build rcc_build qmake_build
16
USE_QT=		gui network corelib moc_build uic_build rcc_build qmake_build
17
DESKTOP_ENTRIES="LinPsk" "${COMMENT}" \
17
DESKTOP_ENTRIES="LinPsk" "${COMMENT}" \
18
		"${DATADIR}/linpsk.png" "linpsk" "Audio;HamRadio;" \
18
		"${DATADIR}/linpsk.png" "linpsk" "Audio;HamRadio;" \
19
		false
19
		false
(-)comms/py-qt5-serialport/Makefile (-2 / +2 lines)
Lines 10-20 COMMENT= Python bindings for the Qt5 toolkit, QtSerialPort module Link Here
10
CONFIGURE_ARGS=	--enable QtSerialPort
10
CONFIGURE_ARGS=	--enable QtSerialPort
11
PYQT_DIST=	yes
11
PYQT_DIST=	yes
12
12
13
USES=		python pyqt:5
13
USES=		python pyqt:5 qt:5
14
USE_GL=		gl
14
USE_GL=		gl
15
USE_PYQT=	sip_build core_run
15
USE_PYQT=	sip_build core_run
16
USE_PYTHON=	flavors
16
USE_PYTHON=	flavors
17
USE_QT5=	core gui serialport qmake_build
17
USE_QT=		core gui serialport qmake_build
18
18
19
OPTIONS_DEFINE=	API DEBUG
19
OPTIONS_DEFINE=	API DEBUG
20
OPTIONS_DEFAULT=API
20
OPTIONS_DEFAULT=API
(-)comms/qsstv/Makefile (-2 / +2 lines)
Lines 21-28 LIB_DEPENDS= libasound.so:audio/alsa-lib \ Link Here
21
		libv4l2.so:multimedia/libv4l
21
		libv4l2.so:multimedia/libv4l
22
BUILD_DEPENDS=	v4l_compat>=0:multimedia/v4l_compat
22
BUILD_DEPENDS=	v4l_compat>=0:multimedia/v4l_compat
23
23
24
USES=		qmake pkgconfig
24
USES=		qmake qt:5
25
USE_QT5=	buildtools core gui network widgets xml
25
USE_QT=		buildtools core gui network widgets xml
26
USE_GL+=	gl
26
USE_GL+=	gl
27
27
28
OPTIONS_DEFINE=	DOCS
28
OPTIONS_DEFINE=	DOCS
(-)comms/qt5-connectivity/Makefile (-3 / +2 lines)
Lines 8-16 PKGNAMEPREFIX= qt5- Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	Qt connectivity (Bluetooth/NFC) module
9
COMMENT=	Qt connectivity (Bluetooth/NFC) module
10
10
11
USE_QT5=	concurrent core qml quick buildtools_build
11
USE_QT=		concurrent core qml quick buildtools_build
12
QT_DIST=	${PORTNAME}
12
USES=		qmake qt-dist:5,connectivity
13
USES=		qmake
14
13
15
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
14
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
16
15
(-)comms/qt5-sensors/Makefile (-3 / +2 lines)
Lines 8-16 PKGNAMEPREFIX= qt5- Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	Qt sensors module
9
COMMENT=	Qt sensors module
10
10
11
USE_QT5=	core qml quick buildtools_build
11
USE_QT=		core qml quick buildtools_build
12
QT_DIST=	${PORTNAME}
12
USES=		qmake:norecursive qt-dist:5,sensors
13
USES=		qmake:norecursive
14
13
15
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
14
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
16
15
(-)comms/qt5-serialbus/Makefile (-3 / +2 lines)
Lines 8-16 PKGNAMEPREFIX= qt5- Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	Qt functions to access industrial bus systems
9
COMMENT=	Qt functions to access industrial bus systems
10
10
11
USE_QT5=	core network serialport buildtools_build
11
USE_QT=		core network serialport buildtools_build
12
QT_DIST=	serialbus
12
USES=		compiler:c++11-lib qmake qt-dist:5,serialbus
13
USES=		compiler:c++11-lib qmake
14
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
13
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
15
14
16
.include <bsd.port.mk>
15
.include <bsd.port.mk>
(-)comms/qt5-serialport/Makefile (-3 / +2 lines)
Lines 8-16 PKGNAMEPREFIX= qt5- Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	Qt functions to access serial ports
9
COMMENT=	Qt functions to access serial ports
10
10
11
USE_QT5=	core buildtools_build
11
USE_QT=		core buildtools_build
12
QT_DIST=	serialport
12
USES=		qmake qt-dist:5,serialport
13
USES=		qmake
14
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
13
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
15
14
16
.include <bsd.port.mk>
15
.include <bsd.port.mk>
(-)comms/qtel/Makefile (-1 / +2 lines)
Lines 14-20 LIB_DEPENDS= libecholib.so:comms/svxlink \ Link Here
14
		libgsm.so:audio/gsm
14
		libgsm.so:audio/gsm
15
15
16
MASTERDIR=	${.CURDIR}/../svxlink
16
MASTERDIR=	${.CURDIR}/../svxlink
17
USE_QT4=	corelib gui network qmake_build linguist_build moc_build rcc_build uic_build
17
USES=		qt:4
18
USE_QT=		corelib gui network qmake_build linguist_build moc_build rcc_build uic_build
18
PKGDIR=		${.CURDIR}
19
PKGDIR=		${.CURDIR}
19
CMAKE_ARGS+=	-DUSE_QT:BOOL=YES \
20
CMAKE_ARGS+=	-DUSE_QT:BOOL=YES \
20
		-DQT_ONLY:BOOL=YES
21
		-DQT_ONLY:BOOL=YES
(-)comms/sdr-wspr/Makefile (-2 / +2 lines)
Lines 16-23 LIB_DEPENDS= libsdr-gui.so:comms/libsdr-gui Link Here
16
16
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	hmatuschek
18
GH_ACCOUNT=	hmatuschek
19
USE_QT5=	core buildtools_build qmake webkit widgets
19
USE_QT=		core buildtools_build qmake webkit widgets
20
USES=		cmake:outsource compiler:gcc-c++11-lib fortran pkgconfig
20
USES=		cmake:outsource compiler:gcc-c++11-lib fortran pkgconfig qt:5
21
21
22
PLIST_FILES=	bin/sdr-wspr share/applications/sdr-wspr.desktop \
22
PLIST_FILES=	bin/sdr-wspr share/applications/sdr-wspr.desktop \
23
		share/icons/sdr-wspr.svg
23
		share/icons/sdr-wspr.svg
(-)comms/svxlink/Makefile (-1 / +1 lines)
Lines 22-28 LIB_DEPENDS?= libgsm.so:audio/gsm \ Link Here
22
BUILD_DEPENDS=	pkg-config:devel/pkgconf \
22
BUILD_DEPENDS=	pkg-config:devel/pkgconf \
23
		${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat
23
		${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat
24
24
25
USES=		cmake compiler:c++11-lang tcl groff
25
USES+=		cmake compiler:c++11-lang tcl groff
26
USE_GITHUB=	yes
26
USE_GITHUB=	yes
27
GH_ACCOUNT=	sm0svx
27
GH_ACCOUNT=	sm0svx
28
GH_PROJECT=	svxlink
28
GH_PROJECT=	svxlink
(-)comms/wsjtx/Makefile (-3 / +3 lines)
Lines 21-30 LIB_DEPENDS= libfftw3.so:math/fftw3 \ Link Here
21
21
22
MAKE_JOBS_UNSAFE=	yes
22
MAKE_JOBS_UNSAFE=	yes
23
USES=		cmake compiler:c++11-lib dos2unix fortran pkgconfig \
23
USES=		cmake compiler:c++11-lib dos2unix fortran pkgconfig \
24
			readline tar:tgz
24
		qt:5 readline tar:tgz
25
USE_GL=		yes
25
USE_GL=		yes
26
USE_QT5=	core gui buildtools network qmake_build widgets \
26
USE_QT=		core gui buildtools network qmake_build widgets \
27
			multimedia concurrent printsupport serialport
27
		multimedia concurrent printsupport serialport
28
CMAKE_ARGS+=	-DPORT_BUILDING::STRING="ON" \
28
CMAKE_ARGS+=	-DPORT_BUILDING::STRING="ON" \
29
		-DCMAKE_PREFIX_PATH+=${LOCALBASE}/wsjtx/lib \
29
		-DCMAKE_PREFIX_PATH+=${LOCALBASE}/wsjtx/lib \
30
		-DLOCALBASE::STRING="${LOCALBASE}"
30
		-DLOCALBASE::STRING="${LOCALBASE}"
(-)comms/xcwcp/Makefile (-2 / +2 lines)
Lines 12-19 LIB_DEPENDS= libcw.so:comms/unixcw Link Here
12
MASTERDIR=	${.CURDIR}/../unixcw
12
MASTERDIR=	${.CURDIR}/../unixcw
13
13
14
PLIST=		${.CURDIR}/pkg-plist
14
PLIST=		${.CURDIR}/pkg-plist
15
USE_QT5=	buildtools gui widgets qmake_build
15
USE_QT=		buildtools gui widgets qmake_build
16
USES=		gettext
16
USES=		gettext qt:5
17
# Qt from 5.7.0 on requires c++11.
17
# Qt from 5.7.0 on requires c++11.
18
USE_CXXSTD=	c++11
18
USE_CXXSTD=	c++11
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
(-)databases/akonadi-kde4/Makefile (-5 / +6 lines)
Lines 18-27 LIB_DEPENDS= libboost_thread.so:devel/boost-libs Link Here
18
# Let process generate meaningful backtrace on core dump.
18
# Let process generate meaningful backtrace on core dump.
19
BUILD_DEPENDS=	xsltproc:textproc/libxslt
19
BUILD_DEPENDS=	xsltproc:textproc/libxslt
20
20
21
USES=		cmake:outsource kde:4 shared-mime-info \
21
USES=		cmake:outsource kde:4 qt:4 shared-mime-info \
22
		compiler:c++11-lang pathfix tar:bzip2
22
		compiler:c++11-lang pathfix tar:bzip2
23
USE_KDE=	automoc4 soprano
23
USE_KDE=	automoc4 soprano
24
USE_QT4=	corelib dbus gui network qtestlib_build sql xml \
24
USE_QT=		corelib dbus gui network qtestlib_build sql xml \
25
		moc_build qmake_build rcc_build uic_build
25
		moc_build qmake_build rcc_build uic_build
26
CMAKE_ARGS+=	-DAKONADI_BUILD_TESTS:BOOL=FALSE \
26
CMAKE_ARGS+=	-DAKONADI_BUILD_TESTS:BOOL=FALSE \
27
		-DINSTALL_QSQLITE_IN_QT_PREFIX:BOOL=TRUE \
27
		-DINSTALL_QSQLITE_IN_QT_PREFIX:BOOL=TRUE \
Lines 33-47 OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE Link Here
33
OPTIONS_SUB=	yes # SQLITE
33
OPTIONS_SUB=	yes # SQLITE
34
34
35
MYSQL_DESC=	Install MySQL Qt plugin and server
35
MYSQL_DESC=	Install MySQL Qt plugin and server
36
MYSQL_USE=	QT4=sql-mysql_run
36
MYSQL_USE=	QT=sql-mysql_run
37
MYSQL_USES=	mysql:server
37
MYSQL_USES=	mysql:server qt:4
38
38
39
PGSQL_DESC=	Install PostgreSQL Qt plugin
39
PGSQL_DESC=	Install PostgreSQL Qt plugin
40
# Do not add a dependency on PostgreSQL server as someone preferring
40
# Do not add a dependency on PostgreSQL server as someone preferring
41
# it over MySQL might like to use some advanced configuration, like a
41
# it over MySQL might like to use some advanced configuration, like a
42
# remote server.
42
# remote server.
43
#PGSQL_USE=	PGSQL=server
43
#PGSQL_USE=	PGSQL=server
44
PGSQL_USE=	QT4=sql-pgsql_run
44
PGSQL_USES=	qt:4
45
PGSQL_USE=	QT=sql-pgsql_run
45
46
46
SQLITE_DESC=	Enable SQLite backend
47
SQLITE_DESC=	Enable SQLite backend
47
SQLITE_USES=	sqlite:3
48
SQLITE_USES=	sqlite:3
(-)databases/akonadi/Makefile (-6 / +8 lines)
Lines 16-28 BUILD_DEPENDS= xsltproc:textproc/libxslt Link Here
16
CONFLICTS=	akonadi-[0-9]* akonadi-kf5-git-[0-9]*
16
CONFLICTS=	akonadi-[0-9]* akonadi-kf5-git-[0-9]*
17
17
18
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 \
18
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 \
19
		shared-mime-info tar:xz
19
		qt:5 shared-mime-info tar:xz
20
USE_GNOME=	libxml2
20
USE_GNOME=	libxml2
21
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
21
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
22
		dbusaddons ecm guiaddons i18n iconthemes itemmodels itemviews \
22
		dbusaddons ecm guiaddons i18n iconthemes itemmodels itemviews \
23
		kio service windowsystem widgetsaddons xmlgui \
23
		kio service windowsystem widgetsaddons xmlgui \
24
		designerplugin_build designerplugin_run
24
		designerplugin_build designerplugin_run
25
USE_QT5=	core dbus designer gui network sql testlib widgets xml \
25
USE_QT=		core dbus designer gui network sql testlib widgets xml \
26
		buildtools_build qmake_build
26
		buildtools_build qmake_build
27
CMAKE_ARGS+=	-DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"
27
CMAKE_ARGS+=	-DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"
28
28
Lines 33-50 OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE Link Here
33
OPTIONS_SUB=		yes
33
OPTIONS_SUB=		yes
34
34
35
MYSQL_DESC=		Install MySQL Qt plugin and server
35
MYSQL_DESC=		Install MySQL Qt plugin and server
36
MYSQL_USE=		MYSQL=server QT5=sql-mysql_run
36
MYSQL_USES=	qt:5
37
MYSQL_USE=		MYSQL=server QT=sql-mysql_run
37
38
38
PGSQL_DESC=		Install PostgreSQL Qt plugin
39
PGSQL_DESC=		Install PostgreSQL Qt plugin
39
# Do not add a dependency on PostgreSQL server as someone preferring
40
# Do not add a dependency on PostgreSQL server as someone preferring
40
# it over MySQL might like to use some advanced configuration, like a
41
# it over MySQL might like to use some advanced configuration, like a
41
# remote server.
42
# remote server.
42
#PGSQL_USE=	PGSQL=server
43
#PGSQL_USE=	PGSQL=server
43
PGSQL_USE=		QT5=sql-pgsql_run
44
PGSQL_USES=	qt:5
45
PGSQL_USE=		QT=sql-pgsql_run
44
46
45
SQLITE_DESC=		Enable SQLite backend
47
SQLITE_DESC=		Enable SQLite backend
46
SQLITE_USES=		sqlite:3
48
SQLITE_USES=		qt:5 sqlite:3
47
SQLITE_USE=		QT5=sql-sqlite3_run
49
SQLITE_USE=		QT=sql-sqlite3_run
48
SQLITE_CMAKE_ON=	-DAKONADI_BUILD_QSQLITE:BOOL=ON
50
SQLITE_CMAKE_ON=	-DAKONADI_BUILD_QSQLITE:BOOL=ON
49
SQLITE_CMAKE_OFF=	-DAKONADI_BUILD_QSQLITE:BOOL=OFF
51
SQLITE_CMAKE_OFF=	-DAKONADI_BUILD_QSQLITE:BOOL=OFF
50
52
(-)databases/kbibtex/Makefile (-2 / +2 lines)
Lines 14-23 LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 \ Link Here
14
		libqca.so:devel/qca@qt4 \
14
		libqca.so:devel/qca@qt4 \
15
		libqoauth.so:net/qoauth
15
		libqoauth.so:net/qoauth
16
16
17
USES=		cmake gettext iconv kde:4 shared-mime-info tar:xz
17
USES=		cmake gettext iconv kde:4 qt:4 shared-mime-info tar:xz
18
USE_GNOME=	libxml2 libxslt
18
USE_GNOME=	libxml2 libxslt
19
USE_KDE=	kdelibs automoc4
19
USE_KDE=	kdelibs automoc4
20
USE_QT4=	qmake_build moc_build uic_build rcc_build \
20
USE_QT=		qmake_build moc_build uic_build rcc_build \
21
		webkit
21
		webkit
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
23
(-)databases/kdb/Makefile (-2 / +2 lines)
Lines 11-19 COMMENT= Database connectivity and creation framework Link Here
11
11
12
LIB_DEPENDS=		libicuuc.so:devel/icu
12
LIB_DEPENDS=		libicuuc.so:devel/icu
13
13
14
USES=			cmake:outsource gettext kde:5 python:2.7 tar:xz
14
USES=			cmake:outsource gettext kde:5 python:2.7 qt:5 tar:xz
15
USE_KDE=		coreaddons ecm i18n
15
USE_KDE=		coreaddons ecm i18n
16
USE_QT5=		core gui network widgets xml \
16
USE_QT=			core gui network widgets xml \
17
			buildtools_build qmake_build
17
			buildtools_build qmake_build
18
18
19
# In the future, these options will be moved into slave ports
19
# In the future, these options will be moved into slave ports
(-)databases/kexi/Makefile (-2 / +2 lines)
Lines 14-27 LIB_DEPENDS= libKDb3.so:databases/kdb \ Link Here
14
			libKReport3.so:textproc/kreport
14
			libKReport3.so:textproc/kreport
15
15
16
USES=			cmake:outsource desktop-file-utils gettext iconv \
16
USES=			cmake:outsource desktop-file-utils gettext iconv \
17
			kde:5 pkgconfig tar:xz
17
			kde:5 pkgconfig qt:5 tar:xz
18
USE_GNOME=		glib20
18
USE_GNOME=		glib20
19
USE_KDE=		auth bookmarks codecs completion config \
19
USE_KDE=		auth bookmarks codecs completion config \
20
			configwidgets coreaddons crash ecm guiaddons i18n \
20
			configwidgets coreaddons crash ecm guiaddons i18n \
21
			iconthemes itemviews jobwidgets kio parts service \
21
			iconthemes itemviews jobwidgets kio parts service \
22
			solid sonnet texteditor textwidgets widgetsaddons \
22
			solid sonnet texteditor textwidgets widgetsaddons \
23
			xmlgui breeze-icons_build
23
			xmlgui breeze-icons_build
24
USE_QT5=		core dbus gui network printsupport webkit widgets xml \
24
USE_QT=			core dbus gui network printsupport webkit widgets xml \
25
			buildtools_build qmake_build qml
25
			buildtools_build qmake_build qml
26
26
27
CONFLICTS_INSTALL=	calligra-2*
27
CONFLICTS_INSTALL=	calligra-2*
(-)databases/pgmodeler/Makefile (-2 / +2 lines)
Lines 12-22 COMMENT= PostgreSQL Database Modeler Link Here
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
USES=		compiler:c++11-lib pgsql qmake pkgconfig gmake
15
USES=		compiler:c++11-lib pgsql qmake pkgconfig gmake qt:5
16
USE_GITHUB=	yes
16
USE_GITHUB=	yes
17
17
18
USE_GNOME=	libxml2
18
USE_GNOME=	libxml2
19
USE_QT5=	gui network sql svg printsupport widgets core buildtools_build uitools testlib
19
USE_QT=		gui network sql svg printsupport widgets core buildtools_build uitools testlib
20
USE_GL=		gl
20
USE_GL=		gl
21
USE_XORG=	x11 xext
21
USE_XORG=	x11 xext
22
22
(-)databases/py-qt4-sql/Makefile (-2 / +2 lines)
Lines 12-21 COMMENT= Python bindings for the Qt4 toolkit, QtSql module Link Here
12
CONFIGURE_ARGS=	--enable QtSql
12
CONFIGURE_ARGS=	--enable QtSql
13
PYQT_DIST=	yes
13
PYQT_DIST=	yes
14
14
15
USES=		python pyqt:4
15
USES=		python pyqt:4 qt:4
16
USE_PYQT=	sip_build core_run gui_run
16
USE_PYQT=	sip_build core_run gui_run
17
USE_PYTHON=	flavors
17
USE_PYTHON=	flavors
18
USE_QT4=	corelib gui sql \
18
USE_QT=		corelib gui sql \
19
		moc_build qmake_build
19
		moc_build qmake_build
20
20
21
OPTIONS_DEFINE=	API DEBUG
21
OPTIONS_DEFINE=	API DEBUG
(-)databases/py-qt5-sql/Makefile (-2 / +2 lines)
Lines 10-20 COMMENT= Python bindings for the Qt5 toolkit, QtSql module Link Here
10
CONFIGURE_ARGS=	--enable QtSql
10
CONFIGURE_ARGS=	--enable QtSql
11
PYQT_DIST=	yes
11
PYQT_DIST=	yes
12
12
13
USES=		python pyqt:5
13
USES=		python pyqt:5 qt:5
14
USE_GL=		gl
14
USE_GL=		gl
15
USE_PYQT=	sip_build core_run widgets_run
15
USE_PYQT=	sip_build core_run widgets_run
16
USE_PYTHON=	flavors
16
USE_PYTHON=	flavors
17
USE_QT5=	core gui sql widgets buildtools_build qmake_build
17
USE_QT=		core gui sql widgets buildtools_build qmake_build
18
18
19
OPTIONS_DEFINE=	API DEBUG
19
OPTIONS_DEFINE=	API DEBUG
20
OPTIONS_DEFAULT=API
20
OPTIONS_DEFAULT=API
(-)databases/qt4-sql/Makefile (-2 / +2 lines)
Lines 10-17 PKGNAMEPREFIX= qt4- Link Here
10
MAINTAINER=	kde@FreeBSD.org
10
MAINTAINER=	kde@FreeBSD.org
11
COMMENT=	Qt SQL database integration module
11
COMMENT=	Qt SQL database integration module
12
12
13
USE_QT4=	qmake_build moc_build corelib
13
USES=		qmake:no_env qt-dist:4
14
QT_DIST=	yes
14
USE_QT=		moc_build corelib
15
15
16
HAS_CONFIGURE=	yes
16
HAS_CONFIGURE=	yes
17
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
17
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
(-)databases/qt5-sql/Makefile (-2 / +2 lines)
Lines 8-15 PKGNAMEPREFIX= qt5- Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	Qt SQL database integration module
9
COMMENT=	Qt SQL database integration module
10
10
11
USE_QT5=	core qmake_build buildtools_build
11
USES=		qmake:no_env qt-dist:5,base
12
QT_DIST=	base
12
USE_QT=		core qmake_build buildtools_build
13
HAS_CONFIGURE=	yes
13
HAS_CONFIGURE=	yes
14
CONFIGURE_ARGS=	-no-gui -no-xcb
14
CONFIGURE_ARGS=	-no-gui -no-xcb
15
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
15
USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
(-)databases/redisdesktopmanager/Makefile (-2 / +2 lines)
Lines 12-18 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
12
12
13
LIB_DEPENDS=	libssh2.so:security/libssh2
13
LIB_DEPENDS=	libssh2.so:security/libssh2
14
14
15
USES=		dos2unix kde:5 qmake ssl
15
USES=		dos2unix kde:5 qmake qt:5 ssl
16
DOS2UNIX_FILES=	3rdparty/3rdparty.pri
16
DOS2UNIX_FILES=	3rdparty/3rdparty.pri
17
USE_GL=		gl
17
USE_GL=		gl
18
USE_GITHUB=	yes
18
USE_GITHUB=	yes
Lines 30-36 GH_TUPLE= \ Link Here
30
		uglide:qredisclient:34f1c5a:qredisclient/3rdparty/qredisclient \
30
		uglide:qredisclient:34f1c5a:qredisclient/3rdparty/qredisclient \
31
		sijk:qt-unix-signals:d6a1d12:qtunixsignals/3rdparty/qt-unix-signals \
31
		sijk:qt-unix-signals:d6a1d12:qtunixsignals/3rdparty/qt-unix-signals \
32
		redis:hiredis:53c3243:hiredis/3rdparty/qredisclient/3rdparty/hiredis
32
		redis:hiredis:53c3243:hiredis/3rdparty/qredisclient/3rdparty/hiredis
33
USE_QT5=	buildtools_build charts concurrent core gui network qmake_build qml quick widgets
33
USE_QT=		buildtools_build charts concurrent core gui network qmake_build qml quick widgets
34
34
35
post-patch:
35
post-patch:
36
	@${REINPLACE_CMD} 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/src/version.h
36
	@${REINPLACE_CMD} 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/src/version.h
(-)databases/sqlitebrowser/Makefile (-2 / +2 lines)
Lines 17-25 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libantlr.a:devel/antlr
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libantlr.a:devel/antlr
18
LIB_DEPENDS=	libqscintilla2_qt5.so:devel/qscintilla2-qt5
18
LIB_DEPENDS=	libqscintilla2_qt5.so:devel/qscintilla2-qt5
19
19
20
USES=		cmake desktop-file-utils sqlite
20
USES=		cmake desktop-file-utils qt:5 sqlite
21
CMAKE_ARGS+=	-DQT_INCLUDE_DIR=${QT_INCDIR} -DQT_LIBRARY_DIR=${QT_LIBDIR}
21
CMAKE_ARGS+=	-DQT_INCLUDE_DIR=${QT_INCDIR} -DQT_LIBRARY_DIR=${QT_LIBDIR}
22
USE_QT5=	core gui network printsupport testlib widgets \
22
USE_QT=		core gui network printsupport testlib widgets \
23
		buildtools_build linguisttools_build qmake_build
23
		buildtools_build linguisttools_build qmake_build
24
USE_GITHUB=	yes
24
USE_GITHUB=	yes
25
25
(-)databases/sqliteman/Makefile (-2 / +2 lines)
Lines 12-19 COMMENT= Admin's GUI tool for Sqlite3 Link Here
12
12
13
LIB_DEPENDS=	libqscintilla2_qt4.so:devel/qscintilla2
13
LIB_DEPENDS=	libqscintilla2_qt4.so:devel/qscintilla2
14
14
15
USES=		cmake sqlite
15
USES=		cmake qt:4 sqlite
16
USE_QT4=	qmake_build gui moc_build rcc_build uic_build xml sql
16
USE_QT=		qmake_build gui moc_build rcc_build uic_build xml sql
17
17
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
(-)databases/sqlitestudio/Makefile (-3 / +3 lines)
Lines 38-46 OPTIONS_SUB= yes Link Here
38
38
39
WRKSRC=		${WRKDIR}/SQLiteStudio3
39
WRKSRC=		${WRKDIR}/SQLiteStudio3
40
40
41
USES=		compiler:c++11-lib gmake ncurses qmake readline sqlite
41
USES=		compiler:c++11-lib gmake ncurses qmake qt:5 readline sqlite
42
USE_CXXSTD=	c++11
42
USE_CXXSTD=	c++11
43
USE_QT5=	core concurrent gui network script sql sql-sqlite3_run svg widgets xml \
43
USE_QT=		core concurrent gui network script sql sql-sqlite3_run svg widgets xml \
44
		uitools buildtools_build linguisttools_build
44
		uitools buildtools_build linguisttools_build
45
USE_GL=		gl
45
USE_GL=		gl
46
USE_LDCONFIG=	yes
46
USE_LDCONFIG=	yes
Lines 64-70 PLUGIN_DB_SQLITE_CIPHER_VARS= PLUGIN_DIRS+=DbSqliteCipher Link Here
64
PLUGIN_HTML_EXPORT_VARS=		PLUGIN_DIRS+=HtmlExport
64
PLUGIN_HTML_EXPORT_VARS=		PLUGIN_DIRS+=HtmlExport
65
PLUGIN_JSON_EXPORT_VARS=		PLUGIN_DIRS+=JsonExport
65
PLUGIN_JSON_EXPORT_VARS=		PLUGIN_DIRS+=JsonExport
66
PLUGIN_PDF_EXPORT_VARS=			PLUGIN_DIRS+=PdfExport
66
PLUGIN_PDF_EXPORT_VARS=			PLUGIN_DIRS+=PdfExport
67
PLUGIN_PRINTING_VARS=			PLUGIN_DIRS+=Printing USE_QT5+=printsupport
67
PLUGIN_PRINTING_VARS=			PLUGIN_DIRS+=Printing USE_QT+=printsupport
68
PLUGIN_REGEXP_IMPORT_VARS=		PLUGIN_DIRS+=RegExpImport
68
PLUGIN_REGEXP_IMPORT_VARS=		PLUGIN_DIRS+=RegExpImport
69
PLUGIN_SQL_ENTERPRISE_FORMATTER_VARS=	PLUGIN_DIRS+=SqlEnterpriseFormatter
69
PLUGIN_SQL_ENTERPRISE_FORMATTER_VARS=	PLUGIN_DIRS+=SqlEnterpriseFormatter
70
PLUGIN_SQL_EXPORT_VARS=			PLUGIN_DIRS+=SqlExport
70
PLUGIN_SQL_EXPORT_VARS=			PLUGIN_DIRS+=SqlExport
(-)databases/tora/Makefile (-6 / +10 lines)
Lines 20-30 LIB_DEPENDS= libqscintilla2_qt4.so:devel/qscintilla2 \ Link Here
20
OPTIONS_DEFINE=	PGSQL MYSQL DOCS
20
OPTIONS_DEFINE=	PGSQL MYSQL DOCS
21
OPTIONS_DEFAULT=	PGSQL MYSQL
21
OPTIONS_DEFAULT=	PGSQL MYSQL
22
22
23
USE_QT4=	corelib gui sql xml network moc_build uic_build rcc_build
23
USE_QT=		corelib gui sql xml network moc_build qmake_build rcc_build uic_build
24
USES=		autoreconf gmake libtool makeinfo
24
USES=		autoreconf gmake libtool localbase:ldflags makeinfo qmake:no_env qt:4
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
CONFIGURE_ARGS=	--with-pcre=${LOCALBASE}
26
CONFIGURE_ARGS=	--with-pcre=${LOCALBASE} \
27
LDFLAGS+=	-L${LOCALBASE}/lib
27
		--with-qt-includes=${QT_INCDIR} \
28
		--with-qt-libraries=${QT_LIBDIR} \
29
		--with-extra-includes=${LOCALBASE}/include \
30
		--with-extra-libs=${LOCALBASE}/lib
31
28
INSTALL_TARGET=	install-strip
32
INSTALL_TARGET=	install-strip
29
33
30
PREFIX2FIX=	doc/help/preferences.texi doc/help/preferences.html
34
PREFIX2FIX=	doc/help/preferences.texi doc/help/preferences.html
Lines 32-39 PREFIX2FIX= doc/help/preferences.texi doc/help/preferences.html Link Here
32
DOCS_USES=	makeinfo
36
DOCS_USES=	makeinfo
33
DOCS_INFO=	tora
37
DOCS_INFO=	tora
34
38
35
MYSQL_RUN_DEPENDS=	${QT_PLUGINDIR}/sqldrivers/libqsqlmysql.so:databases/qt4-mysql-plugin
39
MYSQL_USE=	QT=sql-mysql_run
36
PGSQL_RUN_DEPENDS=	${QT_PLUGINDIR}/sqldrivers/libqsqlpsql.so:databases/qt4-pgsql-plugin
40
PGSQL_USE=	QT=sql-pgsql_run
37
41
38
post-patch-DOCS-on:
42
post-patch-DOCS-on:
39
	@${REINPLACE_CMD} 's|/etc/torarc|${PREFIX}/etc/torarc|' \
43
	@${REINPLACE_CMD} 's|/etc/torarc|${PREFIX}/etc/torarc|' \
(-)deskutils/akonadi-calendar-tools/Makefile (-2 / +2 lines)
Lines 9-15 COMMENT= CLI tools to manage akonadi calendars Link Here
9
9
10
LIB_DEPENDS=	libical.so:devel/libical
10
LIB_DEPENDS=	libical.so:devel/libical
11
11
12
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
12
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 tar:xz
13
USE_KDE=	auth bookmarks codecs completion config configwidgets \
13
USE_KDE=	auth bookmarks codecs completion config configwidgets \
14
		coreaddons crash ecm guiaddons i18n iconthemes itemmodels \
14
		coreaddons crash ecm guiaddons i18n iconthemes itemmodels \
15
		itemviews jobwidgets kdelibs4support kio notifications parts \
15
		itemviews jobwidgets kdelibs4support kio notifications parts \
Lines 18-24 USE_KDE= auth bookmarks codecs completion config configwidgets \ Link Here
18
# pim components
18
# pim components
19
USE_KDE+=	akonadi akonadicalendar calendarsupport calendarcore calendarutils \
19
USE_KDE+=	akonadi akonadicalendar calendarsupport calendarcore calendarutils \
20
		identitymanagement libkdepim mime pimtextedit
20
		identitymanagement libkdepim mime pimtextedit
21
USE_QT5=	core dbus gui network printsupport widgets xml \
21
USE_QT=		core dbus gui network printsupport widgets xml \
22
		buildtools_build qmake_build
22
		buildtools_build qmake_build
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
24
(-)deskutils/akonadi-import-wizard/Makefile (-2 / +2 lines)
Lines 13-19 LIB_DEPENDS= libassuan.so:security/libassuan \ Link Here
13
		libgpgmepp.so:security/gpgme-cpp \
13
		libgpgmepp.so:security/gpgme-cpp \
14
		libqgpgme.so:security/gpgme-qt5
14
		libqgpgme.so:security/gpgme-qt5
15
15
16
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
16
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 tar:xz
17
USE_KDE=	archive auth codecs completion config configwidgets coreaddons \
17
USE_KDE=	archive auth codecs completion config configwidgets coreaddons \
18
		crash dbusaddons ecm i18n itemmodels kio service wallet \
18
		crash dbusaddons ecm i18n itemmodels kio service wallet \
19
		widgetsaddons xmlgui
19
		widgetsaddons xmlgui
Lines 21-27 USE_KDE= archive auth codecs completion config configwidgets coreaddons \ Link Here
21
USE_KDE+=	akonadi akonadicontacts akonadimime contacts identitymanagement \
21
USE_KDE+=	akonadi akonadicontacts akonadimime contacts identitymanagement \
22
		libkdepim libkleo mailcommon mailimporter mailtransport \
22
		libkdepim libkleo mailcommon mailimporter mailtransport \
23
		messagelib mime pimcommon pimtextedit
23
		messagelib mime pimcommon pimtextedit
24
USE_QT5=	core dbus gui network widgets xml \
24
USE_QT=		core dbus gui network widgets xml \
25
		buildtools_build qmake_build
25
		buildtools_build qmake_build
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
27
(-)deskutils/akonadiconsole/Makefile (-2 / +2 lines)
Lines 17-23 LIB_DEPENDS= libassuan.so:security/libassuan \ Link Here
17
		libical.so:devel/libical \
17
		libical.so:devel/libical \
18
		libxapian.so:databases/xapian-core
18
		libxapian.so:databases/xapian-core
19
19
20
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
20
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 tar:xz
21
USE_KDE=	auth bookmarks codecs completion config configwidgets \
21
USE_KDE=	auth bookmarks codecs completion config configwidgets \
22
		coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
22
		coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
23
		itemmodels itemviews jobwidgets kdelibs4support kio \
23
		itemmodels itemviews jobwidgets kdelibs4support kio \
Lines 28-34 USE_KDE+= akonadi akonadicalendar akonadicontacts akonadimime \ Link Here
28
		akonadisearch calendarcore calendarsupport contacts \
28
		akonadisearch calendarcore calendarsupport contacts \
29
		identitymanagement libkdepim libkleo messagelib mime \
29
		identitymanagement libkdepim libkleo messagelib mime \
30
		pimcommon pimtextedit
30
		pimcommon pimtextedit
31
USE_QT5=	core dbus gui network printsupport sql widgets xml \
31
USE_QT=		core dbus gui network printsupport sql widgets xml \
32
		buildtools_build qmake_build
32
		buildtools_build qmake_build
33
USE_LDCONFIG=	yes
33
USE_LDCONFIG=	yes
34
34
(-)deskutils/akregator/Makefile (-2 / +2 lines)
Lines 15-21 LIB_DEPENDS= libassuan.so:security/libassuan \ Link Here
15
		libgpgmepp.so:security/gpgme-cpp \
15
		libgpgmepp.so:security/gpgme-cpp \
16
		libqgpgme.so:security/gpgme-qt5
16
		libqgpgme.so:security/gpgme-qt5
17
17
18
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 tar:xz
18
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 qt:5 tar:xz
19
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
19
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
20
		ecm i18n iconthemes itemmodels jobwidgets kcmutils kio \
20
		ecm i18n iconthemes itemmodels jobwidgets kcmutils kio \
21
		notifications notifyconfig parts service sonnet texteditor\
21
		notifications notifyconfig parts service sonnet texteditor\
Lines 23-29 USE_KDE= auth codecs completion config configwidgets coreaddons crash \ Link Here
23
# pim components
23
# pim components
24
USE_KDE+=	akonadi akonadimime contacts grantleetheme kontactinterface \
24
USE_KDE+=	akonadi akonadimime contacts grantleetheme kontactinterface \
25
		libkdepim libkleo messagelib mime pimcommon pimtextedit syndication
25
		libkdepim libkleo messagelib mime pimcommon pimtextedit syndication
26
USE_QT5=	core dbus gui location network printsupport qml quick \
26
USE_QT=		core dbus gui location network printsupport qml quick \
27
		webchannel webengine widgets xml \
27
		webchannel webengine widgets xml \
28
		buildtools_build qmake_build
28
		buildtools_build qmake_build
29
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
(-)deskutils/basket/Makefile (-2 / +2 lines)
Lines 14-23 LICENSE= GPLv2 Link Here
14
14
15
LIB_DEPENDS=	libgpgme.so:security/gpgme
15
LIB_DEPENDS=	libgpgme.so:security/gpgme
16
16
17
USES=		cmake gettext-tools kde:4 tar:bzip2
17
USES=		cmake gettext-tools kde:4 qt:4 tar:bzip2
18
USE_XORG=	xft xpm
18
USE_XORG=	xft xpm
19
USE_KDE=	automoc4 kdelibs qimageblitz
19
USE_KDE=	automoc4 kdelibs qimageblitz
20
USE_QT4=	moc_build qmake_build rcc_build uic_build
20
USE_QT=		moc_build qmake_build rcc_build uic_build
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
USE_CXXSTD=	gnu++98
22
USE_CXXSTD=	gnu++98
23
23
(-)deskutils/cairo-dock-plugins/Makefile (-2 / +2 lines)
Lines 87-94 IMPULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio Link Here
87
IMPULSE_CMAKE_BOOL=	enable-impulse
87
IMPULSE_CMAKE_BOOL=	enable-impulse
88
88
89
#KDE_INTEGRATION_LIB_DEPENDS=
89
#KDE_INTEGRATION_LIB_DEPENDS=
90
KDE_INTEGRATION_USE_QT4=	corelib
90
KDE_INTEGRATION_USE_QT=		corelib
91
KDE_INTEGRATION_USES=		kde:4
91
KDE_INTEGRATION_USES=		kde:4 qt:4
92
KDE_INTEGRATION_USE=		KDE=kdelibs
92
KDE_INTEGRATION_USE=		KDE=kdelibs
93
KDE_INTEGRATION_CMAKE_BOOL=	enable-kde-integration
93
KDE_INTEGRATION_CMAKE_BOOL=	enable-kde-integration
94
94
(-)deskutils/calibre/Makefile (-2 / +2 lines)
Lines 48-60 RUN_DEPENDS= xdg-open:devel/xdg-utils \ Link Here
48
		pdftohtml:graphics/poppler-utils
48
		pdftohtml:graphics/poppler-utils
49
49
50
USES=		desktop-file-utils gettext-runtime gnome localbase:ldflags pkgconfig \
50
USES=		desktop-file-utils gettext-runtime gnome localbase:ldflags pkgconfig \
51
		python:2.7 pyqt:5 shared-mime-info shebangfix ssl tar:xz
51
		python:2.7 pyqt:5 qt:5 shared-mime-info shebangfix ssl tar:xz
52
USE_RC_SUBR=	calibre
52
USE_RC_SUBR=	calibre
53
EXTRACT_BEFORE_ARGS=	-x -s '/^calibre/~-src/' -f
53
EXTRACT_BEFORE_ARGS=	-x -s '/^calibre/~-src/' -f
54
SHEBANG_GLOB=	*.sh *.py
54
SHEBANG_GLOB=	*.sh *.py
55
python_OLD_CMD=	"/usr/bin/env python2" /bin/python2 /usr/bin/python2 /usr/local/bin/python2
55
python_OLD_CMD=	"/usr/bin/env python2" /bin/python2 /usr/bin/python2 /usr/local/bin/python2
56
USE_PYQT=	core gui network sip svg webkit widgets webkitwidgets xmlpatterns
56
USE_PYQT=	core gui network sip svg webkit widgets webkitwidgets xmlpatterns
57
USE_QT5=	buildtools_build core dbus gui qmake_build widgets
57
USE_QT=		buildtools_build core dbus gui qmake_build widgets
58
USE_GL=		egl gl
58
USE_GL=		egl gl
59
USE_GNOME=	glib20
59
USE_GNOME=	glib20
60
USE_XORG=	xrender xext x11
60
USE_XORG=	xrender xext x11
(-)deskutils/cdcat/Makefile (-2 / +2 lines)
Lines 22-29 LIB_DEPENDS= libtar.so:devel/libtar \ Link Here
22
CONFIGURE_WRKSRC=	${WRKSRC}/src
22
CONFIGURE_WRKSRC=	${WRKSRC}/src
23
BUILD_WRKSRC=	${CONFIGURE_WRKSRC}
23
BUILD_WRKSRC=	${CONFIGURE_WRKSRC}
24
24
25
USES=		libtool qmake:norecursive tar:bzip2
25
USES=		libtool qmake:norecursive qt:4 tar:bzip2
26
USE_QT4=	corelib gui xml linguisttools_build moc_build uic_build
26
USE_QT=		corelib gui xml linguisttools_build moc_build uic_build
27
QMAKE_ARGS=	LIBS+="${LOCALBASE}/lib/libcryptopp.a" \
27
QMAKE_ARGS=	LIBS+="${LOCALBASE}/lib/libcryptopp.a" \
28
		LIBS+="-lz -lbz2 -ltar -lexif -lmediainfo -lzen" \
28
		LIBS+="-lz -lbz2 -ltar -lexif -lmediainfo -lzen" \
29
		DEFINES+="MEDIAINFO_STATIC" \
29
		DEFINES+="MEDIAINFO_STATIC" \
(-)deskutils/charmtimetracker/Makefile (-2 / +2 lines)
Lines 14-20 COMMENT= Time tracker Link Here
14
LICENSE=	GPLv2
14
LICENSE=	GPLv2
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
16
17
USES=		cmake:outsource compiler:c++11-lib
17
USES=		cmake:outsource compiler:c++11-lib qt:5
18
# Use bundled keychain; the keychain is only used for KDAB-internal
18
# Use bundled keychain; the keychain is only used for KDAB-internal
19
# features not available or configurable in the port.
19
# features not available or configurable in the port.
20
CMAKE_ARGS=	-DCharm_VERSION:STRING=${PORTVERSION} \
20
CMAKE_ARGS=	-DCharm_VERSION:STRING=${PORTVERSION} \
Lines 24-30 USE_GITHUB= yes Link Here
24
GH_ACCOUNT=	KDAB
24
GH_ACCOUNT=	KDAB
25
GH_PROJECT=	Charm
25
GH_PROJECT=	Charm
26
26
27
USE_QT5=	core dbus gui \
27
USE_QT=		core dbus gui \
28
		network printsupport script sql sql-sqlite3 \
28
		network printsupport script sql sql-sqlite3 \
29
		testlib widgets xml \
29
		testlib widgets xml \
30
		buildtools_build qmake_build
30
		buildtools_build qmake_build
(-)deskutils/copyq/Makefile (-2 / +2 lines)
Lines 11-19 COMMENT= Qt5 based clipboard manager Link Here
11
11
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
13
14
USES=		qmake
14
USES=		qmake qt:5
15
USE_XORG=	x11 xfixes xtst
15
USE_XORG=	x11 xfixes xtst
16
USE_QT5=	core gui network svg multimedia imageformats \
16
USE_QT=		core gui network svg multimedia imageformats \
17
		buildtools_build x11extras concurrent widgets xml \
17
		buildtools_build x11extras concurrent widgets xml \
18
		script
18
		script
19
USE_GL=		gl
19
USE_GL=		gl
(-)deskutils/fbreader/Makefile (-1 / +2 lines)
Lines 45-51 OPTIONS_SUB= yes Link Here
45
GTK2_USE=	gnome=gtk20
45
GTK2_USE=	gnome=gtk20
46
GTK2_MAKE_ENV=	UI_TYPE=gtk
46
GTK2_MAKE_ENV=	UI_TYPE=gtk
47
47
48
QT4_USE=	qt4=gui,corelib,imageformats,network,moc_build
48
QT4_USES=	qt:4
49
QT4_USE=	qt=gui,corelib,imageformats,network,moc_build
49
QT4_LIBS=	-L${QT_LIBDIR}
50
QT4_LIBS=	-L${QT_LIBDIR}
50
QT4_MAKE_ENV=	UI_TYPE=qt4
51
QT4_MAKE_ENV=	UI_TYPE=qt4
51
52
(-)deskutils/fet/Makefile (-5 / +7 lines)
Lines 15-21 COMMENT= Free timetabling software Link Here
15
LICENSE=	GPLv3+
15
LICENSE=	GPLv3+
16
LICENSE_FILE=	${WRKSRC}/COPYING
16
LICENSE_FILE=	${WRKSRC}/COPYING
17
17
18
USES=		qmake tar:bzip2
18
USES=		qmake qt:4 tar:bzip2
19
19
20
PORTEXAMPLES=	*
20
PORTEXAMPLES=	*
21
21
Lines 34-41 ONLYCL_DESC= Build only command line version (without Qt GUI) Link Here
34
34
35
OPTIONS_SUB=	yes
35
OPTIONS_SUB=	yes
36
36
37
QT4_USE=	QT4=corelib,moc_build,rcc_build,uic_build,xml
37
QT4_USES=	qt:4
38
QT5_USE=	QT5=buildtools_build,core,xml GL=gl
38
QT4_USE=	QT=corelib,moc_build,rcc_build,uic_build,xml
39
QT5_USES=	qt:5
40
QT5_USE=	QT=buildtools_build,core,xml GL=gl
39
41
40
.include <bsd.port.options.mk>
42
.include <bsd.port.options.mk>
41
43
Lines 45-53 QMAKE_SOURCE_PATH= ${WRKSRC}/src/src-cl.pro Link Here
45
.else
47
.else
46
INSTALL_TARGET+=	${WRKSRC}/fet
48
INSTALL_TARGET+=	${WRKSRC}/fet
47
.if ${PORT_OPTIONS:MQT4}
49
.if ${PORT_OPTIONS:MQT4}
48
USE_QT4+=gui network
50
USE_QT+=	gui network
49
.else
51
.else
50
USE_QT5+=gui network printsupport widgets
52
USE_QT+=	gui network printsupport widgets
51
.endif
53
.endif
52
.endif
54
.endif
53
55
(-)deskutils/flameshot/Makefile (-2 / +2 lines)
Lines 17-26 GH_ACCOUNT= lupoDharkael Link Here
17
17
18
INSTALL_ICONS=	yes
18
INSTALL_ICONS=	yes
19
19
20
USES=		qmake
20
USES=		qmake qt:5
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
USE_GL=		gl
22
USE_GL=		gl
23
USE_QT5=	core dbus gui linguist network widgets \
23
USE_QT=		core dbus gui linguist network widgets \
24
		buildtools_build
24
		buildtools_build
25
25
26
post-patch:
26
post-patch:
(-)deskutils/grantlee-editor/Makefile (-2 / +2 lines)
Lines 16-22 LIB_DEPENDS= libassuan.so:security/libassuan \ Link Here
16
		libqgpgme.so:security/gpgme-qt5
16
		libqgpgme.so:security/gpgme-qt5
17
17
18
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 \
18
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 \
19
		kde:5 tar:xz
19
		kde:5 qt:5 tar:xz
20
USE_KDE=	archive attica auth codecs completion config configwidgets \
20
USE_KDE=	archive attica auth codecs completion config configwidgets \
21
		coreaddons crash dbusaddons  ecm i18n itemmodels jobwidgets \
21
		coreaddons crash dbusaddons  ecm i18n itemmodels jobwidgets \
22
		kio newstuff service syntaxhighlighting texteditor \
22
		kio newstuff service syntaxhighlighting texteditor \
Lines 24-30 USE_KDE= archive attica auth codecs completion config configwidgets \ Link Here
24
# pim components
24
# pim components
25
USE_KDE+=	akonadi akonadicontacts akonadimime contacts grantleetheme \
25
USE_KDE+=	akonadi akonadicontacts akonadimime contacts grantleetheme \
26
		kdepim-apps-libs libkleo messagelib mime pimcommon pimtextedit
26
		kdepim-apps-libs libkleo messagelib mime pimcommon pimtextedit
27
USE_QT5=	core dbus gui location network qml quick webchannel webengine \
27
USE_QT=		core dbus gui location network qml quick webchannel webengine \
28
		widgets xml \
28
		widgets xml \
29
		buildtools_build qmake_build
29
		buildtools_build qmake_build
30
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
(-)deskutils/grantleetheme/Makefile (-2 / +2 lines)
Lines 10-19 COMMENT= KDE PIM grantleetheme Link Here
10
LICENSE=	LGPL21
10
LICENSE=	LGPL21
11
11
12
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 \
12
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 \
13
		pkgconfig tar:xz
13
		pkgconfig qt:5 tar:xz
14
USE_KDE=	attica auth codecs config configwidgets coreaddons ecm i18n \
14
USE_KDE=	attica auth codecs config configwidgets coreaddons ecm i18n \
15
		iconthemes newstuff service widgetsaddons xmlgui
15
		iconthemes newstuff service widgetsaddons xmlgui
16
USE_QT5=	core dbus gui network testlib widgets xml \
16
USE_QT=		core dbus gui network testlib widgets xml \
17
		buildtools_build qmake_build
17
		buildtools_build qmake_build
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
19
(-)deskutils/homerun/Makefile (-2 / +2 lines)
Lines 9-17 MASTER_SITES= KDE/unstable/${PORTNAME}/src/ Link Here
9
MAINTAINER=	yurkis@gmail.com
9
MAINTAINER=	yurkis@gmail.com
10
COMMENT=	Fullscreen launcher with content organized in tabs
10
COMMENT=	Fullscreen launcher with content organized in tabs
11
11
12
USES=		cmake:outsource compiler:c++0x gettext kde:4 tar:bzip2
12
USES=		cmake:outsource compiler:c++0x gettext kde:4 qt:4 tar:bzip2
13
USE_KDE=	kdelibs automoc4 workspace
13
USE_KDE=	kdelibs automoc4 workspace
14
USE_QT4=	moc_build qmake_build rcc_build uic_build corelib gui
14
USE_QT=		moc_build qmake_build rcc_build uic_build corelib gui
15
USE_XORG=	x11
15
USE_XORG=	x11
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
17
(-)deskutils/kaddressbook/Makefile (-2 / +2 lines)
Lines 14-27 LIB_DEPENDS= libassuan.so:security/libassuan \ Link Here
14
		libqgpgme.so:security/gpgme-qt5
14
		libqgpgme.so:security/gpgme-qt5
15
15
16
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 \
16
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 \
17
		tar:xz
17
		qt:5 tar:xz
18
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
18
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
19
		ecm i18n iconthemes itemmodels jobwidgets kcmutils kio parts \
19
		ecm i18n iconthemes itemmodels jobwidgets kcmutils kio parts \
20
		prison service sonnet textwidgets widgetsaddons xmlgui
20
		prison service sonnet textwidgets widgetsaddons xmlgui
21
# pim components
21
# pim components
22
USE_KDE+=	akonadi akonadicontacts akonadisearch contacts grantleetheme \
22
USE_KDE+=	akonadi akonadicontacts akonadisearch contacts grantleetheme \
23
		kdepim-apps-libs kontactinterface libkdepim pimcommon
23
		kdepim-apps-libs kontactinterface libkdepim pimcommon
24
USE_QT5=	core dbus gui network printsupport widgets xml \
24
USE_QT=		core dbus gui network printsupport widgets xml \
25
		buildtools_build qmake_build
25
		buildtools_build qmake_build
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
27
(-)deskutils/kalarm/Makefile (-2 / +2 lines)
Lines 10-16 COMMENT= Personal alarm scheduler Link Here
10
10
11
LIB_DEPENDS=	libical.so:devel/libical
11
LIB_DEPENDS=	libical.so:devel/libical
12
12
13
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 shebangfix tar:xz
13
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 shebangfix tar:xz
14
USE_KDE=	auth bookmarks codecs completion config configwidgets \
14
USE_KDE=	auth bookmarks codecs completion config configwidgets \
15
		coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
15
		coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
16
		itemmodels itemviews jobwidgets kcmutils kdelibs4support kio \
16
		itemmodels itemviews jobwidgets kcmutils kdelibs4support kio \
Lines 21-27 USE_KDE+= akonadi akonadicontacts akonadimime alarmcalendar calendarcore \ Link Here
21
		calendarutils contacts holidays identitymanagement \
21
		calendarutils contacts holidays identitymanagement \
22
		kdepim-apps-libs libkdepim mailcommon mailtransport mime \
22
		kdepim-apps-libs libkdepim mailcommon mailtransport mime \
23
		pimcommon pimtextedit imap
23
		pimcommon pimtextedit imap
24
USE_QT5=	core dbus gui network phonon4 printsupport widgets x11extras xml \
24
USE_QT=		core dbus gui network phonon4 printsupport widgets x11extras xml \
25
		buildtools_build qmake_build
25
		buildtools_build qmake_build
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
27
(-)deskutils/kcharselect-kde4/Makefile (-2 / +2 lines)
Lines 9-16 CATEGORIES= deskutils kde kde-kde4 Link Here
9
MAINTAINER=	kde@FreeBSD.org
9
MAINTAINER=	kde@FreeBSD.org
10
COMMENT=	Character selector for KDE
10
COMMENT=	Character selector for KDE
11
11
12
USES=		cmake:outsource kde:4 tar:xz
12
USES=		cmake:outsource kde:4 qt:4 tar:xz
13
USE_KDE=	automoc4 kdelibs
13
USE_KDE=	automoc4 kdelibs
14
USE_QT4=	qmake_build moc_build rcc_build uic_build
14
USE_QT=		qmake_build moc_build rcc_build uic_build
15
15
16
.include <bsd.port.mk>
16
.include <bsd.port.mk>
(-)deskutils/kcharselect/Makefile (-2 / +2 lines)
Lines 10-17 COMMENT= Character selector for KDE Link Here
10
BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
10
BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
11
		docbook-xml>0:textproc/docbook-xml
11
		docbook-xml>0:textproc/docbook-xml
12
12
13
USES=		cmake:outsource gettext kde:5 tar:xz
13
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
14
USE_KDE=	ecm bookmarks doctools i18n widgetsaddons xmlgui
14
USE_KDE=	ecm bookmarks doctools i18n widgetsaddons xmlgui
15
USE_QT5=	buildtools_build qmake_build widgets
15
USE_QT=		buildtools_build qmake_build widgets
16
16
17
.include <bsd.port.mk>
17
.include <bsd.port.mk>
(-)deskutils/kchmviewer/Makefile (-2 / +2 lines)
Lines 13-20 COMMENT= KDE viewer for CHM files Link Here
13
LIB_DEPENDS=	libchm.so:misc/chmlib \
13
LIB_DEPENDS=	libchm.so:misc/chmlib \
14
		libzip.so:archivers/libzip
14
		libzip.so:archivers/libzip
15
15
16
USES=		dos2unix qmake:outsource 
16
USES=		dos2unix qmake:outsource qt:5 
17
USE_QT5=	core dbus gui network printsupport webkit widgets xml \
17
USE_QT=		core dbus gui network printsupport webkit widgets xml \
18
		buildtools_build qmake_build
18
		buildtools_build qmake_build
19
USE_XORG=	x11
19
USE_XORG=	x11
20
20
(-)deskutils/kdeconnect/Makefile (-2 / +2 lines)
Lines 9-17 MASTER_SITES= KDE/unstable/kdeconnect/${PORTVERSION}/src/ Link Here
9
MAINTAINER=	yurkis@gmail.com
9
MAINTAINER=	yurkis@gmail.com
10
COMMENT=	Support for KDE to interface between your phone and your computer
10
COMMENT=	Support for KDE to interface between your phone and your computer
11
11
12
USES=		cmake:noninja compiler:c++0x gettext kde:4 tar:xz
12
USES=		cmake:noninja compiler:c++0x gettext kde:4 qt:4 tar:xz
13
USE_KDE=	kdelibs automoc4 workspace runtime
13
USE_KDE=	kdelibs automoc4 workspace runtime
14
USE_QT4=	corelib gui moc_build qmake_build uic_build rcc_build
14
USE_QT=		corelib gui moc_build qmake_build uic_build rcc_build
15
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
16
16
17
.include <bsd.port.mk>
17
.include <bsd.port.mk>
(-)deskutils/kdepim-addons/Makefile (-2 / +2 lines)
Lines 16-22 LIB_DEPENDS= libassuan.so:security/libassuan \ Link Here
16
		libqgpgme.so:security/gpgme-qt5
16
		libqgpgme.so:security/gpgme-qt5
17
17
18
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 \
18
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 \
19
		pkgconfig tar:xz
19
		pkgconfig qt:5 tar:xz
20
USE_KDE=	archive auth codecs completion config configwidgets coreaddons \
20
USE_KDE=	archive auth codecs completion config configwidgets coreaddons \
21
		dbusaddons ecm i18n iconthemes itemmodels itemviews jobwidgets \
21
		dbusaddons ecm i18n iconthemes itemmodels itemviews jobwidgets \
22
		kdeclarative khtml kio prison service sonnet syntaxhighlighting \
22
		kdeclarative khtml kio prison service sonnet syntaxhighlighting \
Lines 29-35 USE_KDE+= akonadi akonadicalendar akonadicontacts akonadiimportwizard \ Link Here
29
		kdepim-apps-libs libkdepim libkleo libksieve mailcommon \
29
		kdepim-apps-libs libkdepim libkleo libksieve mailcommon \
30
		mailimporter mailtransport messagelib mime pimcommon \
30
		mailimporter mailtransport messagelib mime pimcommon \
31
		pimtextedit tnef
31
		pimtextedit tnef
32
USE_QT5=	core dbus gui location network printsupport qml quick testlib \
32
USE_QT=		core dbus gui location network printsupport qml quick testlib \
33
		webchannel webengine widgets xml \
33
		webchannel webengine widgets xml \
34
		buildtools_build qmake_build
34
		buildtools_build qmake_build
35
USE_LDCONFIG=	yes
35
USE_LDCONFIG=	yes
(-)deskutils/kdepim-apps-libs/Makefile (-2 / +2 lines)
Lines 15-28 LIB_DEPENDS= libassuan.so:security/libassuan \ Link Here
15
		libgpgmepp.so:security/gpgme-cpp \
15
		libgpgmepp.so:security/gpgme-cpp \
16
		libqgpgme.so:security/gpgme-qt5
16
		libqgpgme.so:security/gpgme-qt5
17
17
18
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 tar:xz
18
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 qt:5 tar:xz
19
USE_KDE=	auth codecs completion config configwidgets coreaddons \
19
USE_KDE=	auth codecs completion config configwidgets coreaddons \
20
		dbusaddons ecm i18n iconthemes itemmodels jobwidgets \
20
		dbusaddons ecm i18n iconthemes itemmodels jobwidgets \
21
		kdewebkit kio service sonnet widgetsaddons xmlgui
21
		kdewebkit kio service sonnet widgetsaddons xmlgui
22
# pim components
22
# pim components
23
USE_KDE+=	akonadi akonadicontacts contacts grantleetheme  libkleo mime \
23
USE_KDE+=	akonadi akonadicontacts contacts grantleetheme  libkleo mime \
24
		pimcommon pimtextedit
24
		pimcommon pimtextedit
25
USE_QT5=	core dbus gui network testlib uitools webkit widgets xml \
25
USE_QT=		core dbus gui network testlib uitools webkit widgets xml \
26
		buildtools_build qmake_build
26
		buildtools_build qmake_build
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
28
(-)deskutils/kdepim-kde4/Makefile (-2 / +2 lines)
Lines 25-36 CONFLICTS_INSTALL= kdepim44-4.* Link Here
25
USE_GNOME=	libxml2 libxslt:build
25
USE_GNOME=	libxml2 libxslt:build
26
USE_KDE=	kdelibs pimlibs kactivities \
26
USE_KDE=	kdelibs pimlibs kactivities \
27
		akonadi automoc4 soprano nepomuk-widgets baloo
27
		akonadi automoc4 soprano nepomuk-widgets baloo
28
USES=		cmake:outsource grantlee:4 iconv kde:4 shebangfix tar:xz
28
USES=		cmake:outsource grantlee:4 iconv kde:4 qt:4 shebangfix tar:xz
29
SHEBANG_FILES=	agents/mailfilteragent/kconf_update/migrate-kmail-filters.pl \
29
SHEBANG_FILES=	agents/mailfilteragent/kconf_update/migrate-kmail-filters.pl \
30
		kalarm/*.pl kmail/kconf_update/*.pl \
30
		kalarm/*.pl kmail/kconf_update/*.pl \
31
		libkpgp/kconf_update/kpgp-3.1-upgrade-address-data.pl
31
		libkpgp/kconf_update/kpgp-3.1-upgrade-address-data.pl
32
USE_OPENLDAP=	yes
32
USE_OPENLDAP=	yes
33
USE_QT4=	corelib dbus declarative designer_build gui network opengl \
33
USE_QT=		corelib dbus declarative designer_build gui network opengl \
34
		qt3support script sql webkit xml \
34
		qt3support script sql webkit xml \
35
		qmake_build moc_build rcc_build uic_build
35
		qmake_build moc_build rcc_build uic_build
36
USE_XORG=	x11 xscrnsaver
36
USE_XORG=	x11 xscrnsaver
(-)deskutils/kdepim-runtime-kde4/Makefile (-2 / +2 lines)
Lines 21-31 LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ Link Here
21
21
22
CONFLICTS_INSTALL=	kdepim-runtime44-4.*
22
CONFLICTS_INSTALL=	kdepim-runtime44-4.*
23
23
24
USES=		cmake:outsource kde:4 shared-mime-info tar:xz
24
USES=		cmake:outsource kde:4 qt:4 shared-mime-info tar:xz
25
USE_GNOME=	libxml2 libxslt:build
25
USE_GNOME=	libxml2 libxslt:build
26
USE_KDE=	kdelibs pimlibs \
26
USE_KDE=	kdelibs pimlibs \
27
		akonadi automoc4
27
		akonadi automoc4
28
USE_QT4=	corelib dbus declarative designer_build gui network qtestlib \
28
USE_QT=		corelib dbus declarative designer_build gui network qtestlib \
29
		script xml xmlpatterns \
29
		script xml xmlpatterns \
30
		qmake_build moc_build rcc_build uic_build
30
		qmake_build moc_build rcc_build uic_build
31
USE_LDCONFIG=	yes
31
USE_LDCONFIG=	yes
(-)deskutils/kdepim-runtime/Makefile (-2 / +2 lines)
Lines 15-21 LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ Link Here
15
		libsasl2.so:security/cyrus-sasl2 \
15
		libsasl2.so:security/cyrus-sasl2 \
16
		libxerces-c-3.2.so:textproc/xerces-c3
16
		libxerces-c-3.2.so:textproc/xerces-c3
17
17
18
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
18
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 tar:xz
19
USE_KDE=	auth bookmarks codecs completion config configwidgets \
19
USE_KDE=	auth bookmarks codecs completion config configwidgets \
20
		coreaddons crash dbusaddons guiaddons holidays i18n iconthemes \
20
		coreaddons crash dbusaddons guiaddons holidays i18n iconthemes \
21
		itemmodels itemviews jobwidgets kcmutils kdelibs4support kio \
21
		itemmodels itemviews jobwidgets kcmutils kdelibs4support kio \
Lines 28-34 USE_KDE+= akonadi akonadicontacts akonadimime akonadinotes \ Link Here
28
		calendarutils contacts gapi identitymanagement imap \
28
		calendarutils contacts gapi identitymanagement imap \
29
		kontactinterface kpimdav mailtransport mbox mime pimcommon \
29
		kontactinterface kpimdav mailtransport mbox mime pimcommon \
30
		pimtextedit syndication
30
		pimtextedit syndication
31
USE_QT5=	core dbus gui location network printsupport qml quick speech \
31
USE_QT=		core dbus gui location network printsupport qml quick speech \
32
		script webchannel webengine widgets xml xmlpatterns \
32
		script webchannel webengine widgets xml xmlpatterns \
33
		buildtools_build qmake_build
33
		buildtools_build qmake_build
34
USE_LDCONFIG=	yes
34
USE_LDCONFIG=	yes
(-)deskutils/kdepimlibs-kde4/Makefile (-2 / +2 lines)
Lines 21-32 LIB_DEPENDS= libgpgme.so:security/gpgme \ Link Here
21
		libprison.so:graphics/prison \
21
		libprison.so:graphics/prison \
22
		libqjson.so:devel/qjson@qt4
22
		libqjson.so:devel/qjson@qt4
23
23
24
USES=		cmake:outsource kde:4 shared-mime-info shebangfix tar:xz
24
USES=		cmake:outsource kde:4 qt:4 shared-mime-info shebangfix tar:xz
25
USE_KDE=	kdelibs akonadi \
25
USE_KDE=	kdelibs akonadi \
26
		automoc4 ontologies soprano
26
		automoc4 ontologies soprano
27
SHEBANG_FILES=	mailtransport/kconf_update/migrate-transports.pl
27
SHEBANG_FILES=	mailtransport/kconf_update/migrate-transports.pl
28
USE_OPENLDAP=	yes
28
USE_OPENLDAP=	yes
29
USE_QT4=	corelib dbus declarative designer_build gui network sql xml \
29
USE_QT=		corelib dbus declarative designer_build gui network sql xml \
30
		qmake_build moc_build rcc_build uic_build
30
		qmake_build moc_build rcc_build uic_build
31
USE_LDCONFIG=	yes
31
USE_LDCONFIG=	yes
32
32
(-)deskutils/kdeplasma-addons-kde4/Makefile (-2 / +2 lines)
Lines 15-24 LIB_DEPENDS= libqalculate.so:math/libqalculate \ Link Here
15
		libqjson.so:devel/qjson@qt4
15
		libqjson.so:devel/qjson@qt4
16
CONFLICTS_INSTALL=	plasma-applet-icontasks-0.[89].*
16
CONFLICTS_INSTALL=	plasma-applet-icontasks-0.[89].*
17
17
18
USES=		cmake:outsource eigen:2 kde:4 pkgconfig shared-mime-info tar:xz
18
USES=		cmake:outsource eigen:2 kde:4 pkgconfig qt:4 shared-mime-info tar:xz
19
USE_KDE=	kdelibs libkexiv2 pimlibs workspace \
19
USE_KDE=	kdelibs libkexiv2 pimlibs workspace \
20
		akonadi attica automoc4 qimageblitz soprano
20
		akonadi attica automoc4 qimageblitz soprano
21
USE_QT4=	corelib dbus declarative gui network script sql webkit \
21
USE_QT=		corelib dbus declarative gui network script sql webkit \
22
		qmake_build moc_build rcc_build uic_build
22
		qmake_build moc_build rcc_build uic_build
23
USE_XORG=	x11 xrender xtst
23
USE_XORG=	x11 xrender xtst
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
(-)deskutils/keditbookmarks/Makefile (-2 / +2 lines)
Lines 7-17 CATEGORIES= deskutils kde kde-applications Link Here
7
MAINTAINER=	kde@FreeBSD.org
7
MAINTAINER=	kde@FreeBSD.org
8
COMMENT=	Bookmark Organizer and Editor
8
COMMENT=	Bookmark Organizer and Editor
9
9
10
USES=		cmake:outsource gettext kde:5 tar:xz
10
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
11
USE_KDE=	auth bookmarks codecs completion config configwidgets \
11
USE_KDE=	auth bookmarks codecs completion config configwidgets \
12
		coreaddons ecm i18n iconthemes jobwidgets kio parts service \
12
		coreaddons ecm i18n iconthemes jobwidgets kio parts service \
13
		sonnet textwidgets widgetsaddons windowsystem xmlgui
13
		sonnet textwidgets widgetsaddons windowsystem xmlgui
14
USE_QT5=	core dbus gui network widgets xml \
14
USE_QT=		core dbus gui network widgets xml \
15
		buildtools_build qmake_build
15
		buildtools_build qmake_build
16
16
17
.include <bsd.port.mk>
17
.include <bsd.port.mk>
(-)deskutils/kfind/Makefile (-2 / +2 lines)
Lines 7-19 CATEGORIES= deskutils kde kde-applications Link Here
7
MAINTAINER=	kde@FreeBSD.org
7
MAINTAINER=	kde@FreeBSD.org
8
COMMENT=	Find files and folders
8
COMMENT=	Find files and folders
9
9
10
USES=		cmake:outsource gettext kde:5 tar:xz
10
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
11
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
11
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
12
		coreaddons crash ecm guiaddons i18n iconthemes itemviews \
12
		coreaddons crash ecm guiaddons i18n iconthemes itemviews \
13
		jobwidgets kdelibs4support kio notifications parts service \
13
		jobwidgets kdelibs4support kio notifications parts service \
14
		solid sonnet textwidgets unitconversion widgetsaddons \
14
		solid sonnet textwidgets unitconversion widgetsaddons \
15
		windowsystem xmlgui
15
		windowsystem xmlgui
16
USE_QT5=	core dbus gui network printsupport widgets xml \
16
USE_QT=		core dbus gui network printsupport widgets xml \
17
		buildtools_build qmake_build
17
		buildtools_build qmake_build
18
18
19
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)deskutils/kmail-account-wizard/Makefile (-2 / +2 lines)
Lines 13-19 LIB_DEPENDS= libassuan.so:security/libassuan \ Link Here
13
		libgpgmepp.so:security/gpgme-cpp \
13
		libgpgmepp.so:security/gpgme-cpp \
14
		libqgpgme.so:security/gpgme-qt5
14
		libqgpgme.so:security/gpgme-qt5
15
15
16
USES=		cmake:outsource compiler:c++11-lib gettext  kde:5 tar:xz
16
USES=		cmake:outsource compiler:c++11-lib gettext  kde:5 qt:5 tar:xz
17
USE_KDE=	attica auth codecs config configwidgets coreaddons crash \
17
USE_KDE=	attica auth codecs config configwidgets coreaddons crash \
18
		dbusaddons ecm i18n itemmodels itemviews kcmutils kio kross \
18
		dbusaddons ecm i18n itemmodels itemviews kcmutils kio kross \
19
		newstuff notifications notifyconfig service texteditor wallet \
19
		newstuff notifications notifyconfig service texteditor wallet \
Lines 21-27 USE_KDE= attica auth codecs config configwidgets coreaddons crash \ Link Here
21
# pim components
21
# pim components
22
USE_KDE+=	akonadi akonadimime identitymanagement ldap libkdepim libkleo \
22
USE_KDE+=	akonadi akonadimime identitymanagement ldap libkdepim libkleo \
23
		mailtransport mime pimcommon pimtextedit
23
		mailtransport mime pimcommon pimtextedit
24
USE_QT5=	core dbus gui network script widgets xml \
24
USE_QT=		core dbus gui network script widgets xml \
25
		buildtools_build qmake_build
25
		buildtools_build qmake_build
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
27
(-)deskutils/kmail/Makefile (-2 / +2 lines)
Lines 20-26 RUN_DEPENDS= accountwizard:deskutils/kmail-account-wizard \ Link Here
20
		mboximporter:deskutils/mbox-importer \
20
		mboximporter:deskutils/mbox-importer \
21
		sieveeditor:deskutils/pim-sieve-editor
21
		sieveeditor:deskutils/pim-sieve-editor
22
22
23
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
23
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 tar:xz
24
USE_KDE=	auth bookmarks codecs completion config configwidgets \
24
USE_KDE=	auth bookmarks codecs completion config configwidgets \
25
		coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
25
		coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
26
		itemmodels itemviews jobwidgets kcmutils kdelibs4support kio \
26
		itemmodels itemviews jobwidgets kcmutils kdelibs4support kio \
Lines 33-39 USE_KDE+= akonadi akonadicontacts akonadimime akonadisearch calendarcore \ Link Here
33
		identitymanagement libkdepim libkleo libksieve \
33
		identitymanagement libkdepim libkleo libksieve \
34
		kontactinterface ldap mailcommon mailtransport messagelib \
34
		kontactinterface ldap mailcommon mailtransport messagelib \
35
		mime pimcommon pimtextedit tnef
35
		mime pimcommon pimtextedit tnef
36
USE_QT5=	core dbus gui location network printsupport qml quick \
36
USE_QT=		core dbus gui location network printsupport qml quick \
37
		webchannel webengine widgets xml \
37
		webchannel webengine widgets xml \
38
		buildtools_build qmake_build
38
		buildtools_build qmake_build
39
USE_LDCONFIG=	yes
39
USE_LDCONFIG=	yes
(-)deskutils/knotes/Makefile (-2 / +2 lines)
Lines 11-17 LICENSE= LGPL21 Link Here
11
11
12
LIB_DEPENDS=	libical.so:devel/libical
12
LIB_DEPENDS=	libical.so:devel/libical
13
13
14
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 tar:xz
14
USES=		cmake:outsource compiler:c++11-lib gettext grantlee:5 kde:5 qt:5 tar:xz
15
USE_KDE=	attica auth bookmarks codecs completion config configwidgets \
15
USE_KDE=	attica auth bookmarks codecs completion config configwidgets \
16
		coreaddons crash dbusaddons dnssd globalaccel guiaddons i18n \
16
		coreaddons crash dbusaddons dnssd globalaccel guiaddons i18n \
17
		iconthemes itemmodels itemviews jobwidgets kcmutils \
17
		iconthemes itemmodels itemviews jobwidgets kcmutils \
Lines 22-28 USE_KDE= attica auth bookmarks codecs completion config configwidgets \ Link Here
22
USE_KDE+=	akonadi akonadicontacts akonadinotes akonadisearch  \
22
USE_KDE+=	akonadi akonadicontacts akonadinotes akonadisearch  \
23
		calendarcore calendarutils contacts kontactinterface libkdepim \
23
		calendarcore calendarutils contacts kontactinterface libkdepim \
24
		mime pimcommon pimtextedit
24
		mime pimcommon pimtextedit
25
USE_QT5=	core dbus gui network printsupport widgets x11extras xml \
25
USE_QT=		core dbus gui network printsupport widgets x11extras xml \
26
		buildtools_build qmake_build
26
		buildtools_build qmake_build
27
USE_XORG=	ice sm x11 xext
27
USE_XORG=	ice sm x11 xext
28
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
(-)deskutils/kontact/Makefile (-2 / +2 lines)
Lines 9-21 COMMENT= KDE Personal Information Manager Link Here
9
9
10
LICENSE=	LGPL21
10
LICENSE=	LGPL21
11
11
12
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
12
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 tar:xz
13
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
13
USE_KDE=	auth codecs completion config configwidgets coreaddons crash \
14
		ecm i18n iconthemes itemmodels jobwidgets kcmutils kio parts \
14
		ecm i18n iconthemes itemmodels jobwidgets kcmutils kio parts \
15
		service sonnet textwidgets widgetsaddons windowsystem xmlgui
15
		service sonnet textwidgets widgetsaddons windowsystem xmlgui
16
# pim components
16
# pim components
17
USE_KDE+=	akonadi grantleetheme kdepim-apps-libs kontactinterface libkdepim
17
USE_KDE+=	akonadi grantleetheme kdepim-apps-libs kontactinterface libkdepim
18
USE_QT5=	core dbus gui location network qml quick webchannel webengine \
18
USE_QT=		core dbus gui location network qml quick webchannel webengine \
19
		widgets xml \
19
		widgets xml \
20
		buildtools_build qmake_build
20
		buildtools_build qmake_build
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
(-)deskutils/korganizer/Makefile (-2 / +2 lines)
Lines 10-16 COMMENT= Calendar and scheduling Program Link Here
10
10
11
LIB_DEPENDS=	libical.so:devel/libical
11
LIB_DEPENDS=	libical.so:devel/libical
12
12
13
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
13
USES=		cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 tar:xz
14
USE_KDE=	attica auth bookmarks codecs completion config configwidgets \
14
USE_KDE=	attica auth bookmarks codecs completion config configwidgets \
15
		coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
15
		coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
16
		itemmodels itemviews jobwidgets kcmutils kdelibs4support kio \
16
		itemmodels itemviews jobwidgets kcmutils kdelibs4support kio \
Lines 22-28 USE_KDE+= akonadi akonadicalendar akonadicontacts akonadimime \ Link Here
22
		calendarutils contacts eventviews holidays identitymanagement \
22
		calendarutils contacts eventviews holidays identitymanagement \
23
		incidenceeditor kdepim-apps-libs kontactinterface ldap \
23
		incidenceeditor kdepim-apps-libs kontactinterface ldap \
24
		libkdepim mailtransport mime pimcommon pimtextedit
24
		libkdepim mailtransport mime pimcommon pimtextedit
25
USE_QT5=	core dbus gui network phonon4 printsupport widgets xml \
25
USE_QT=		core dbus gui network phonon4 printsupport widgets xml \
26
		buildtools_build qmake_build
26
		buildtools_build qmake_build
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
28
(-)deskutils/kruler-kde4/Makefile (-2 / +2 lines)
Lines 8-16 CATEGORIES= deskutils kde kde-kde4 Link Here
8
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
9
COMMENT=	KDE 4 screen ruler
9
COMMENT=	KDE 4 screen ruler
10
10
11
USES=		cmake:outsource kde:4 tar:xz
11
USES=		cmake:outsource kde:4 qt:4 tar:xz
12
USE_KDE=	kdelibs automoc4
12
USE_KDE=	kdelibs automoc4
13
USE_QT4=	moc_build qmake_build rcc_build uic_build
13
USE_QT=		moc_build qmake_build rcc_build uic_build
14
USE_XORG=	x11
14
USE_XORG=	x11
15
15
16
.include <bsd.port.mk>
16
.include <bsd.port.mk>
(-)deskutils/kruler/Makefile (-2 / +2 lines)
Lines 7-16 CATEGORIES= deskutils kde kde-applications Link Here
7
MAINTAINER=	kde@FreeBSD.org
7
MAINTAINER=	kde@FreeBSD.org
8
COMMENT=	KDE screen ruler
8
COMMENT=	KDE screen ruler
9
9
10
USES=		cmake:outsource gettext kde:5 tar:xz
10
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
11
USE_KDE=	auth codecs config configwidgets coreaddons ecm doctools i18n \
11
USE_KDE=	auth codecs config configwidgets coreaddons ecm doctools i18n \
12
		notifications widgetsaddons windowsystem xmlgui
12
		notifications widgetsaddons windowsystem xmlgui
13
USE_QT5=	core dbus gui widgets x11extras xml \
13
USE_QT=		core dbus gui widgets x11extras xml \
14
		buildtools_build qmake_build
14
		buildtools_build qmake_build
15
USE_XORG=	x11 xcb
15
USE_XORG=	x11 xcb
16
16
(-)deskutils/ksshaskpass/Makefile (-2 / +2 lines)
Lines 12-20 MAINTAINER= swills@FreeBSD.org Link Here
12
COMMENT=	KDE 4 version of ssh-askpass with KWallet support
12
COMMENT=	KDE 4 version of ssh-askpass with KWallet support
13
13
14
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
14
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
15
USES=		cmake kde:4
15
USES=		cmake kde:4 qt:4
16
USE_KDE=	kdelibs automoc4
16
USE_KDE=	kdelibs automoc4
17
USE_QT4=	moc_build uic_build qmake_build rcc_build
17
USE_QT=		moc_build uic_build qmake_build rcc_build
18
18
19
SUB_FILES=	pkg-message
19
SUB_FILES=	pkg-message
20
20
(-)deskutils/latte-dock/Makefile (-2 / +2 lines)
Lines 13-25 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
13
13
14
LIB_DEPENDS=	libxcb-util.so:x11/xcb-util
14
LIB_DEPENDS=	libxcb-util.so:x11/xcb-util
15
15
16
USES=		cmake:outsource gettext kde:5 tar:xz
16
USES=		cmake:outsource gettext kde:5 qt:5 tar:xz
17
USE_KDE=	activities archive auth codecs config configwidgets \
17
USE_KDE=	activities archive auth codecs config configwidgets \
18
		coreaddons crash dbusaddons globalaccel i18n iconthemes \
18
		coreaddons crash dbusaddons globalaccel i18n iconthemes \
19
		kdeclarative notifications package plasma-framework service \
19
		kdeclarative notifications package plasma-framework service \
20
		wayland widgetsaddons windowsystem xmlgui \
20
		wayland widgetsaddons windowsystem xmlgui \
21
		ecm_build
21
		ecm_build
22
USE_QT5=	core dbus gui network qml quick widgets x11extras xml \
22
USE_QT=		core dbus gui network qml quick widgets x11extras xml \
23
		buildtools_build qmake_build
23
		buildtools_build qmake_build
24
USE_XORG=	ice sm x11 xcb xext
24
USE_XORG=	ice sm x11 xcb xext
25
25
(-)deskutils/launchy/Makefile (-2 / +2 lines)
Lines 16-24 LICENSE_FILE= ${WRKSRC}/LICENSE.txt Link Here
16
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
16
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
17
RUN_DEPENDS=	${LOCALBASE}/bin/xdg-open:devel/xdg-utils
17
RUN_DEPENDS=	${LOCALBASE}/bin/xdg-open:devel/xdg-utils
18
18
19
USES=		dos2unix qmake
19
USES=		dos2unix qmake qt:4
20
DOS2UNIX_FILES=	readme.lyx readme.txt
20
DOS2UNIX_FILES=	readme.lyx readme.txt
21
USE_QT4=	moc_build rcc_build uic_build gui network
21
USE_QT=		moc_build rcc_build uic_build gui network
22
LDFLAGS+=	-lX11
22
LDFLAGS+=	-lX11
23
PORTDOCS=	*
23
PORTDOCS=	*
24
24
(-)deskutils/libkdepim/Makefile (-2 / +2 lines)
Lines 11-23 LICENSE= LGPL21 Link Here
11
11
12
LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
12
LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
13
13
14
USES=		cmake:outsource gettext compiler:c++11-lib kde:5 tar:xz
14
USES=		cmake:outsource gettext compiler:c++11-lib kde:5 qt:5 tar:xz
15
USE_KDE=	auth codecs completion config configwidgets coreaddons ecm \
15
USE_KDE=	auth codecs completion config configwidgets coreaddons ecm \
16
		i18n iconthemes itemmodels itemviews jobwidgets kcmutils \
16
		i18n iconthemes itemmodels itemviews jobwidgets kcmutils \
17
		kio service wallet widgetsaddons
17
		kio service wallet widgetsaddons
18
# pim components
18
# pim components
19
USE_KDE+=	akonadi akonadicontacts akonadisearch contacts  ldap mime
19
USE_KDE+=	akonadi akonadicontacts akonadisearch contacts  ldap mime
20
USE_QT5=	core dbus designer gui network testlib uiplugin uitools \
20
USE_QT=		core dbus designer gui network testlib uiplugin uitools \
21
		widgets xml \
21
		widgets xml \
22
		buildtools_build qmake_build
22
		buildtools_build qmake_build
23
23
(-)deskutils/lumina-archiver/Makefile (-3 / +3 lines)
Lines 22-29 I18N_DESC= Install localization files Link Here
22
22
23
MAKE_JOBS_UNSAFE=yes
23
MAKE_JOBS_UNSAFE=yes
24
24
25
USES=		qmake
25
USES=		qmake qt:5
26
USE_QT5=	core gui widgets network svg \
26
USE_QT=		core gui widgets network svg \
27
		buildtools_build x11extras concurrent multimedia
27
		buildtools_build x11extras concurrent multimedia
28
USE_GITHUB=	yes
28
USE_GITHUB=	yes
29
GH_ACCOUNT=	trueos
29
GH_ACCOUNT=	trueos
Lines 32-38 GH_TAGNAME= b6536c1547571ae8dd0618bed752e2e0025bf2a7 Link Here
32
WRKSRC_SUBDIR=	src-qt5/desktop-utils/${PORTNAME}
32
WRKSRC_SUBDIR=	src-qt5/desktop-utils/${PORTNAME}
33
33
34
.if${PORT_OPTIONS:MI18N}
34
.if${PORT_OPTIONS:MI18N}
35
USE_QT5+=	linguist_build
35
USE_QT+=	linguist_build
36
QMAKE_ARGS+=CONFIG+=WITH_I18N
36
QMAKE_ARGS+=CONFIG+=WITH_I18N
37
.endif
37
.endif
38
38
(-)deskutils/lumina-calculator/Makefile (-3 / +3 lines)
Lines 27-36 I18N_DESC= Install localization files Link Here
27
27
28
MAKE_JOBS_UNSAFE=yes
28
MAKE_JOBS_UNSAFE=yes
29
29
30
USES=		qmake
30
USES=		qmake qt:5
31
USE_GL=		gl
31
USE_GL=		gl
32
USE_XORG=	x11 xdamage xcb
32
USE_XORG=	x11 xdamage xcb
33
USE_QT5=	core gui widgets network svg \
33
USE_QT=		core gui widgets network svg \
34
		buildtools_build x11extras concurrent multimedia
34
		buildtools_build x11extras concurrent multimedia
35
USE_GITHUB=	yes
35
USE_GITHUB=	yes
36
GH_ACCOUNT=	trueos
36
GH_ACCOUNT=	trueos
Lines 39-45 GH_TAGNAME= b6536c1547571ae8dd0618bed752e2e0025bf2a7 Link Here
39
WRKSRC_SUBDIR=	src-qt5/desktop-utils/${PORTNAME}
39
WRKSRC_SUBDIR=	src-qt5/desktop-utils/${PORTNAME}
40
40
41
.if${PORT_OPTIONS:MI18N}
41
.if${PORT_OPTIONS:MI18N}
42
USE_QT5+=	linguist