mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
|
|
|
PORTNAME= mps-youtube
|
|
DISTVERSION= 0.2.9.g20200313
|
|
CATEGORIES= multimedia
|
|
|
|
USE_GITHUB= yes
|
|
GH_TAGNAME= afab9fb
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Terminal based YouTube jukebox with playlist management
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ca_root_nss>=3.17.3:security/ca_root_nss \
|
|
${PYTHON_PKGNAMEPREFIX}pafy>=0.5.0:www/py-pafy@${PY_FLAVOR}
|
|
|
|
CONVERTER_DESC= Converter to MP3 and other formats
|
|
|
|
FFMPEG_RUN_DEPENDS= ffmpeg>=2.3.6:multimedia/ffmpeg
|
|
|
|
LIBAV_DESC= Realtime audio/video conversion library
|
|
LIBAV_RUN_DEPENDS= libav>=11.2:multimedia/libav
|
|
|
|
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
|
|
|
|
MPV_DESC= Free and open-source general-purpose video player
|
|
MPV_RUN_DEPENDS= mpv: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
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
USES= python:3.3+
|
|
USE_PYTHON= autoplist distutils optsuffix
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|