mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
80e4e8275e
yt-dlp [1] is a youtube-dl fork with additional features and fixes. For ports that depend on www/youtube-dl switch the dependency to www/yt-dlp. For ports that have an optional dependency on www/youtube-dl, create a new OPTIONS_RADIO that includes www/yt-dlp and make it the default. [1] https://github.com/yt-dlp/yt-dlp Other changes: - www/yt-dlp: Turn the symlink option on by default - www/py-pafy: Fix build when depending on www/yt-dlp PR: 259944 Reported by: Oleh Vinichenko <moonlapse81@gmail.com> Reviewed by: diizzy, Oleh Vinichenko <moonlapse81@gmail.com>, VVD <vvd@unislabs.com> Approved by: 0mp, adridg (kde@), rm, tcberner (multimedia@), yuri (maintainers) acm and nivit (maintainers, timeout) Differential Revision: https://reviews.freebsd.org/D33090
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# Created by: Pawel Pekala <pawel@FreeBSD.org>
|
|
|
|
PORTNAME= smtube
|
|
DISTVERSION= 21.10.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF/smtube/SMTube/${PORTVERSION}/
|
|
|
|
MAINTAINER= vvd@unislabs.com
|
|
COMMENT= SMPlayer YouTube browser
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/Copying.txt
|
|
|
|
RUN_DEPENDS= yt-dlp:www/yt-dlp
|
|
|
|
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}" \
|
|
LRELEASE="${LRELEASE}" MAKE="${MAKE_CMD}" \
|
|
QMAKE="${QMAKE}"
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_MULTI= PLAYER
|
|
OPTIONS_MULTI_PLAYER= MPLAYER MPV SMPLAYER VLC
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_DEFAULT= QT5 SMPLAYER
|
|
|
|
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
|
|
|
|
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} 's|$$(QMAKE_OPTS)|${QMAKE_ARGS:S,\$,\$\$,g}|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|