Lines 2-10
Link Here
|
2 |
# $FreeBSD: head/multimedia/gtk-youtube-viewer/Makefile 385637 2015-05-07 16:32:43Z mat $ |
2 |
# $FreeBSD: head/multimedia/gtk-youtube-viewer/Makefile 385637 2015-05-07 16:32:43Z mat $ |
3 |
|
3 |
|
4 |
PORTNAME= gtk-youtube-viewer |
4 |
PORTNAME= gtk-youtube-viewer |
5 |
PORTVERSION= 3.1.1 |
5 |
PORTVERSION= 3.1.8 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= multimedia perl5 |
6 |
CATEGORIES= multimedia perl5 |
|
|
7 |
MASTER_SITES= GH |
8 |
|
8 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= GTK Search and play YouTube videos streaming in MPlayer |
10 |
COMMENT= GTK Search and play YouTube videos streaming in MPlayer |
Lines 13-62
Link Here
|
13 |
LICENSE_COMB= dual |
13 |
LICENSE_COMB= dual |
14 |
|
14 |
|
15 |
# According to Build.PL |
15 |
# According to Build.PL |
16 |
BUILD_DEPENDS= p5-MIME-Base64>0:${PORTSDIR}/converters/p5-MIME-Base64 \ |
16 |
BUILD_DEPENDS= p5-JSON>0:${PORTSDIR}/converters/p5-JSON \ |
|
|
17 |
p5-JSON-XS>0:${PORTSDIR}/converters/p5-JSON-XS \ |
18 |
p5-MIME-Base64>0:${PORTSDIR}/converters/p5-MIME-Base64 \ |
17 |
p5-Data-Dump>0:${PORTSDIR}/devel/p5-Data-Dump \ |
19 |
p5-Data-Dump>0:${PORTSDIR}/devel/p5-Data-Dump \ |
18 |
p5-File-Path>0:${PORTSDIR}/devel/p5-File-Path \ |
20 |
p5-File-Path>0:${PORTSDIR}/devel/p5-File-Path \ |
19 |
p5-File-Temp>0:${PORTSDIR}/devel/p5-File-Temp \ |
|
|
20 |
p5-Getopt-Long>0:${PORTSDIR}/devel/p5-Getopt-Long \ |
21 |
p5-Getopt-Long>0:${PORTSDIR}/devel/p5-Getopt-Long \ |
21 |
p5-PathTools>0:${PORTSDIR}/devel/p5-PathTools \ |
22 |
p5-PathTools>0:${PORTSDIR}/devel/p5-PathTools \ |
22 |
p5-ReadLine-Gnu>0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ |
23 |
p5-ReadLine-Gnu>0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ |
23 |
p5-Term-ANSIColor>0:${PORTSDIR}/devel/p5-Term-ANSIColor \ |
24 |
p5-Term-ANSIColor>0:${PORTSDIR}/devel/p5-Term-ANSIColor \ |
24 |
p5-Test-More-UTF8>0:${PORTSDIR}/devel/p5-Test-More-UTF8 \ |
25 |
p5-Term-ReadLine>0:${PORTSDIR}/devel/p5-Term-ReadLine \ |
25 |
p5-Thread-Queue>0:${PORTSDIR}/devel/p5-Thread-Queue \ |
26 |
p5-Thread-Queue>0:${PORTSDIR}/devel/p5-Thread-Queue \ |
26 |
p5-threads>0:${PORTSDIR}/devel/p5-threads \ |
27 |
p5-threads>0:${PORTSDIR}/devel/p5-threads \ |
27 |
p5-Scalar-List-Utils>0:${PORTSDIR}/lang/p5-Scalar-List-Utils \ |
28 |
p5-Scalar-List-Utils>0:${PORTSDIR}/lang/p5-Scalar-List-Utils \ |
28 |
p5-Socket>0:${PORTSDIR}/net/p5-Socket \ |
29 |
p5-Socket>0:${PORTSDIR}/net/p5-Socket \ |
29 |
p5-XML-Fast>0:${PORTSDIR}/net/p5-XML-Fast \ |
|
|
30 |
p5-Text-CharWidth>0:${PORTSDIR}/textproc/p5-Text-CharWidth \ |
30 |
p5-Text-CharWidth>0:${PORTSDIR}/textproc/p5-Text-CharWidth \ |
31 |
p5-Text-ParseWords>0:${PORTSDIR}/textproc/p5-Text-ParseWords \ |
31 |
p5-Text-ParseWords>0:${PORTSDIR}/textproc/p5-Text-ParseWords \ |
32 |
p5-Text-Tabs+Wrap>0:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap \ |
32 |
p5-Text-Tabs+Wrap>0:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap \ |
33 |
p5-LWP-Protocol-https>0:${PORTSDIR}/www/p5-LWP-Protocol-https \ |
33 |
p5-LWP-Protocol-https>0:${PORTSDIR}/www/p5-LWP-Protocol-https \ |
|
|
34 |
p5-Mozilla-CA>0:${PORTSDIR}/www/p5-Mozilla-CA \ |
34 |
p5-libwww>0:${PORTSDIR}/www/p5-libwww |
35 |
p5-libwww>0:${PORTSDIR}/www/p5-libwww |
35 |
RUN_DEPENDS:= ${BUILD_DEPENDS} \ |
36 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
36 |
mplayer:${PORTSDIR}/multimedia/mplayer |
|
|
37 |
|
37 |
|
38 |
USE_GITHUB= yes |
38 |
USE_GITHUB= yes |
39 |
GH_ACCOUNT= trizen |
39 |
GH_ACCOUNT= trizen |
40 |
GH_PROJECT= youtube-viewer |
40 |
GH_PROJECT= youtube-viewer |
41 |
|
41 |
|
42 |
WRKSRC_SUBDIR= WWW-YoutubeViewer |
42 |
NO_ARCH= yes |
43 |
|
43 |
|
44 |
USES= perl5 shebangfix |
44 |
USES= perl5 shebangfix |
45 |
SHEBANG_FILES= bin/gtk-youtube-viewer bin/youtube-viewer |
45 |
SHEBANG_FILES= bin/gtk-youtube-viewer bin/youtube-viewer |
46 |
USE_PERL5= 5.16+ patch modbuild |
46 |
USE_PERL5= patch modbuild |
47 |
CONFIGURE_ARGS+=${DATADIR} |
47 |
CONFIGURE_ARGS+=${DATADIR} |
48 |
|
48 |
|
49 |
OPTIONS_DEFINE= GCAP GTK2 |
49 |
OPTIONS_DEFINE= GTK2 |
50 |
OPTIONS_DEFAULT= GCAP GTK2 |
50 |
OPTIONS_MULTI= PLAYER |
|
|
51 |
OPTIONS_MULTI_PLAYER= MPLAYER MPV VLC |
52 |
OPTIONS_DEFAULT= GTK2 MPLAYER |
51 |
OPTIONS_SUB= yes |
53 |
OPTIONS_SUB= yes |
52 |
|
54 |
|
53 |
GCAP_DESC= YouTube closed captions support |
|
|
54 |
GCAP_RUN_DEPENDS= ${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap |
55 |
GTK2_BUILD_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \ |
55 |
GTK2_BUILD_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \ |
56 |
p5-Gtk2>0:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
56 |
p5-Gtk2>0:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
57 |
GTK2_RUN_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \ |
57 |
GTK2_RUN_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \ |
58 |
p5-Gtk2>0:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
58 |
p5-Gtk2>0:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
59 |
GTK2_CONFIGURE_ON= --gtk-youtube-viewer |
59 |
GTK2_CONFIGURE_ON= --gtk-youtube-viewer |
|
|
60 |
MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer |
61 |
MPV_DESC= MPV media player support |
62 |
MPV_RUN_DEPENDS= mpv:${PORTSDIR}/multimedia/mpv |
63 |
PLAYER_DESC= Media player |
64 |
VLC_DESC= VLC media player support |
65 |
VLC_RUN_DEPENDS= vlc:${PORTSDIR}/multimedia/vlc |
60 |
|
66 |
|
61 |
.include <bsd.port.options.mk> |
67 |
.include <bsd.port.options.mk> |
62 |
|
68 |
|