multimedia/smtube: remove QT4/QT5 options (Qt4 deprecation)

Approved by:	portmgr (implicit)
This commit is contained in:
Tobias C. Berner 2019-03-16 17:58:58 +00:00
parent c599836021
commit 88600c5be6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495932

View File

@ -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 <bsd.port.options.mk>
.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