blob: 535c73d2f23dde3f80abaf6ae150dab6ab393c69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
PORTNAME= smtube
DISTVERSION= 21.10.0
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= SF/smtube/SMTube/${PORTVERSION}/
MAINTAINER= vvd@unislabs.com
COMMENT= SMPlayer YouTube browser
WWW= https://www.smtube.org/
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>
|