Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2010 20:00:00 +0400
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        makc@FreeBSD.org
Subject:   ports/150477: [new port] multimedia/gstreamer-plugins-vdpau
Message-ID:  <868w39y4fz.fsf@gmail.com>
Resent-Message-ID: <201009101610.o8AGA2LW035445@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150477
>Category:       ports
>Synopsis:       [new port] multimedia/gstreamer-plugins-vdpau
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 10 16:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
- depends on ports/150368
- xvid plugin was used as a template
>Description:
Push vdpau plugin from gstreamer-plugins-bad to its own port.
>How-To-Repeat:
plist inconsistency:
1. install multimedia/libvdpau
2. install multimedia/gstreamer-plugins-bad
3. deinstall multimedia/gstreamer-plugins-bad
>Fix:
--- a.diff begins here ---
Index: Mk/bsd.gstreamer.mk
===================================================================
RCS file: /a/.cvsup/ports/Mk/bsd.gstreamer.mk,v
retrieving revision 1.46
diff -u -p -r1.46 bsd.gstreamer.mk
--- Mk/bsd.gstreamer.mk	7 Sep 2010 06:52:39 -0000	1.46
+++ Mk/bsd.gstreamer.mk	10 Sep 2010 15:37:48 -0000
@@ -59,7 +59,7 @@ _USE_GSTREAMER10_ALL=	a52dec aalib amrnb
 			libcaca libmms libpng libvisual mm mp3 mpeg2enc mpeg2dec \
 			musepack nas neon ogg pango pulse python sdl shout2 sidplay \
 			sndfile spc soundtouch soup speex taglib \
-			theora twolame v4l2 vorbis wavpack x264 xvid
+			theora twolame v4l2 vdpau vorbis wavpack x264 xvid
 
 # other plugins
 OTHER_GSTREAMER_PLUGINS+=bad good ugly core yes ${_USE_GSTREAMER10_ALL} fluendo-mp3 mad
@@ -222,6 +222,8 @@ mplex_DEPENDS=	multimedia/gstreamer-plug
 
 v4l2_DEPENDS=	multimedia/gstreamer-plugins-v4l2
 
+vdpau_DEPENDS=	multimedia/gstreamer-plugins-vdpau
+
 # XXX: This is a quick solution for ports with USE_GSTREAMER=python
 #      but without USE_PYTHON.
 PYTHON_PKGNAMEPREFIX?=	py*-
Index: multimedia/Makefile
===================================================================
RCS file: /a/.cvsup/ports/multimedia/Makefile,v
retrieving revision 1.390
diff -u -p -r1.390 Makefile
--- multimedia/Makefile	9 Sep 2010 07:43:33 -0000	1.390
+++ multimedia/Makefile	10 Sep 2010 15:36:41 -0000
@@ -108,6 +108,7 @@
     SUBDIR += gstreamer-plugins-theora
     SUBDIR += gstreamer-plugins-ugly
     SUBDIR += gstreamer-plugins-v4l2
+    SUBDIR += gstreamer-plugins-vdpau
     SUBDIR += gstreamer-plugins-x264
     SUBDIR += gstreamer-plugins-xvid
     SUBDIR += gstreamermm
Index: multimedia/gstreamer-plugins/Makefile.common
===================================================================
RCS file: /a/.cvsup/ports/multimedia/gstreamer-plugins/Makefile.common,v
retrieving revision 1.111
diff -u -p -r1.111 Makefile.common
--- multimedia/gstreamer-plugins/Makefile.common	6 Sep 2010 21:10:50 -0000	1.111
+++ multimedia/gstreamer-plugins/Makefile.common	10 Sep 2010 15:46:02 -0000
@@ -57,6 +57,7 @@ BAD_GST_ALL_PLUGINS+= \
 		swfdec \
 		theora \
 		timidity \
+		vdpau \
 		xvid \
 		zbar
 
@@ -484,6 +485,13 @@ gst_gst_v4l2_CONFIGURE_ARGS+=	--enable-g
 gst_gst_v4l2_GST_PLUGIN_DIR=sys/v4l2
 gst_gst_v4l2_DIST=	good
 
+# vdpau
+gst_vdpau_LIB_DEPENDS+=	vdpau.1:${PORTSDIR}/multimedia/libvdpau
+gst_vdpau_PLIST_FILES=	${GST_LIB_DIR}/libgstvdpau.la \
+		${GST_LIB_DIR}/libgstvdpau.so
+gst_vdpau_GST_PLUGIN_DIR=	sys/vdpau
+gst_vdpau_DIST=	bad
+
 # vorbis
 gst_vorbis_USE_GSTREAMER+=	ogg
 gst_vorbis_LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
Index: multimedia/gstreamer-plugins-vdpau/Makefile
===================================================================
RCS file: multimedia/gstreamer-plugins-vdpau/Makefile
diff -N multimedia/gstreamer-plugins-vdpau/Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/gstreamer-plugins-vdpau/Makefile	10 Sep 2010 15:34:44 -0000
@@ -0,0 +1,17 @@
+# New ports collection makefile for:	gstreamer-plugins-vdpau
+# Date created:				10 Sep 2010
+# Whom:					Anonymous
+#
+# $FreeBSD$
+#
+
+PORTREVISION=	0
+CATEGORIES=	multimedia
+
+COMMENT=	Gstreamer vdpau plugin
+
+GST_PLUGIN=	vdpau
+
+MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer-plugins
+
+.include "${MASTERDIR}/Makefile"
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868w39y4fz.fsf>