summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-23 15:37:35 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-23 15:37:35 +0800
commit0c7b917bb030ebb8e0c8a26280c7e9820bfdacd9 (patch)
tree3abd421fd722a9f7eeb99c8465089bfa8aad0ecd /multimedia
parenta3481f81a3bb98a7de9fdf41e46821f933003c6b (diff)
downloadmarcuscom-ports-experimental-0c7b917bb030ebb8e0c8a26280c7e9820bfdacd9.tar.gz
marcuscom-ports-experimental-0c7b917bb030ebb8e0c8a26280c7e9820bfdacd9.tar.zst
marcuscom-ports-experimental-0c7b917bb030ebb8e0c8a26280c7e9820bfdacd9.zip
The gstreamer bindings installed by these ports conflict with
the ones installed by py-gobject3. Those patches will be part of the next releases. [1] https://bugzilla.gnome.org/show_bug.cgi?id=726493 [2] http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=edd21362f63ddb24d504839382ab86e0ab1563ca git-svn-id: svn://creme-brulee.marcuscom.com/ports-experimental/trunk@19563 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/py-gstreamer1/Makefile5
-rw-r--r--multimedia/py3-gstreamer1/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/py-gstreamer1/Makefile b/multimedia/py-gstreamer1/Makefile
index 95cfe56..08de76a 100644
--- a/multimedia/py-gstreamer1/Makefile
+++ b/multimedia/py-gstreamer1/Makefile
@@ -4,6 +4,7 @@
PORTNAME= gstreamer1
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= multimedia python gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,4 +25,8 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE} ${PTHREAD_LIBS}
DISTINFO_FILE= ${.CURDIR}/../py3-gstreamer1/distinfo
+post-patch:
+ @${REINPLACE_CMD} -e 's|import _gi_gst|from . import _gi_gst|g' \
+ ${WRKSRC}/gi/overrides/Gst.py
+
.include <bsd.port.mk>
diff --git a/multimedia/py3-gstreamer1/Makefile b/multimedia/py3-gstreamer1/Makefile
index 3c02274..a621fc7 100644
--- a/multimedia/py3-gstreamer1/Makefile
+++ b/multimedia/py3-gstreamer1/Makefile
@@ -4,6 +4,7 @@
PORTNAME= gstreamer1
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= multimedia python gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,4 +25,8 @@ 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>