blob: 3e81a8a6e98b3e1b8f79b8d7b5f202f9bc174d69 (
plain) (
blame)
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
|
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= mps-youtube
PORTVERSION= 0.2.2
PORTREVISION= 0
CATEGORIES= multimedia
MASTER_SITES= CHEESESHOP
MAINTAINER= nivit@FreeBSD.org
COMMENT= Terminal based YouTube jukebox with playlist management
LICENSE= GPLv3
RUN_DEPENDS= ca_root_nss>=3.17.3:${PORTSDIR}/security/ca_root_nss \
${PYTHON_PKGNAMEPREFIX}pafy>=0.3.72:${PORTSDIR}/www/py-pafy
CONVERTER_DESC= Converter to MP3 and other formats
FFMPEG_RUN_DEPENDS= ffmpeg>=2.3.6:${PORTSDIR}/multimedia/ffmpeg
LIBAV_DESC= Realtime audio/video conversion library
LIBAV_RUN_DEPENDS= libav>=11.2:${PORTSDIR}/multimedia/libav
MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
MPV_DESC= Free and open-source general-purpose video player
MPV_RUN_DEPENDS= mpv:${PORTSDIR}/multimedia/mpv
OPTIONS_DEFAULT= MPV
OPTIONS_RADIO= CONVERTER
OPTIONS_RADIO_CONVERTER= FFMPEG LIBAV
OPTIONS_SINGLE= PLAYER
OPTIONS_SINGLE_PLAYER= MPLAYER MPV
PLAYER_DESC= Video player
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},1' \
${WRKSRC}/mps_youtube/main.py
.include <bsd.port.mk>
|