aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-06-28 17:39:53 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-06-28 17:39:53 +0000
commitb1a1d38bf9ef78334b640d30046388a9c055c3a9 (patch)
tree7b9785f1f0c244da1f5b69a2a610e3f37eb786a8 /multimedia
parentbc77780d41178cf3d0327c79ac10737af704f236 (diff)
downloadports-b1a1d38bf9ef78334b640d30046388a9c055c3a9.tar.gz
ports-b1a1d38bf9ef78334b640d30046388a9c055c3a9.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/2mandvd/Makefile4
-rw-r--r--multimedia/QtAV/Makefile4
-rw-r--r--multimedia/abby/Makefile4
-rw-r--r--multimedia/avidemux/Makefile.common4
-rw-r--r--multimedia/baka-mplayer/Makefile7
-rw-r--r--multimedia/bino/Makefile4
-rw-r--r--multimedia/clipgrab/Makefile4
-rw-r--r--multimedia/dragon-kde4/Makefile4
-rw-r--r--multimedia/dragon/Makefile4
-rw-r--r--multimedia/dvbcut/Makefile6
-rw-r--r--multimedia/gstreamer-qt4/Makefile4
-rw-r--r--multimedia/gstreamer1-qt/Makefile6
-rw-r--r--multimedia/k9copy-kde4/Makefile4
-rw-r--r--multimedia/kaffeine/Makefile4
-rw-r--r--multimedia/kamoso/Makefile4
-rw-r--r--multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile4
-rw-r--r--multimedia/kdemultimedia-ffmpegthumbs/Makefile4
-rw-r--r--multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile4
-rw-r--r--multimedia/kdemultimedia/Makefile4
-rw-r--r--multimedia/kdenlive-kde4/Makefile4
-rw-r--r--multimedia/kdenlive/Makefile4
-rw-r--r--multimedia/kf5-kmediaplayer/Makefile4
-rw-r--r--multimedia/kmplayer-kde4/Makefile4
-rw-r--r--multimedia/kplayer-kde4/Makefile4
-rw-r--r--multimedia/mediadownloader/Makefile4
-rw-r--r--multimedia/minitube/Makefile7
-rw-r--r--multimedia/mkvtoolnix/Makefile4
-rw-r--r--multimedia/mlt-qt4/Makefile3
-rw-r--r--multimedia/mlt-qt5/Makefile3
-rw-r--r--multimedia/mpc-qt/Makefile4
-rw-r--r--multimedia/mythtv/Makefile5
-rw-r--r--multimedia/obs-studio/Makefile4
-rw-r--r--multimedia/phonon-designerplugin/Makefile8
-rw-r--r--multimedia/phonon-gstreamer/Makefile8
-rw-r--r--multimedia/phonon-vlc/Makefile8
-rw-r--r--multimedia/phonon-xine/Makefile4
-rw-r--r--multimedia/phonon/Makefile8
-rw-r--r--multimedia/py-openlp/Makefile4
-rw-r--r--multimedia/py-qt4-multimedia/Makefile4
-rw-r--r--multimedia/py-qt4-phonon/Makefile4
-rw-r--r--multimedia/py-qt5-multimedia/Makefile4
-rw-r--r--multimedia/py-qt5-multimediawidgets/Makefile4
-rw-r--r--multimedia/qmmp-plugin-pack-qt5/Makefile7
-rw-r--r--multimedia/qmmp-plugin-pack/Makefile10
-rw-r--r--multimedia/qmmp-qt5/Makefile28
-rw-r--r--multimedia/qmmp/Makefile31
-rw-r--r--multimedia/qt4-mobility/Makefile16
-rw-r--r--multimedia/qt4-multimedia/Makefile4
-rw-r--r--multimedia/qt5-multimedia/Makefile5
-rw-r--r--multimedia/shotcut/Makefile7
-rw-r--r--multimedia/simplescreenrecorder/Makefile4
-rw-r--r--multimedia/smplayer-skins/Makefile4
-rw-r--r--multimedia/smplayer-themes/Makefile4
-rw-r--r--multimedia/smplayer/Makefile10
-rw-r--r--multimedia/smtube/Makefile10
-rw-r--r--multimedia/subtitlecomposer-kde4/Makefile4
-rw-r--r--multimedia/umplayer/Makefile4
-rw-r--r--multimedia/vlc/Makefile6
-rw-r--r--multimedia/webcamoid/Makefile4
-rw-r--r--multimedia/webvfx-qt5/Makefile4
60 files changed, 194 insertions, 161 deletions
diff --git a/multimedia/2mandvd/Makefile b/multimedia/2mandvd/Makefile
index d2bdfb97469b..7e50401b3ef1 100644
--- a/multimedia/2mandvd/Makefile
+++ b/multimedia/2mandvd/Makefile
@@ -30,9 +30,9 @@ RUN_DEPENDS= sox:audio/sox \
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= desktop-file-utils gmake perl5 qmake:norecursive shebangfix
+USES= desktop-file-utils gmake perl5 qmake:norecursive qt:4 shebangfix
SHEBANG_FILES= fake.pl
-USE_QT4= corelib gui opengl \
+USE_QT= corelib gui opengl \
linguisttools_build moc_build rcc_build uic_build
USE_GL= glu
USE_SDL= sdl
diff --git a/multimedia/QtAV/Makefile b/multimedia/QtAV/Makefile
index ca8c3deeb3b0..43aab87c2c0d 100644
--- a/multimedia/QtAV/Makefile
+++ b/multimedia/QtAV/Makefile
@@ -16,9 +16,9 @@ LICENSE_FIKE= ${WRKSRC}/lgpl-2.1.txt
LIB_DEPENDS= libass.so:multimedia/libass \
libavcodec.so:multimedia/ffmpeg
-USES= qmake:outsource
+USES= qmake:outsource qt:5
USE_GL= gl
-USE_QT5= core gui network opengl qml quick sql widgets \
+USE_QT= core gui network opengl qml quick sql widgets \
buildtools_build qmake_build
USE_XORG= x11 xext xv
diff --git a/multimedia/abby/Makefile b/multimedia/abby/Makefile
index eda90c7bd279..8dc75b7266ee 100644
--- a/multimedia/abby/Makefile
+++ b/multimedia/abby/Makefile
@@ -13,8 +13,8 @@ COMMENT= Front-end for c/clive
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= qmake tar:bzip2
-USE_QT4= gui network xml moc_build rcc_build uic_build
+USES= qmake qt:4 tar:bzip2
+USE_QT= gui network xml moc_build rcc_build uic_build
PLIST_FILES= bin/abby
diff --git a/multimedia/avidemux/Makefile.common b/multimedia/avidemux/Makefile.common
index da6af75fad01..91a2fc77f5ce 100644
--- a/multimedia/avidemux/Makefile.common
+++ b/multimedia/avidemux/Makefile.common
@@ -14,7 +14,6 @@ LIB_DEPENDS+= libmad.so:audio/libmad \
LICENSE= GPLv2
USE_GNOME= libxml2
-USE_QT4= # empty
OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME:C/-.*//}/options
@@ -96,7 +95,8 @@ PLIST_SUB+= GTK="@comment "
.endif
.if ${PORT_OPTIONS:MQT4}
-USE_QT4= qmake_build moc_build rcc_build uic_build linguist_build gui
+USES+= qt:4
+USE_QT= qmake_build moc_build rcc_build uic_build linguist_build gui
PLIST_SUB+= QT4=""
.else
CMAKE_ARGS+= -DQT4:BOOL=OFF
diff --git a/multimedia/baka-mplayer/Makefile b/multimedia/baka-mplayer/Makefile
index 9a5cd1e35e1e..c8c5569b4786 100644
--- a/multimedia/baka-mplayer/Makefile
+++ b/multimedia/baka-mplayer/Makefile
@@ -17,15 +17,16 @@ USE_GITHUB= yes
GH_ACCOUNT= u8sand
GH_PROJECT= Baka-MPlayer
-USES= compiler:c++11-lib pkgconfig qmake
-USE_QT5= qmake_build buildtools_build gui network svg widgets x11extras
+USES= compiler:c++11-lib pkgconfig qmake qt:5
+USE_QT= qmake_build buildtools_build gui network svg widgets x11extras
QMAKE_SOURCE_PATH=${WRKSRC}/src
QMAKE_ARGS= lupdate="${LUPDATE}" lrelease="${LRELEASE}"
OPTIONS_DEFINE= DOCS NLS NOTO
OPTIONS_SUB= yes
-NLS_USE= QT5=linguisttools_build
+NLS_USES= qt:5
+NLS_USE= QT=linguisttools_build
NLS_QMAKE_ON= CONFIG+="install_translations"
NOTO_DESC= Original look with Noto Sans font
NOTO_RUN_DEPENDS= noto>0:x11-fonts/noto
diff --git a/multimedia/bino/Makefile b/multimedia/bino/Makefile
index 8e93d605cfe8..1b2ae65f2f4a 100644
--- a/multimedia/bino/Makefile
+++ b/multimedia/bino/Makefile
@@ -17,11 +17,11 @@ LIB_DEPENDS= libass.so:multimedia/libass \
libavformat.so:multimedia/ffmpeg \
libopenal.so:audio/openal-soft
-USES= autoreconf desktop-file-utils gmake iconv pkgconfig tar:xz
+USES= autoreconf desktop-file-utils gmake iconv pkgconfig qt:5 tar:xz
USE_GL= gl glu glew
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
-USE_QT5= buildtools_build core gui opengl widgets
+USE_QT= buildtools_build core gui opengl widgets
USE_CXXSTD= c++11
# no port fow equalizer now, lirc detecting not working
diff --git a/multimedia/clipgrab/Makefile b/multimedia/clipgrab/Makefile
index ec1d41d9afc4..7ea8c02c6764 100644
--- a/multimedia/clipgrab/Makefile
+++ b/multimedia/clipgrab/Makefile
@@ -11,8 +11,8 @@ COMMENT= Program to download videos from YouTube and etc
LICENSE= GPLv3
-USES= qmake tar:bzip2
-USE_QT4= gui xml uic_build moc_build \
+USES= qmake qt:4 tar:bzip2
+USE_QT= gui xml uic_build moc_build \
rcc_build network dbus webkit
PLIST_FILES= bin/${PORTNAME} \
diff --git a/multimedia/dragon-kde4/Makefile b/multimedia/dragon-kde4/Makefile
index ab2f75197435..d89f5185c545 100644
--- a/multimedia/dragon-kde4/Makefile
+++ b/multimedia/dragon-kde4/Makefile
@@ -11,8 +11,8 @@ COMMENT= KDE multimedia player with a focus on simplicity
LICENSE= GPLv2
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= automoc4 kdelibs
-USE_QT4= phonon moc_build qmake_build rcc_build uic_build
+USE_QT= phonon moc_build qmake_build rcc_build uic_build
.include <bsd.port.mk>
diff --git a/multimedia/dragon/Makefile b/multimedia/dragon/Makefile
index 06b7d05887b3..358004a09807 100644
--- a/multimedia/dragon/Makefile
+++ b/multimedia/dragon/Makefile
@@ -11,12 +11,12 @@ COMMENT= KDE multimedia player with a focus on simplicity
LICENSE= GPLv2
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons doctools ecm kio service sonnet textwidgets i18n \
iconthemes jobwidgets notifications parts solid widgetsaddons \
windowsystem xmlgui
-USE_QT5= core dbus gui network phonon4 widgets xml \
+USE_QT= core dbus gui network phonon4 widgets xml \
buildtools_build qmake_build
.include <bsd.port.mk>
diff --git a/multimedia/dvbcut/Makefile b/multimedia/dvbcut/Makefile
index d72a937dbbfd..f5be84cb02df 100644
--- a/multimedia/dvbcut/Makefile
+++ b/multimedia/dvbcut/Makefile
@@ -39,8 +39,10 @@ OPTIONS_RADIO= QT
OPTIONS_RADIO_QT= QT4 QT5
OPTIONS_DEFAULT= QT5
-QT4_USE= QT4=corelib,gui,xml,qt3support,linguisttools_build,moc_build,rcc_build,uic_build
-QT5_USE= QT5=core,gui,widgets,xml,buildtools_build,linguisttools_build GL=gl
+QT4_USES= qt:4
+QT4_USE= QT=corelib,gui,xml,qt3support,linguisttools_build,moc_build,rcc_build,uic_build
+QT5_USES= qt:5
+QT5_USE= QT=core,gui,widgets,xml,buildtools_build,linguisttools_build GL=gl
post-build:
@${SED} -e 's;@prefix@;${PREFIX};' \
diff --git a/multimedia/gstreamer-qt4/Makefile b/multimedia/gstreamer-qt4/Makefile
index d00dd69c2e10..022e2a7fe438 100644
--- a/multimedia/gstreamer-qt4/Makefile
+++ b/multimedia/gstreamer-qt4/Makefile
@@ -17,12 +17,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
-USES= bison cmake:noninja gmake kde:4 pathfix pkgconfig tar:bzip2
+USES= bison cmake:noninja gmake kde:4 pathfix pkgconfig qt:4 tar:bzip2
USE_LDCONFIG= yes
USE_GSTREAMER= yes
USE_GNOME= glib20
USE_KDE= automoc4
-USE_QT4= corelib gui opengl declarative \
+USE_QT= corelib gui opengl declarative \
qmake_build moc_build rcc_build uic_build qtestlib_build
PLIST_SUB= VERSION="${PORTVERSION}" GST_VERSION="${GST_VERSION}"
diff --git a/multimedia/gstreamer1-qt/Makefile b/multimedia/gstreamer1-qt/Makefile
index f27bbe1eaa07..c673cd508192 100644
--- a/multimedia/gstreamer1-qt/Makefile
+++ b/multimedia/gstreamer1-qt/Makefile
@@ -30,11 +30,13 @@ CMAKE_OFF= USE_GST_PLUGIN_DIR USE_QT_PLUGIN_DIR
CMAKE_ARGS= -DQT_VERSION=${FLAVOR:C/qt//}
. if ${FLAVOR} == qt4
-USE_QT4= corelib gui opengl declarative script \
+USES+= qt:4
+USE_QT= corelib gui opengl declarative script \
qmake_build moc_build rcc_build uic_build qtestlib_build
PLIST_SUB= QT4_ONLY="" QT5_ONLY="@comment "
. else
-USE_QT5= buildtools_build qmake_build core gui network opengl \
+USES+= qt:5
+USE_QT= buildtools_build qmake_build core gui network opengl \
qml quick testlib widgets
QTVER_SUFFIX= 5
PLIST_SUB= QT4_ONLY="@comment " QT5_ONLY=""
diff --git a/multimedia/k9copy-kde4/Makefile b/multimedia/k9copy-kde4/Makefile
index 21a31c1a3899..b0aa0498b467 100644
--- a/multimedia/k9copy-kde4/Makefile
+++ b/multimedia/k9copy-kde4/Makefile
@@ -17,9 +17,9 @@ LIB_DEPENDS= libxine.so:multimedia/libxine \
libmpeg2.so:multimedia/libmpeg2 \
libavcodec0.so:multimedia/ffmpeg0
-USES= cmake gettext kde:4 localbase
+USES= cmake gettext kde:4 localbase qt:4
USE_KDE= kdelibs automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
LLD_UNSAFE= yes
OPTIONS_DEFINE= MENCODER MPLAYER DVDAUTHOR
diff --git a/multimedia/kaffeine/Makefile b/multimedia/kaffeine/Makefile
index ccf9ef124f76..bfea99467b6f 100644
--- a/multimedia/kaffeine/Makefile
+++ b/multimedia/kaffeine/Makefile
@@ -16,9 +16,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
LIB_DEPENDS= libvlc.so:multimedia/vlc-qt4
-USES= cmake kde:4 cpe gettext pkgconfig
+USES= cmake kde:4 cpe gettext pkgconfig qt:4
USE_KDE= automoc4 kdelibs
-USE_QT4= corelib dbus gui network phonon sql svg xml \
+USE_QT= corelib dbus gui network phonon sql svg xml \
moc_build qmake_build rcc_build uic_build sql-sqlite2
USE_XORG= xscrnsaver
diff --git a/multimedia/kamoso/Makefile b/multimedia/kamoso/Makefile
index 9f0b8efd35ae..8106239e54fc 100644
--- a/multimedia/kamoso/Makefile
+++ b/multimedia/kamoso/Makefile
@@ -9,13 +9,13 @@ COMMENT= Application to take pictures and videos out of your webcam
LICENSE= GPLv2
-USES= cmake:outsource gettext kde:5 pkgconfig tar:xz
+USES= cmake:outsource gettext kde:5 pkgconfig qt:5 tar:xz
USE_GNOME= glib20
USE_GSTREAMER1= yes
USE_KDE= auth bookmarks codecs completion config configwidgets \
coreaddons ecm i18n itemviews jobwidgets kio purpose \
service solid widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile b/multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile
index f61f09860dbf..8983a8517f25 100644
--- a/multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile
+++ b/multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile
@@ -15,9 +15,9 @@ LICENSE= GPLv2
LIB_DEPENDS= libswscale.so:multimedia/ffmpeg
-USES= cmake:outsource kde:4 pkgconfig tar:xz
+USES= cmake:outsource kde:4 pkgconfig qt:4 tar:xz
USE_KDE= automoc4 kdelibs
-USE_QT4= moc_build qmake_build rcc_build uic_build \
+USE_QT= moc_build qmake_build rcc_build uic_build \
corelib dbus gui network svg xml
.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia-ffmpegthumbs/Makefile b/multimedia/kdemultimedia-ffmpegthumbs/Makefile
index b9b0c3a5e066..2bae5f70d942 100644
--- a/multimedia/kdemultimedia-ffmpegthumbs/Makefile
+++ b/multimedia/kdemultimedia-ffmpegthumbs/Makefile
@@ -12,9 +12,9 @@ LICENSE= GPLv2
LIB_DEPENDS= libswscale.so:multimedia/ffmpeg
-USES= cmake:outsource kde:5 pkgconfig tar:xz
+USES= cmake:outsource kde:5 pkgconfig qt:5 tar:xz
USE_KDE= completion config coreaddons jobwidgets kio service widgetsaddons
-USE_QT5= core gui network widgets \
+USE_QT= core gui network widgets \
buildtools_build qmake_build
.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile b/multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile
index 823a921c8eae..71ef241babbe 100644
--- a/multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile
+++ b/multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile
@@ -15,8 +15,8 @@ LICENSE= LGPL21
RUN_DEPENDS= mplayer:multimedia/mplayer
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= automoc4 kdelibs
-USE_QT4= phonon moc_build qmake_build rcc_build uic_build
+USE_QT= phonon moc_build qmake_build rcc_build uic_build
.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia/Makefile b/multimedia/kdemultimedia/Makefile
index c32014acbd26..6537cfc47aa4 100644
--- a/multimedia/kdemultimedia/Makefile
+++ b/multimedia/kdemultimedia/Makefile
@@ -7,8 +7,8 @@ CATEGORIES= multimedia kde
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Multimedia applications (meta port)
-USES= kde:5 metaport
-USE_QT5= #
+USES= kde:5 metaport qt:5
+USE_QT= #
OPTIONS_DEFINE= DRAGON FFMPEG AUDIOCD_KIO KMIX
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
diff --git a/multimedia/kdenlive-kde4/Makefile b/multimedia/kdenlive-kde4/Makefile
index a785cdd7cacb..e943056ca064 100644
--- a/multimedia/kdenlive-kde4/Makefile
+++ b/multimedia/kdenlive-kde4/Makefile
@@ -17,9 +17,9 @@ LIB_DEPENDS= libmlt.so:multimedia/mlt \
RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} \
${LOCALBASE}/lib/mlt/libmltqt.so:multimedia/mlt-qt4
-USES= cmake kde:4 pkgconfig shared-mime-info tar:bzip2
+USES= cmake kde:4 pkgconfig qt:4 shared-mime-info tar:bzip2
USE_KDE= automoc4 kdelibs nepomuk-core
-USE_QT4= corelib dbus gui opengl script svg xml \
+USE_QT= corelib dbus gui opengl script svg xml \
moc_build qmake_build rcc_build uic_build
USE_XORG= x11
CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}"
diff --git a/multimedia/kdenlive/Makefile b/multimedia/kdenlive/Makefile
index b60dada5f419..85b22d4f17da 100644
--- a/multimedia/kdenlive/Makefile
+++ b/multimedia/kdenlive/Makefile
@@ -15,12 +15,12 @@ RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} \
${LOCALBASE}/lib/mlt/libmltqt.so:multimedia/mlt-qt5
USES= cmake:outsource desktop-file-utils gettext-tools pkgconfig \
- shared-mime-info kde:5 tar:xz
+ qt:5 shared-mime-info kde:5 tar:xz
USE_KDE= archive bookmarks config configwidgets coreaddons crash \
dbusaddons ecm filemetadata guiaddons iconthemes \
init_run kio newstuff notifications notifyconfig \
textwidgets widgetsaddons xmlgui
-USE_QT5= buildtools_build concurrent core dbus gui qmake_build \
+USE_QT= buildtools_build concurrent core dbus gui qmake_build \
qml quick quickcontrols_run script svg webkit widgets
USE_XORG= x11
CFLAGS+= -I${LOCALBASE}/include # linux/input.h
diff --git a/multimedia/kf5-kmediaplayer/Makefile b/multimedia/kf5-kmediaplayer/Makefile
index 7898c9f3c443..96eb7e405763 100644
--- a/multimedia/kf5-kmediaplayer/Makefile
+++ b/multimedia/kf5-kmediaplayer/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= multimedia kde kde-frameworks
MAINTAINER= kde@FreeBSD.org
COMMENT= KF5 plugin interface for media player features
-USES= cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
+USES= cmake:outsource compiler:c++11-lib gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons \
ecm i18n jobwidgets kio parts service sonnet textwidgets \
widgetsaddons xmlgui
-USE_QT5= buildtools_build core dbus gui network qmake_build \
+USE_QT= buildtools_build core dbus gui network qmake_build \
testlib widgets xml
.include <bsd.port.mk>
diff --git a/multimedia/kmplayer-kde4/Makefile b/multimedia/kmplayer-kde4/Makefile
index 96ecfbf12494..ee11b9da265d 100644
--- a/multimedia/kmplayer-kde4/Makefile
+++ b/multimedia/kmplayer-kde4/Makefile
@@ -24,9 +24,9 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \
libfontconfig.so:x11-fonts/fontconfig
RUN_DEPENDS= mplayer:multimedia/mplayer
-USES= cmake:outsource gettext-runtime kde:4 pkgconfig
+USES= cmake:outsource gettext-runtime kde:4 pkgconfig qt:4
USE_GNOME= cairo gdkpixbuf2 gtk20
-USE_QT4= corelib dbus gui network svg xml \
+USE_QT= corelib dbus gui network svg xml \
moc_build qmake_build rcc_build uic_build
USE_KDE= automoc4 kdelibs soprano
USE_XORG= x11
diff --git a/multimedia/kplayer-kde4/Makefile b/multimedia/kplayer-kde4/Makefile
index bef63a915cfe..e0d7a5522777 100644
--- a/multimedia/kplayer-kde4/Makefile
+++ b/multimedia/kplayer-kde4/Makefile
@@ -12,8 +12,8 @@ COMMENT= Movie player based on mplayer
RUN_DEPENDS= mplayer:multimedia/mplayer
-USES= cmake gettext kde:4 tar:bzip2
-USE_QT4= corelib qmake_build moc_build rcc_build uic_build
+USES= cmake gettext kde:4 qt:4 tar:bzip2
+USE_QT= corelib qmake_build moc_build rcc_build uic_build
USE_KDE= kdelibs automoc4
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -L${LOCALBASE}/kde4/lib -lsolid
diff --git a/multimedia/mediadownloader/Makefile b/multimedia/mediadownloader/Makefile
index e4f58c973aa6..78b2af0a6b84 100644
--- a/multimedia/mediadownloader/Makefile
+++ b/multimedia/mediadownloader/Makefile
@@ -13,11 +13,11 @@ COMMENT= Search, watch, and download from Google Image and YouTube
LICENSE= GPLv3
-USES= qmake
+USES= qmake qt:4
USE_GL= gl glu
USE_XORG= xtst
USE_GSTREAMER= ffmpeg
-USE_QT4= dbus gui network moc_build opengl phonon phonon-gst \
+USE_QT= dbus gui network moc_build opengl phonon phonon-gst \
rcc_build uic_build webkit xml xmlpatterns
QMAKEPRO= ${PORTNAME}.pro
PLIST_FILES= bin/${PORTNAME}
diff --git a/multimedia/minitube/Makefile b/multimedia/minitube/Makefile
index c6c0100c4295..a92fb86e377f 100644
--- a/multimedia/minitube/Makefile
+++ b/multimedia/minitube/Makefile
@@ -11,18 +11,19 @@ COMMENT= TV-like client for YouTube
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= qmake
+USES= qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= flaviotordini
USE_GL= gl
-USE_QT5= core dbus gui network phonon4 qml script sql widgets \
+USE_QT= core dbus gui network phonon4 qml script sql widgets \
buildtools_build imageformats_run sql-sqlite3_run
QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} \
DEFINES+=APP_GOOGLE_API_KEY="${MINITUBE_GOOGLE_API_KEY}"
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
-NLS_USE= QT5=linguisttools_build
+NLS_USES= qt:5
+NLS_USE= QT=linguisttools_build
pre-everything::
@${CAT} ${PKGMESSAGE}
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index 3ccda9f33a08..c3600340339a 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -49,8 +49,8 @@ NLS_USES= gettext
NLS_CONFIGURE_WITH= gettext
QT5_DESC= Build and install GUI application (Qt 5)
-QT5_USES= desktop-file-utils shared-mime-info
-QT5_USE= QT5=buildtools_build,concurrent,core,gui,multimedia,network,quick,widgets
+QT5_USES= desktop-file-utils qt:5 shared-mime-info
+QT5_USE= QT=buildtools_build,concurrent,core,gui,multimedia,network,quick,widgets
QT5_CONFIGURE_ENABLE= qt
QT5_BUILD_DEPENDS= qmake:devel/qt5-qmake
QT5_LIB_DEPENDS= libcmark.so:textproc/cmark
diff --git a/multimedia/mlt-qt4/Makefile b/multimedia/mlt-qt4/Makefile
index 6d8ce848b403..366ed1889338 100644
--- a/multimedia/mlt-qt4/Makefile
+++ b/multimedia/mlt-qt4/Makefile
@@ -4,7 +4,8 @@ PORTREVISION= 0
CONFLICTS_INSTALL= ${PORTNAME}-qt5-*
-USE_QT4= corelib gui opengl svg xml
+USES= qt:4
+USE_QT= corelib gui opengl svg xml
MASTERDIR= ${.CURDIR:H}/mlt
SLAVEPORT= qt4
diff --git a/multimedia/mlt-qt5/Makefile b/multimedia/mlt-qt5/Makefile
index 77acbb9e4ce4..7b6465f36c9a 100644
--- a/multimedia/mlt-qt5/Makefile
+++ b/multimedia/mlt-qt5/Makefile
@@ -4,8 +4,9 @@ PORTREVISION= 0
CONFLICTS_INSTALL= ${PORTNAME}-qt4-*
+USES= qt:5
USE_CXXSTD= c++11
-USE_QT5= core gui svg widgets xml
+USE_QT= core gui svg widgets xml
USE_XORG= x11
MASTERDIR= ${.CURDIR:H}/mlt
SLAVEPORT= qt5
diff --git a/multimedia/mpc-qt/Makefile b/multimedia/mpc-qt/Makefile
index 7fdf2cc4f6e3..055c138d7420 100644
--- a/multimedia/mpc-qt/Makefile
+++ b/multimedia/mpc-qt/Makefile
@@ -17,8 +17,8 @@ USE_GITHUB= yes
GH_ACCOUNT= cmdrkotori
GH_TUPLE= Argon-:mpv-stats:1.1-28-gf42aa68:mpv_stats/external/mpv-stats
-USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake
-USE_QT5= qmake_build buildtools_build linguisttools_build \
+USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake qt:5
+USE_QT= qmake_build buildtools_build linguisttools_build \
core dbus gui network svg_run widgets x11extras
USE_GL= gl
CXXFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile
index 213a7f5b54a3..8139e5e9ebfd 100644
--- a/multimedia/mythtv/Makefile
+++ b/multimedia/mythtv/Makefile
@@ -27,15 +27,14 @@ LIB_DEPENDS= libmp3lame.so:audio/lame \
libxml2.so:textproc/libxml2
BUILD_DEPENDS= yasm:devel/yasm
-USES= gmake iconv libtool pkgconfig pathfix ssl
+USES= gmake iconv libtool pkgconfig pathfix qmake:no_env qt:5 ssl
USE_GITHUB= yes
GH_ACCOUNT= MythTV
USE_GL= gl
USE_LDCONFIG= yes
-USE_QT5= buildtools_build core dbus gui imageformats_run \
+USE_QT= buildtools_build core dbus gui imageformats_run \
linguist_build network opengl qmake_build script sql \
sql-mysql_run webkit widgets xml
-QT_NONSTANDARD= yes
USE_XORG= x11 xv xrandr xxf86vm xinerama xext xcb
HAS_CONFIGURE= yes
diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile
index 7aa532fdabc9..fa165b77ed37 100644
--- a/multimedia/obs-studio/Makefile
+++ b/multimedia/obs-studio/Makefile
@@ -28,10 +28,10 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libv4l2.so:multimedia/libv4l \
libx264.so:multimedia/libx264
-USES= cmake:outsource compiler:c++11-lib lua pkgconfig python:3.4+
+USES= cmake:outsource compiler:c++11-lib lua pkgconfig python:3.4+ qt:5
USE_GITHUB= yes
GH_ACCOUNT= obsproject
-USE_QT5= core gui widgets x11extras buildtools_build imageformats_run qmake_build
+USE_QT= core gui widgets x11extras buildtools_build imageformats_run qmake_build
USE_GL= gl
USE_XORG= ice sm x11 xcb xcomposite xext xfixes xinerama xrandr
USE_LDCONFIG= yes
diff --git a/multimedia/phonon-designerplugin/Makefile b/multimedia/phonon-designerplugin/Makefile
index f71a6a700d4e..8b3222d2bcf2 100644
--- a/multimedia/phonon-designerplugin/Makefile
+++ b/multimedia/phonon-designerplugin/Makefile
@@ -20,14 +20,14 @@ qt5_PKGNAMESUFFIX= -designerplugin-qt5
USES= cmake tar:xz
. if ${FLAVOR} == qt4
-USES+= kde:4
-USE_QT4= corelib designer gui phonon \
+USES+= kde:4 qt:4
+USE_QT= corelib designer gui phonon \
qmake_build moc_build rcc_build uic_build
PLIST_FILES= ${QT_PLUGINDIR_REL}/designer/libphononwidgets.so
. else
-USES+= kde:5
+USES+= kde:5 qt:5
USE_KDE= ecm
-USE_QT5= core designer gui phonon4 widgets xml \
+USE_QT= core designer gui phonon4 widgets xml \
buildtools_build qmake_build
CMAKE_ON= PHONON_BUILD_PHONON4QT5
PLIST_FILES= ${QT_PLUGINDIR_REL}/designer/phononwidgets.so
diff --git a/multimedia/phonon-gstreamer/Makefile b/multimedia/phonon-gstreamer/Makefile
index f5177d3299d5..e46cc06e8170 100644
--- a/multimedia/phonon-gstreamer/Makefile
+++ b/multimedia/phonon-gstreamer/Makefile
@@ -29,14 +29,14 @@ USE_GSTREAMER1= yes
USE_XORG= x11
. if ${FLAVOR} == qt4
-USES+= kde:4
+USES+= kde:4 qt:4
USE_KDE= automoc4
-USE_QT4= corelib gui opengl phonon \
+USE_QT= corelib gui opengl phonon \
qmake_build moc_build rcc_build uic_build
. else
-USES+= kde:5
+USES+= kde:5 qt:5
USE_KDE= ecm
-USE_QT5= core gui opengl phonon4 widgets x11extras \
+USE_QT= core gui opengl phonon4 widgets x11extras \
buildtools_build qmake_build
CMAKE_ON= PHONON_BUILD_PHONON4QT5
. endif
diff --git a/multimedia/phonon-vlc/Makefile b/multimedia/phonon-vlc/Makefile
index 7cbedab8ca2a..11ac9b8dd2f9 100644
--- a/multimedia/phonon-vlc/Makefile
+++ b/multimedia/phonon-vlc/Makefile
@@ -24,17 +24,17 @@ qt5_LIB_DEPENDS= libvlc.so:multimedia/vlc
USES= cmake:outsource pkgconfig tar:xz
. if ${FLAVOR} == qt4
-USES+= kde:4
+USES+= kde:4 qt:4
USE_KDE= automoc4
-USE_QT4= corelib gui phonon \
+USE_QT= corelib gui phonon \
qmake_build moc_build rcc_build uic_build
PLIST_FILES= lib/kde4/plugins/phonon_backend/phonon_vlc.so \
share/kde4/services/phononbackends/vlc.desktop \
${QT_PLUGINDIR}/phonon_backend/libphonon_vlc.so
. else
-USES+= kde:5
+USES+= kde:5 qt:5
USE_KDE= ecm
-USE_QT5= core gui widgets phonon4 \
+USE_QT= core gui widgets phonon4 \
buildtools_build qmake_build
CMAKE_ON= PHONON_BUILD_PHONON4QT5
PLIST_FILES= ${QT_PLUGINDIR_REL}/phonon4qt5_backend/phonon_vlc.so
diff --git a/multimedia/phonon-xine/Makefile b/multimedia/phonon-xine/Makefile
index 0c7d207988a4..5c9e10337a4b 100644
--- a/multimedia/phonon-xine/Makefile
+++ b/multimedia/phonon-xine/Makefile
@@ -15,9 +15,9 @@ COMMENT= The xine backend for Phonon
LIB_DEPENDS= libxine.so:multimedia/libxine
-USES= cmake kde:4 pkgconfig tar:bzip2
+USES= cmake kde:4 pkgconfig qt:4 tar:bzip2
USE_KDE= automoc4
-USE_QT4= corelib dbus gui phonon \
+USE_QT= corelib dbus gui phonon \
qmake_build moc_build rcc_build uic_build
USE_XORG= xcb
diff --git a/multimedia/phonon/Makefile b/multimedia/phonon/Makefile
index a60c2792e33c..421ed4096e81 100644
--- a/multimedia/phonon/Makefile
+++ b/multimedia/phonon/Makefile
@@ -28,14 +28,14 @@ CMAKE_OFF= PHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF
USE_LDCONFIG= yes
. if ${FLAVOR} == qt4
-USES+= kde:4
+USES+= kde:4 qt:4
USE_KDE= automoc4
-USE_QT4= corelib dbus declarative gui testlib \
+USE_QT= corelib dbus declarative gui testlib \
qmake_build moc_build rcc_build uic_build
. else
-USES+= kde:5
+USES+= kde:5 qt:5
USE_KDE= ecm
-USE_QT5= core dbus gui opengl widgets \
+USE_QT= core dbus gui opengl widgets \
buildtools_build qmake_build
CMAKE_OFF+= PHONON_BUILD_DECLARATIVE_PLUGIN
CMAKE_ON+= PHONON_BUILD_PHONON4QT5
diff --git a/multimedia/py-openlp/Makefile b/multimedia/py-openlp/Makefile
index 68b9c4303307..42cea7957eed 100644
--- a/multimedia/py-openlp/Makefile
+++ b/multimedia/py-openlp/Makefile
@@ -25,12 +25,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup32>0:www/py-beautifulsoup32@${P
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
unoconv:textproc/unoconv
-USES= desktop-file-utils pyqt:4 python:2.7
+USES= desktop-file-utils pyqt:4 python:2.7 qt:4
USE_PYQT= core gui \
network_run opengl_run phonon_run svg_run test_run webkit_run
USE_PYTHON= distutils autoplist
USE_GSTREAMER= good bad ugly
-USE_QT4= linguist phonon-gst
+USE_QT= linguist phonon-gst
QT_LRELEASE= ${LRELEASE}
NO_ARCH= yes
diff --git a/multimedia/py-qt4-multimedia/Makefile b/multimedia/py-qt4-multimedia/Makefile
index 101097c1c9e9..1a9742b34879 100644
--- a/multimedia/py-qt4-multimedia/Makefile
+++ b/multimedia/py-qt4-multimedia/Makefile
@@ -11,10 +11,10 @@ COMMENT= Python bindings for the Qt4 toolkit, Multimedia module
CONFIGURE_ARGS= --enable QtMultimedia
PYQT_DIST= yes
-USES= python pyqt:4
+USES= python pyqt:4 qt:4
USE_PYQT= sip_build core_run gui_run
USE_PYTHON= flavors
-USE_QT4= corelib gui multimedia moc_build qmake_build
+USE_QT= corelib gui multimedia moc_build qmake_build
OPTIONS_DEFINE= API DEBUG
OPTIONS_DEFAULT=API
diff --git a/multimedia/py-qt4-phonon/Makefile b/multimedia/py-qt4-phonon/Makefile
index f4ce1af0388b..462aec085d59 100644
--- a/multimedia/py-qt4-phonon/Makefile
+++ b/multimedia/py-qt4-phonon/Makefile
@@ -10,10 +10,10 @@ COMMENT= Python bindings for the Qt4 toolkit, Phonon module
CONFIGURE_ARGS= --enable phonon
PYQT_DIST= yes
-USES= python pyqt:4
+USES= python pyqt:4 qt:4
USE_PYQT= sip_build core_run gui_run
USE_PYTHON= flavors
-USE_QT4= corelib gui phonon moc_build qmake_build
+USE_QT= corelib gui phonon moc_build qmake_build
OPTIONS_DEFINE= API DEBUG
OPTIONS_DEFAULT=API
diff --git a/multimedia/py-qt5-multimedia/Makefile b/multimedia/py-qt5-multimedia/Makefile
index 9e53254f7529..28602298f0b0 100644
--- a/multimedia/py-qt5-multimedia/Makefile
+++ b/multimedia/py-qt5-multimedia/Makefile
@@ -10,11 +10,11 @@ COMMENT= Python bindings for the Qt5 toolkit, QtMultimedia module
CONFIGURE_ARGS= --enable QtMultimedia
PYQT_DIST= yes
-USES= python pyqt:5
+USES= python pyqt:5 qt:5
USE_GL= gl
USE_PYQT= sip_build core_run gui_run network_run
USE_PYTHON= flavors
-USE_QT5= core gui multimedia network qmake_build
+USE_QT= core gui multimedia network qmake_build
OPTIONS_DEFINE= API DEBUG
OPTIONS_DEFAULT=API
diff --git a/multimedia/py-qt5-multimediawidgets/Makefile b/multimedia/py-qt5-multimediawidgets/Makefile
index 5a97fe761328..7732226f514f 100644
--- a/multimedia/py-qt5-multimediawidgets/Makefile
+++ b/multimedia/py-qt5-multimediawidgets/Makefile
@@ -10,11 +10,11 @@ COMMENT= Python bindings for the Qt5 toolkit, QtMultimediaWidgets module
CONFIGURE_ARGS= --enable QtMultimediaWidgets
PYQT_DIST= yes
-USES= python pyqt:5
+USES= python pyqt:5 qt:5
USE_GL= gl
USE_PYQT= sip_build core_run multimedia_run widgets_run
USE_PYTHON= flavors
-USE_QT5= core gui multimedia network widgets qmake_build
+USE_QT= core gui multimedia network widgets qmake_build
OPTIONS_DEFINE= API DEBUG
OPTIONS_DEFAULT=API
diff --git a/multimedia/qmmp-plugin-pack-qt5/Makefile b/multimedia/qmmp-plugin-pack-qt5/Makefile
index 94122a126a50..4740336e5487 100644
--- a/multimedia/qmmp-plugin-pack-qt5/Makefile
+++ b/multimedia/qmmp-plugin-pack-qt5/Makefile
@@ -20,8 +20,8 @@ BUILD_DEPENDS= qmmp-qt5>=1.2.0:multimedia/qmmp-qt5
CONFLICTS= ${PORTNAME}-0.*
PORTSCOUT= limit:^1\..*
-USES= cmake:outsource pkgconfig tar:bzip2
-USE_QT5= core gui widgets \
+USES= cmake:outsource pkgconfig qt:5 tar:bzip2
+USE_QT= core gui widgets \
buildtools_build linguisttools_build qmake_build
USE_LDCONFIG= yes
@@ -53,7 +53,8 @@ GOOMASM_BUILD_DEPENDS= yasm:devel/yasm
GOOMASM_CMAKE_BOOL= GOOM_ASM
HISTORY_DESC= Information about listened tracks
-HISTORY_USE= QT5=sql
+HISTORY_USES= qt:5
+HISTORY_USE= QT=sql
HISTORY_CMAKE_BOOL= USE_HISTORY
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 \
diff --git a/multimedia/qmmp-plugin-pack/Makefile b/multimedia/qmmp-plugin-pack/Makefile
index e0cc6c818c35..74383a7cbb85 100644
--- a/multimedia/qmmp-plugin-pack/Makefile
+++ b/multimedia/qmmp-plugin-pack/Makefile
@@ -19,8 +19,8 @@ BUILD_DEPENDS= qmmp>=0.11.0:multimedia/qmmp
CONFLICTS= ${PORTNAME}-qt5-1.*
PORTSCOUT= limit:^0.*
-USES= cmake:outsource localbase pkgconfig tar:bzip2
-USE_QT4= corelib gui linguisttools_build moc_build qmake_build rcc_build
+USES= cmake:outsource localbase pkgconfig qt:4 tar:bzip2
+USE_QT= corelib gui linguisttools_build moc_build qmake_build rcc_build
USE_LDCONFIG= yes
OPTIONS_SUB= yes
@@ -51,12 +51,14 @@ GOOMASM_BUILD_DEPENDS= yasm:devel/yasm
GOOMASM_CMAKE_BOOL= GOOM_ASM
HISTORY_DESC= Information about listened tracks
-HISTORY_USE= QT4=sql,uic_build
+HISTORY_USES= qt:4
+HISTORY_USE= QT=sql,uic_build
HISTORY_CMAKE_BOOL= USE_HISTORY
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 \
libtag.so:audio/taglib
-MPG123_USE= QT4=uic_build
+MPG123_USES= qt:4
+MPG123_USE= QT=uic_build
MPG123_CMAKE_BOOL= USE_MPG123
SRCONV_DESC= Support the sample rate converter
diff --git a/multimedia/qmmp-qt5/Makefile b/multimedia/qmmp-qt5/Makefile
index ca158018b064..ab82d8b5dd01 100644
--- a/multimedia/qmmp-qt5/Makefile
+++ b/multimedia/qmmp-qt5/Makefile
@@ -17,8 +17,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= ${PORTNAME}-0.*
PORTSCOUT= limit:^1\..*
-USES= cmake:outsource pathfix pkgconfig tar:bzip2
-USE_QT5= core gui network widgets xml \
+USES= cmake:outsource pathfix pkgconfig qt:5 tar:bzip2
+USE_QT= core gui network widgets xml \
buildtools_build linguisttools_build qmake_build
USE_LDCONFIG= yes
@@ -72,7 +72,8 @@ QSUI_DESC= Simple UI based on standard widgets set
QSUI_CMAKE_BOOL= USE_QSUI
SKINNEDUI_DESC= Skinned GUI
-SKINNEDUI_USE= QT5=x11extras XORG=x11
+SKINNEDUI_USES= qt:5
+SKINNEDUI_USE= QT=x11extras XORG=x11
SKINNEDUI_CMAKE_BOOL= USE_SKINNED
DIR_ASSOC_DESC= inode/directory mime type association
@@ -95,7 +96,8 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_BOOL= USE_PULSE
QTMULTIMEDIA_DESC= Support to use Qt low-level multimedia API
-QTMULTIMEDIA_USE= QT5=multimedia
+QTMULTIMEDIA_USES= qt:5
+QTMULTIMEDIA_USE= QT=multimedia
QTMULTIMEDIA_CMAKE_BOOL= USE_QTMULTIMEDIA
SHOUTCAST_LIB_DEPENDS= libogg.so:audio/libogg \
@@ -221,7 +223,8 @@ COPYPASTE_DESC= Enable copy/paste track infos between playlists
COPYPASTE_CMAKE_BOOL= USE_COPYPASTE
MPRIS_DESC= Support the Media Player Remote
-MPRIS_USE= QT5=dbus
+MPRIS_USES= qt:5
+MPRIS_USE= QT=dbus
MPRIS_CMAKE_BOOL= USE_MPRIS
SCROBBLER_DESC= Support Libre.fm/Last.fm scrobbler feature
@@ -243,15 +246,18 @@ NOTIFIER_CMAKE_BOOL= USE_NOTIFIER
LYRICS_DESC= Support to show lyrics using lyrics.wikia.com
LYRICS_CMAKE_BOOL= USE_LYRICS
-HAL_USE= QT5=dbus
+HAL_USES= qt:5
+HAL_USE= QT=dbus
HAL_CMAKE_BOOL= USE_HAL
HOTKEY_DESC= Support global shortcut keys
-HOTKEY_USE= QT5=x11extras XORG=x11
+HOTKEY_USES= qt:5
+HOTKEY_USE= QT=x11extras XORG=x11
HOTKEY_CMAKE_BOOL= USE_HOTKEY
GNOMEHOTKEY_DESC= Support GNOME/Cinnamon shortcut keys
-GNOMEHOTKEY_USE= QT5=dbus
+GNOMEHOTKEY_USES= qt:5
+GNOMEHOTKEY_USE= QT=dbus
GNOMEHOTKEY_CMAKE_BOOL= USE_GNOMEHOTKEY
FILEOPS_DESC= Support file operation
@@ -261,7 +267,8 @@ COVER_DESC= Support to show cover images
COVER_CMAKE_BOOL= USE_COVER
KDENOTIFY_DESC= Support to popup notifier for KDE
-KDENOTIFY_USE= QT5=dbus
+KDENOTIFY_USES= qt:5
+KDENOTIFY_USE= QT=dbus
KDENOTIFY_CMAKE_BOOL= USE_KDENOTIFY
TRACKCHANGE_DESC= Enable to run external command each track
@@ -269,7 +276,8 @@ TRACKCHANGE_CMAKE_BOOL= USE_TRACKCHANGE
UDISKS2_DESC= Support removable disc detection using UDisks
UDISKS2_RUN_DEPENDS= bsdisks:sysutils/bsdisks
-UDISKS2_USE= QT5=dbus
+UDISKS2_USES= qt:5
+UDISKS2_USE= QT=dbus
UDISKS2_CMAKE_BOOL= USE_UDISKS2
QMMP_DIALOG_DESC= An original dialog
diff --git a/multimedia/qmmp/Makefile b/multimedia/qmmp/Makefile
index c95dc16159b8..b84ebc53c6f8 100644
--- a/multimedia/qmmp/Makefile
+++ b/multimedia/qmmp/Makefile
@@ -16,8 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= ${PORTNAME}-qt5-1.*
PORTSCOUT= limit:^0.*
-USES= cmake:outsource localbase pathfix pkgconfig tar:bzip2
-USE_QT4= corelib gui network xml \
+USES= cmake:outsource localbase pathfix pkgconfig qt:4 tar:bzip2
+USE_QT= corelib gui network xml \
linguisttools_build moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
@@ -68,7 +68,8 @@ OPTIONS_DEFAULT= ALSA ANALYZER ARCHIVE BS2B CDDA CONVERTER COPYPASTE COVER \
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
QSUI_DESC= Simple UI based on standard widgets set
-QSUI_USE= QT4=uic_build
+QSUI_USES= qt:4
+QSUI_USE= QT=uic_build
QSUI_CMAKE_BOOL= USE_QSUI
SKINNEDUI_DESC= Skinned GUI
@@ -95,7 +96,8 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_BOOL= USE_PULSE
QTMULTIMEDIA_DESC= Support to use Qt low-level multimedia API
-QTMULTIMEDIA_USE= QT4=multimedia
+QTMULTIMEDIA_USES= qt:4
+QTMULTIMEDIA_USE= QT=multimedia
QTMULTIMEDIA_CMAKE_BOOL= USE_QTMULTIMEDIA
SHOUTCAST_LIB_DEPENDS= libogg.so:audio/libogg \
@@ -145,7 +147,8 @@ MPLAYER_CMAKE_BOOL= USE_MPLAYER
PROJECTM_DESC= Support the projectM music visualiser
PROJECTM_LIB_DEPENDS= libprojectM.so.2:graphics/libprojectm
-PROJECTM_USE= GL=gl QT4=opengl
+PROJECTM_USES= qt:4
+PROJECTM_USE= GL=gl QT=opengl
PROJECTM_CMAKE_BOOL= USE_PROJECTM
OSS_CMAKE_BOOL= USE_OSS
@@ -221,7 +224,8 @@ COPYPASTE_DESC= Enable copy/paste track infos between playlists
COPYPASTE_CMAKE_BOOL= USE_COPYPASTE
MPRIS_DESC= Support the Media Player Remote
-MPRIS_USE= QT4=dbus
+MPRIS_USES= qt:4
+MPRIS_USE= QT=dbus
MPRIS_CMAKE_BOOL= USE_MPRIS
SCROBBLER_DESC= Support Libre.fm/Last.fm scrobbler feature
@@ -243,7 +247,8 @@ NOTIFIER_CMAKE_BOOL= USE_NOTIFIER
LYRICS_DESC= Support to show lyrics using lyrics.wikia.com
LYRICS_CMAKE_BOOL= USE_LYRICS
-HAL_USE= QT4=dbus
+HAL_USES= qt:4
+HAL_USE= QT=dbus
HAL_CMAKE_BOOL= USE_HAL
HOTKEY_DESC= Support global shortcut keys
@@ -251,7 +256,8 @@ HOTKEY_USE= XORG=x11
HOTKEY_CMAKE_BOOL= USE_HOTKEY
GNOMEHOTKEY_DESC= Support GNOME/Cinnamon shortcut keys
-GNOMEHOTKEY_USE= QT4=dbus
+GNOMEHOTKEY_USES= qt:4
+GNOMEHOTKEY_USE= QT=dbus
GNOMEHOTKEY_CMAKE_BOOL= USE_GNOMEHOTKEY
FILEOPS_DESC= Support file operation
@@ -261,7 +267,8 @@ COVER_DESC= Support to show cover images
COVER_CMAKE_BOOL= USE_COVER
KDENOTIFY_DESC= Support to popup notifier for KDE
-KDENOTIFY_USE= QT4=dbus
+KDENOTIFY_USES= qt:4
+KDENOTIFY_USE= QT=dbus
KDENOTIFY_CMAKE_BOOL= USE_KDENOTIFY
TRACKCHANGE_DESC= Enable to run external command each track
@@ -270,8 +277,10 @@ TRACKCHANGE_CMAKE_BOOL= USE_TRACKCHANGE
UDISKS_DESC= Support removable disc detection (obsolete)
UDISKS2_DESC= Support removable disc detection using UDisks
UDISKS2_RUN_DEPENDS= bsdisks:sysutils/bsdisks
-UDISKS_USE= QT4=dbus
-UDISKS2_USE= QT4=dbus
+UDISKS_USES= qt:4
+UDISKS_USE= QT=dbus
+UDISKS2_USES= qt:4
+UDISKS2_USE= QT=dbus
UDISKS_CMAKE_BOOL= USE_UDISKS
UDISKS2_CMAKE_BOOL= USE_UDISKS2
diff --git a/multimedia/qt4-mobility/Makefile b/multimedia/qt4-mobility/Makefile
index 45c51fdb4790..56dcfd0711c3 100644
--- a/multimedia/qt4-mobility/Makefile
+++ b/multimedia/qt4-mobility/Makefile
@@ -18,9 +18,9 @@ LICENSE= LGPL21
LIB_DEPENDS= libblkid.so:misc/e2fsprogs-libblkid
DATE= 20130703
-USES= pkgconfig qmake shebangfix tar:xz
+USES= pkgconfig qmake qt:4 shebangfix tar:xz
SHEBANG_FILES= bin/pathhelper bin/syncheaders
-USE_QT4=declarative corelib dbus gui linguist_build moc_build
+USE_QT= declarative corelib dbus gui linguist_build moc_build rcc_build
USE_LDCONFIG= yes
MOBILITY_MODS=
@@ -33,31 +33,31 @@ USE_CXXSTD= gnu++98
BEARER_DESC= Bearer module
CONNECTIVITY_DESC= Connectivity module
-CONNECTIVITY_USE= qt4=rcc_build
+CONNECTIVITY_USE= qt=rcc_build
CONTACTS_DESC= Contacts module
FEEDBACK_DESC= Feedback module
GALLERY_DESC= Gallery module
LOCATION_DESC= Location module
-LOCATION_USE= qt4=rcc_build,sql
+LOCATION_USE= qt=rcc_build,sql
MESSAGING_DESC= Messaging module
MULTIMEDIA_DESC= Multimedia module
MULTIMEDIA_LIB_DEPENDS= libpulse.so:audio/pulseaudio
MULTIMEDIA_BUILD_DEPENDS= v4l_compat>=1.0.20120501:multimedia/v4l_compat
-MULTIMEDIA_USE= qt4=opengl gstreamer=bad
+MULTIMEDIA_USE= qt=opengl gstreamer=bad
ORGANIZER_DESC= Organizer module
PUBLISHSUBSCRIBE_DESC= Publishsubscribe module
SENSORS_DESC= (BROKEN) Sensors module
SERVICEFRAMEWORK_DESC= (BROKEN) ServiceFramework module
-SERVICEFRAMEWORK_USE= qt4=sql
+SERVICEFRAMEWORK_USE= qt=sql
SYSTEMINFO_DESC= (BROKEN) Systeminfo module
-SYSTEMINFO_USE= qt4=network
+SYSTEMINFO_USE= qt=network
VERSIT_DESC= Versit module
-VERSIT_USE= qt4=rcc_build
+VERSIT_USE= qt=rcc_build
OPTIONS_DEFAULT=BEARER CONNECTIVITY CONTACTS FEEDBACK GALLERY LOCATION \
MESSAGING MULTIMEDIA ORGANIZER PUBLISHSUBSCRIBE VERSIT
diff --git a/multimedia/qt4-multimedia/Makefile b/multimedia/qt4-multimedia/Makefile
index c84da6e2f447..f993a531378d 100644
--- a/multimedia/qt4-multimedia/Makefile
+++ b/multimedia/qt4-multimedia/Makefile
@@ -9,8 +9,8 @@ PKGNAMEPREFIX= qt4-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt low-level multimedia API
-USE_QT4= qmake_build moc_build uic_build corelib gui
-QT_DIST= yes
+USES= qmake:no_env qt-dist:4
+USE_QT= moc_build uic_build corelib gui
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
diff --git a/multimedia/qt5-multimedia/Makefile b/multimedia/qt5-multimedia/Makefile
index d15253ae3b24..dcd5867f34e4 100644
--- a/multimedia/qt5-multimedia/Makefile
+++ b/multimedia/qt5-multimedia/Makefile
@@ -10,12 +10,11 @@ COMMENT= Qt audio, video, radio and camera support module
# LICENSE set via USES_QT5 (bsd.qt.mk)
-USES= pkgconfig qmake:norecursive
+USES= pkgconfig qmake:norecursive qt-dist:5,multimedia
USE_GL= gl
USE_GNOME= glib20
-USE_QT5= core gui network opengl qml quick widgets \
+USE_QT= core gui network opengl qml quick widgets \
buildtools_build
-QT_DIST= ${PORTNAME}
USE_XORG= x11 xext xv
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
diff --git a/multimedia/shotcut/Makefile b/multimedia/shotcut/Makefile
index a5c965f8cdf5..cc02f50e0282 100644
--- a/multimedia/shotcut/Makefile
+++ b/multimedia/shotcut/Makefile
@@ -21,8 +21,8 @@ GH_ACCOUNT= mltframework
# Needed to be able to correctly check for updates in-app.
FULLVERSION= 17.02.01
-USES= pkgconfig qmake
-USE_QT5= buildtools_build concurrent_build core \
+USES= pkgconfig qmake qt:5
+USE_QT= buildtools_build concurrent_build core \
graphicaleffects_run gui multimedia network opengl \
printsupport qml quick quickcontrols_run sql \
sql-sqlite3_run webkit websockets widgets x11extras xml
@@ -45,7 +45,8 @@ FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins
LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins
-NLS_USE= QT5=linguisttools_build
+NLS_USES= qt:5
+NLS_USE= QT=linguisttools_build
WEBVFX_RUN_DEPENDS= ${LOCALBASE}/lib/mlt/libmltwebvfx.so:multimedia/webvfx-qt5
diff --git a/multimedia/simplescreenrecorder/Makefile b/multimedia/simplescreenrecorder/Makefile
index 843089933857..72acb60a7884 100644
--- a/multimedia/simplescreenrecorder/Makefile
+++ b/multimedia/simplescreenrecorder/Makefile
@@ -13,11 +13,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libavformat.so:multimedia/ffmpeg
-USES= cmake:outsource pkgconfig
+USES= cmake:outsource pkgconfig qt:5
USE_GITHUB= yes
GH_ACCOUNT= MaartenBaert
GH_PROJECT= ssr
-USE_QT5= core gui widgets x11extras buildtools_build linguisttools_build qmake_build
+USE_QT= core gui widgets x11extras buildtools_build linguisttools_build qmake_build
USE_XORG= x11 xext xfixes xi
CMAKE_ON= WITH_QT5
diff --git a/multimedia/smplayer-skins/Makefile b/multimedia/smplayer-skins/Makefile
index 916f9750dbe1..f07f86dcbe25 100644
--- a/multimedia/smplayer-skins/Makefile
+++ b/multimedia/smplayer-skins/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= SF/smplayer/SMPlayer-skins/${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Skins for SMPlayer (Skinnable GUI)
-USES= tar:bzip2
-USE_QT4= rcc_build
+USES= qt:4 tar:bzip2
+USE_QT= rcc_build
NO_ARCH= yes
DATADIR= ${PREFIX}/share/smplayer
diff --git a/multimedia/smplayer-themes/Makefile b/multimedia/smplayer-themes/Makefile
index bcc3514b2539..d8c143b62c0f 100644
--- a/multimedia/smplayer-themes/Makefile
+++ b/multimedia/smplayer-themes/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= SF/smplayer/SMPlayer-themes/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Themes for SMPlayer
-USES= tar:bzip2
-USE_QT4= rcc_build
+USES= qt:4 tar:bzip2
+USE_QT= rcc_build
NO_ARCH= yes
DATADIR= ${PREFIX}/share/smplayer
diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile
index dc2507d18be2..0e065f37c0b5 100644
--- a/multimedia/smplayer/Makefile
+++ b/multimedia/smplayer/Makefile
@@ -40,11 +40,13 @@ MPV_DESC= Allow to use mpv as multimedia engine
SKINS_DESC= Install additional skins
THEMES_DESC= Install additional themes
-QT4_USE= qt4=moc_build,linguisttools_build,rcc_build,uic_build
-QT4_USE+= qt4=corelib,dbus,gui,network,script,xml
+QT4_USES= qt:4
+QT4_USE= qt=moc_build,linguisttools_build,rcc_build,uic_build
+QT4_USE+= qt=corelib,dbus,gui,network,script,xml
-QT5_USE= qt5=buildtools_build,linguisttools_build
-QT5_USE+= qt5=core,dbus,gui,network,script,widgets,xml
+QT5_USES= qt:5
+QT5_USE= qt=buildtools_build,linguisttools_build
+QT5_USE+= qt=core,dbus,gui,network,script,widgets,xml
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
MPLAYER_QMAKE_OFF= "DEFINES_DISABLED+=MPLAYER_SUPPORT"
diff --git a/multimedia/smtube/Makefile b/multimedia/smtube/Makefile
index d7476c5780b7..232d2a480e6b 100644
--- a/multimedia/smtube/Makefile
+++ b/multimedia/smtube/Makefile
@@ -34,11 +34,13 @@ MPV_DESC= mpv dependency for video playback
SMPLAYER_DESC= SMPlayer dependency for video playback
VLC_DESC= VLC dependency for video playback
-QT4_USE= qt4=qmake_build,moc_build,rcc_build,uic_build
-QT4_USE+= qt4=corelib,network,script,gui,webkit,linguisttools_build
+QT4_USES= qt:4
+QT4_USE= qt=qmake_build,moc_build,rcc_build,uic_build
+QT4_USE+= qt=corelib,network,script,gui,webkit,linguisttools_build
-QT5_USE= qt5=qmake_build,buildtools_build,linguisttools_build
-QT5_USE+= qt5=core,network,script,gui,webkit,widgets gl=gl
+QT5_USES= qt:5
+QT5_USE= qt=qmake_build,buildtools_build,linguisttools_build
+QT5_USE+= qt=core,network,script,gui,webkit,widgets gl=gl
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
MPV_RUN_DEPENDS= mpv:multimedia/mpv
diff --git a/multimedia/subtitlecomposer-kde4/Makefile b/multimedia/subtitlecomposer-kde4/Makefile
index 7a6dcebc2208..72016723821b 100644
--- a/multimedia/subtitlecomposer-kde4/Makefile
+++ b/multimedia/subtitlecomposer-kde4/Makefile
@@ -11,9 +11,9 @@ COMMENT= Subtitle editor for KDE
LIB_DEPENDS= libicui18n.so:devel/icu
-USES= cmake:outsource gettext kde:4 shared-mime-info
+USES= cmake:outsource gettext kde:4 qt:4 shared-mime-info
USE_KDE= kdelibs automoc4
-USE_QT4= qmake_build moc_build rcc_build uic_build phonon
+USE_QT= qmake_build moc_build rcc_build uic_build phonon
USE_CXXSTD= gnu++98
USE_GITHUB= yes
diff --git a/multimedia/umplayer/Makefile b/multimedia/umplayer/Makefile
index 4b94245eb0b2..d6d0f37eefb4 100644
--- a/multimedia/umplayer/Makefile
+++ b/multimedia/umplayer/Makefile
@@ -15,8 +15,8 @@ LICENSE_FILE= ${WRKSRC}/Copying.txt
RUN_DEPENDS= mplayer:multimedia/mplayer
-USES= desktop-file-utils gmake qmake tar:xz
-USE_QT4= gui network xml moc_build rcc_build uic_build \
+USES= desktop-file-utils gmake qmake qt:4 tar:xz
+USE_QT= gui network xml moc_build rcc_build uic_build \
linguisttools_build
INSTALLS_ICONS= yes
MAKE_ARGS+= PREFIX=${PREFIX} DESTDIR=${STAGEDIR}
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 0b101d37db6c..494374ceec94 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -237,13 +237,15 @@ PNG_CONFIGURE_ENABLE= png
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
-QT4_USE= QT4=gui,corelib,moc_build,rcc_build,uic_build
+QT4_USES= qt:4
+QT4_USE= QT=gui,corelib,moc_build,rcc_build,uic_build
# QT_CFLAGS: pkg-config --cflags "QtCore QtGui >= 4.6.0"
# QT_LIBS: pkg-config --libs "QtCore QtGui >= 4.6.0"
QT4_CONFIGURE_ENV= QT_CFLAGS="-I${QT_INCDIR}/QtGui -DQT_SHARED -I${QT_INCDIR} -I${QT_INCDIR}/QtCore" \
QT_LIBS="-lQtGui -L${QT_LIBDIR} -lQtCore"
-QT5_USE= QT5=gui,core,widgets,x11extras,buildtools_build
+QT5_USES= qt:5
+QT5_USE= QT=gui,core,widgets,x11extras,buildtools_build
REALRTSP_CONFIGURE_ENABLE= realrtsp
diff --git a/multimedia/webcamoid/Makefile b/multimedia/webcamoid/Makefile
index 157b8898a5d2..d5b17a0e7030 100644
--- a/multimedia/webcamoid/Makefile
+++ b/multimedia/webcamoid/Makefile
@@ -17,12 +17,12 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libpulse.so:audio/pulseaudio \
libv4l2.so:multimedia/libv4l
-USES= pkgconfig qmake
+USES= pkgconfig qmake qt:5
USE_GITHUB= yes
USE_GNOME= glib20
USE_GSTREAMER1= yes
USE_GL= gl
-USE_QT5= concurrent core gui multimedia network opengl qml quick svg widgets buildtools_build quickcontrols_run
+USE_QT= concurrent core gui multimedia network opengl qml quick svg widgets buildtools_build quickcontrols_run
MAKE_ENV= NOOSS=1 # NOOSS is because the OSS module attempts to use kevent on OSS devices, which is broken in the base
QMAKE_ARGS= INSTALLQMLDIR=${QT_QMLDIR} \
diff --git a/multimedia/webvfx-qt5/Makefile b/multimedia/webvfx-qt5/Makefile
index 8969e0a1ada7..76e045175654 100644
--- a/multimedia/webvfx-qt5/Makefile
+++ b/multimedia/webvfx-qt5/Makefile
@@ -18,8 +18,8 @@ USE_GITHUB= yes
GH_ACCOUNT= mltframework
GH_TAGNAME= e918ce4
-USES= pkgconfig qmake
-USE_QT5= 3d buildtools_build opengl qml quick webkit
+USES= pkgconfig qmake qt:5
+USE_QT= 3d buildtools_build opengl qml quick webkit
USE_LDCONFIG= yes
PORTEXAMPLES= *