blob: a621fc784866f83d1646414295e67b2e80deaf65 (
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
|
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
# $MCom$
PORTNAME= gstreamer1
PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= multimedia python gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gst-python-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Python3 bindings for gstreamer
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake pathfix pkgconfig tar:bzip2
USE_GNOME= py3gobject3
USE_GSTREAMER1= yes
GNU_CONFIGURE= yes
USE_PYTHON= 3
PLIST_SUB= VERSION="${GST_VERSION}" PYTVER=${PYTHON_VER:S/.//}
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE} ${PTHREAD_LIBS}
post-patch:
@${REINPLACE_CMD} -e 's|import _gi_gst|from . import _gi_gst|g' \
${WRKSRC}/gi/overrides/Gst.py
.include <bsd.port.mk>
|