From 88600c5be6fa0ab68c25635b93bf18dc96679b3a Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Sat, 16 Mar 2019 17:58:58 +0000 Subject: [PATCH] multimedia/smtube: remove QT4/QT5 options (Qt4 deprecation) Approved by: portmgr (implicit) --- multimedia/smtube/Makefile | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/multimedia/smtube/Makefile b/multimedia/smtube/Makefile index 16d610e90f93..b5b25aa7dcbb 100644 --- a/multimedia/smtube/Makefile +++ b/multimedia/smtube/Makefile @@ -3,7 +3,7 @@ PORTNAME= smtube PORTVERSION= 18.9.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= SF/smtube/SMTube/${PORTVERSION}/ @@ -13,7 +13,10 @@ COMMENT= SMPlayer YouTube browser LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/Copying.txt -USES= gmake tar:bzip2 +USES= gl gmake qt:5 tar:bzip2 +USE_GL= gl +USE_QT= qmake_build buildtools_build linguisttools_build \ + core network script gui webkit widgets ALL_TARGET= #empty MAKE_ARGS= DATA_PATH="${DATADIR}" DOC_PATH="${DOCSDIR}" \ @@ -22,8 +25,6 @@ MAKE_ARGS= DATA_PATH="${DATADIR}" DOC_PATH="${DOCSDIR}" \ PORTDOCS= * -OPTIONS_SINGLE= TOOLKIT -OPTIONS_SINGLE_TOOLKIT= QT4 QT5 OPTIONS_MULTI= PLAYER OPTIONS_MULTI_PLAYER= MPLAYER MPV SMPLAYER VLC OPTIONS_DEFINE= DOCS @@ -36,26 +37,12 @@ MPV_DESC= mpv dependency for video playback SMPLAYER_DESC= SMPlayer dependency for video playback VLC_DESC= VLC dependency for video playback -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_USES= gl 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 SMPLAYER_RUN_DEPENDS= smplayer:multimedia/smplayer VLC_RUN_DEPENDS= vlc:multimedia/vlc -.include - -.if ${PORT_OPTIONS:MQT4} -DEPRECATED= Qt4 has been EOL since december 2015 -EXPIRATION_DATE= 2019-03-15 -.endif - post-patch: @${REINPLACE_CMD} 's|$$(QMAKE_OPTS)|${QMAKE_ARGS:S,\$,\$\$,g}|' \ ${WRKSRC}/Makefile