summaryrefslogtreecommitdiff
path: root/multimedia/py-gstreamer1/Makefile
blob: e3619d0863f7603b91e197b06ea58f4ab9860aa0 (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
PORTNAME=	gstreamer
DISTVERSION=	1.22.4
CATEGORIES=	multimedia python
MASTER_SITES=	http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX=	1
DISTNAME=	gst-python-${PORTVERSION}

MAINTAINER=	multimedia@FreeBSD.org
COMMENT=	GStreamer python bindings
WWW=		https://gstreamer.freedesktop.org/

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

PORTSCOUT=	limitw:1,even

USES=		cpe gnome gstreamer meson pkgconfig python tar:xz
CPE_VENDOR=	${PORTNAME}_project
USE_GNOME=	pygobject3
USE_PYTHON=	flavors py3kplist
PLIST_SUB=	VERSION="${GST_VERSION}"
BINARY_ALIAS=	python3=${PYTHON_VERSION}

post-install:
	${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
	${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}

.include <bsd.port.mk>