From owner-svn-ports-all@freebsd.org Mon Mar 6 19:27:58 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 825E1CFB195; Mon, 6 Mar 2017 19:27:58 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36A9210FD; Mon, 6 Mar 2017 19:27:58 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v26JRvxh019276; Mon, 6 Mar 2017 19:27:57 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v26JRvtZ019275; Mon, 6 Mar 2017 19:27:57 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201703061927.v26JRvtZ019275@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Mon, 6 Mar 2017 19:27:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435565 - head/multimedia/smtube X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 19:27:58 -0000 Author: pawel Date: Mon Mar 6 19:27:57 2017 New Revision: 435565 URL: https://svnweb.freebsd.org/changeset/ports/435565 Log: - Add Qt5 / Qt4 radio-choice - Allow to add MPlayer / mpv / VLC / SMPlayer as a runtime dependency for video playback PR: 217559 Submitted by: avos Modified: head/multimedia/smtube/Makefile Modified: head/multimedia/smtube/Makefile ============================================================================== --- head/multimedia/smtube/Makefile Mon Mar 6 18:45:31 2017 (r435564) +++ head/multimedia/smtube/Makefile Mon Mar 6 19:27:57 2017 (r435565) @@ -3,6 +3,7 @@ PORTNAME= smtube PORTVERSION= 17.1.0 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF/smtube/SMTube/${PORTVERSION}/ @@ -12,18 +13,37 @@ COMMENT= SMPlayer YouTube browser LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/Copying.txt -RUN_DEPENDS= smplayer:multimedia/smplayer - USES= gmake tar:bzip2 ALL_TARGET= #empty -USE_QT4= corelib gui linguisttools_build moc_build network qmake_build \ - rcc_build script uic_build webkit MAKE_ARGS= DATA_PATH=${DATADIR} DOC_PATH=${DOCSDIR} \ LRELEASE=${LRELEASE} MAKE=${MAKE_CMD} PORTDOCS= * -OPTIONS_DEFINE= DOCS +OPTIONS_SINGLE= TOOLKIT +OPTIONS_SINGLE_TOOLKIT= QT4 QT5 +OPTIONS_MULTI= PLAYER +OPTIONS_MULTI_PLAYER= MPLAYER MPV SMPLAYER VLC +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT= QT4 SMPLAYER + +TOOLKIT_DESC= Qt toolkit version +PLAYER_DESC= Video player +MPLAYER_DESC= MPlayer dependency for video playback +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 + +QT5_USE= qt5=qmake_build,buildtools_build,linguisttools_build +QT5_USE+= qt5=core,network,script,gui,webkit,widgets + +MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer +MPV_RUN_DEPENDS= mpv:multimedia/mpv +SMPLAYER_RUN_DEPENDS= smplayer:multimedia/smplayer +VLC_RUN_DEPENDS= vlc:multimedia/vlc post-patch: @${REINPLACE_CMD} '/^QMAKE/ s|qmake|${QMAKE} ${QMAKE_ARGS:S,\$(,\$\$(,g}|' \