Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= gstreamer |
4 |
PORTNAME= gstreamer |
5 |
PORTVERSION= 1.2.1 |
5 |
PORTVERSION= 1.4.0 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= multimedia python |
6 |
CATEGORIES= multimedia python |
8 |
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/ |
7 |
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/ |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 11-34
Link Here
|
11 |
DISTNAME= gst-python-${PORTVERSION} |
10 |
DISTNAME= gst-python-${PORTVERSION} |
12 |
|
11 |
|
13 |
MAINTAINER= multimedia@FreeBSD.org |
12 |
MAINTAINER= multimedia@FreeBSD.org |
14 |
COMMENT= Python bindings for gstreamer |
13 |
COMMENT= Python bindings for GStreamer |
15 |
|
14 |
|
16 |
LICENSE= LGPL21 |
15 |
LICENSE= LGPL21 |
17 |
LICENSE_FILE= ${WRKSRC}/COPYING |
16 |
LICENSE_FILE= ${WRKSRC}/COPYING |
18 |
|
17 |
|
19 |
USES= gmake libtool pathfix pkgconfig python:2 tar:bzip2 |
18 |
USES= gmake libtool pathfix pkgconfig python:3 tar:xz |
20 |
USE_GNOME= pygobject3 |
19 |
USE_GNOME= py3gobject3 |
21 |
USE_GSTREAMER1= yes |
20 |
USE_GSTREAMER1= yes |
22 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
23 |
PLIST_SUB= VERSION="${GST_VERSION}" |
22 |
PLIST_SUB= VERSION="${GST1_VERSION}" |
24 |
CPPFLAGS+= -I${LOCALBASE}/include |
23 |
CPPFLAGS+= -I${LOCALBASE}/include |
25 |
LIBS+= -L${LOCALBASE}/lib |
24 |
LIBS+= -L${LOCALBASE}/lib |
26 |
INSTALL_TARGET= install-strip |
25 |
INSTALL_TARGET= install-strip |
|
|
26 |
USE_PYTHON= py3kplist |
27 |
|
27 |
|
28 |
post-install: |
|
|
29 |
${SETENV} PYTHON=${PYTHON_CMD} ${SH} ${WRKSRC}/py-compile \ |
30 |
--destdir ${STAGEDIR} \ |
31 |
--basedir ${PYTHON_SITELIBDIR} \ |
32 |
${STAGEDIR}${PYTHON_SITELIBDIR}/pygst.py |
33 |
|
34 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |