blob: b8b9360cee18ee3cc85322543e785a1d7919b157 (
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
|
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= audioread
PORTVERSION= 2.1.9
CATEGORIES= audio python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Multi-library, cross-platform audio decoding
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
OPTIONS_MULTI= BACKEND
OPTIONS_MULTI_BACKEND= FFMPEG GSTREAMER PYMAD
OPTIONS_DEFAULT=PYMAD
FFMPEG_DESC= Use ffmpeg as backend
GSTREAMER_DESC= Use gstreamer as backend
PYMAD_DESC= Use pymad as backend
FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg
GSTREAMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.0:multimedia/py-gstreamer1@${PY_FLAVOR}
PYMAD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymad>=0:audio/py-pymad@${PY_FLAVOR}
.include <bsd.port.mk>
|