ports/72347: [PATCH] multimedia/gstreamer-plugins: [add mplex plugin]

Michael Johnson ahze at ahze.net
Tue Oct 5 07:40:24 UTC 2004


>Number:         72347
>Category:       ports
>Synopsis:       [PATCH] multimedia/gstreamer-plugins: [add mplex plugin]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 05 07:40:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        FreeBSD 5.3-BETA6 i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-BETA6 FreeBSD 5.3-BETA6 #67: Fri Oct  1 15:03:41 EDT
>Description:
- Add mplex plugin from mjpegtools
- Use new GCONF_SCHEMAS


Port maintainer (lioux at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- gstreamer-plugins-0.8.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/gstreamer-plugins/Makefile,v
retrieving revision 1.64
diff -u -r1.64 Makefile
--- Makefile	11 Sep 2004 01:08:33 -0000	1.64
+++ Makefile	5 Oct 2004 07:25:32 -0000
@@ -31,6 +31,7 @@
 		gconf2
 USE_REINPLACE=	yes
 USE_LIBTOOL_VER=15
+GCONF_SCHEMAS=	gstreamer-0.8.schemas
 CONFIGURE_ARGS=	--disable-tests \
 		--disable-alsa \
 		--enable-cdrom \
@@ -54,7 +55,6 @@
 CONFIGURE_ARGS+=\
 		--disable-tarkin \
 		--disable-lcs \
-		--disable-mplex \
 		--disable-shout2 \
 		--disable-libvisual \
 		--disable-dirac \
@@ -138,7 +138,10 @@
 		 -e 's|(KIO_CFLAGS=.+)"$$|\1 ${PTHREAD_CFLAGS}"|' \
 		 -e 's|(KIO_LIBS=.+)"$$|\1 ${PTHREAD_LIBS}"|' \
 			${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-
+# mplex
+	@${REINPLACE_CMD} -E \
+	-e 's|PFLAGS@|PFLAGS@ -I${LOCALBASE}/include/mjpegtools -I${LOCALBASE}/include/mjpegtools/mplex|' \
+		${WRKSRC}/ext/mplex/Makefile.in
 .include <bsd.port.pre.mk>
 
 # hermes is required for gstreamer-player to work
@@ -757,7 +760,7 @@
 
 # mjpegtools
 .ifndef(WITH_MJPEGTOOLS)
-CONFIGURE_ARGS+=	--disable-mpeg2enc
+CONFIGURE_ARGS+=	--disable-mpeg2enc --disable-mplex
 PLIST_SUB+=	MJPEGTOOLS="@comment "
 .else
 LIB_DEPENDS+=	lavjpeg-1.6.2:${PORTSDIR}/multimedia/mjpegtools
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/multimedia/gstreamer-plugins/pkg-plist,v
retrieving revision 1.18
diff -u -r1.18 pkg-plist
--- pkg-plist	3 Sep 2004 04:16:52 -0000	1.18
+++ pkg-plist	5 Oct 2004 07:13:01 -0000
@@ -1,8 +1,5 @@
 bin/gst-launch-ext-%%VERSION%%
 bin/gst-visualise-%%VERSION%%
- at unexec GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gstreamer-%%VERSION%%.schemas > /dev/null || /usr/bin/true
-etc/gconf/schemas/gstreamer-%%VERSION%%.schemas
- at exec GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gstreamer-%%VERSION%%.schemas > /dev/null || /usr/bin/true
 include/gstreamer-%%VERSION%%/gst/audio/gstaudiofilter.h
 include/gstreamer-%%VERSION%%/gst/audio/audioclock.h
 include/gstreamer-%%VERSION%%/gst/audio/audio.h
@@ -107,6 +104,7 @@
 lib/gstreamer-%%VERSION%%/libgstmpegaudio.so
 lib/gstreamer-%%VERSION%%/libgstmpegaudioparse.so
 lib/gstreamer-%%VERSION%%/libgstmpegstream.so
+%%MJPEGTOOLS%%lib/gstreamer-%%VERSION%%/libgstmplex.so
 lib/gstreamer-%%VERSION%%/libgstmulaw.so
 lib/gstreamer-%%VERSION%%/libgstmultifilesink.so
 lib/gstreamer-%%VERSION%%/libgstmultipart.so
--- gstreamer-plugins-0.8.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list