1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/audio/py-audioread/Makefile
Sunpoet Po-Chuan Hsieh 0f2ae1bdd7 Add GSTREAMER option
2019-06-22 21:48:23 +00:00

37 lines
1.1 KiB
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= audioread
PORTVERSION= 2.1.8
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
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
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>