Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Sep 2010 04:59:50 +0400
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150368: [new port] multimedia/libvdpau: VDPAU wrapper and a tracing library
Message-ID:  <86tym1xd6h.fsf@gmail.com>
Resent-Message-ID: <201009080110.o881A2G1005213@freefall.freebsd.org>

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

>Number:         150368
>Category:       ports
>Synopsis:       [new port] multimedia/libvdpau: VDPAU wrapper and a tracing library
>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:   Wed Sep 08 01:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
If you have the urge feel free to substitute MAINTAINER field.
>Description:
Nvidia finally kicked out VDPAU headers from their latest driver.
Below is a quote from NVIDIA-FreeBSD-x86_64-260.19.04/NVIDIA_Changelog:

    * Stopped packaging and installing OpenGL and VDPAU header files
      with the driver.  Those interested in these files can get them from
      their distributions' packages, where available, or upstream from:

        OpenGL header files (gl.h, glext.h glx.h, glxext.h):
            http://www.opengl.org/registry/

        VDPAU header files (vdpau.h and vdpau_x11.h):
            http://freedesktop.org/wiki/Software/VDPAU

      Note that while libvdpau.so is still included in 260.xx drivers,
      it will be removed from a future release series in early 2011.
      Distributors are encouraged to package libvdpau.so from
      http://freedesktop.org/wiki/Software/VDPAU
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: multimedia/Makefile
===================================================================
RCS file: /a/.cvsup/ports/multimedia/Makefile,v
retrieving revision 1.387
diff -u -p -r1.387 Makefile
--- multimedia/Makefile	1 Sep 2010 13:57:14 -0000	1.387
+++ multimedia/Makefile	8 Sep 2010 00:38:55 -0000
@@ -318,6 +319,7 @@
     SUBDIR += vcdimager
     SUBDIR += vcdpad
     SUBDIR += vcdtools
+    SUBDIR += vdpauinfo
     SUBDIR += vlc
     SUBDIR += vlconwooztalk
     SUBDIR += vodcatcher
Index: multimedia/libvdpau/Makefile
===================================================================
RCS file: multimedia/libvdpau/Makefile
diff -N multimedia/libvdpau/Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/libvdpau/Makefile	8 Sep 2010 00:50:25 -0000
@@ -0,0 +1,26 @@
+# New ports collection makefile for:	libvdpau
+# Date created:				8 Sep 2010
+# Whom:					Anonymous
+#
+# $FreeBSD$
+#
+
+PORTNAME=	libvdpau
+PORTVERSION=	0.4
+CATEGORIES=	multimedia
+MASTER_SITES=	http://people.freedesktop.org/~aplattner/vdpau/
+
+MAINTAINER=	swell.k@gmail.com
+COMMENT=	VDPAU wrapper and a tracing library
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-documentation
+USE_GMAKE=	yes
+USE_XORG=	dri2proto xext
+USE_LDCONFIG=	yes
+
+post-patch:	.SILENT
+	${REINPLACE_CMD} 's|$$(libdir)/\(pkgconfig\)|$$(prefix)/libdata/\1|' \
+		${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
Index: multimedia/libvdpau/distinfo
===================================================================
RCS file: multimedia/libvdpau/distinfo
diff -N multimedia/libvdpau/distinfo
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/libvdpau/distinfo	7 Sep 2010 23:48:27 -0000
@@ -0,0 +1,3 @@
+MD5 (libvdpau-0.4.tar.gz) = 06da6f81ad37708b33a20ed177a44d81
+SHA256 (libvdpau-0.4.tar.gz) = 530c630e0784cc65bc31e5b487bd11fccd4049bc861d16844702048821262faa
+SIZE (libvdpau-0.4.tar.gz) = 452406
Index: multimedia/libvdpau/pkg-descr
===================================================================
RCS file: multimedia/libvdpau/pkg-descr
diff -N multimedia/libvdpau/pkg-descr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/libvdpau/pkg-descr	8 Sep 2010 00:02:34 -0000
@@ -0,0 +1,5 @@
+VDPAU is the Video Decode and Presentation API for UNIX. It provides
+an interface to video decode acceleration and presentation hardware
+present in modern GPUs.
+
+WWW: http://freedesktop.org/wiki/Software/VDPAU
Index: multimedia/libvdpau/pkg-plist
===================================================================
RCS file: multimedia/libvdpau/pkg-plist
diff -N multimedia/libvdpau/pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/libvdpau/pkg-plist	7 Sep 2010 23:55:01 -0000
@@ -0,0 +1,10 @@
+include/vdpau/vdpau.h
+include/vdpau/vdpau_x11.h
+lib/libvdpau.la
+lib/libvdpau.so
+lib/libvdpau.so.1
+lib/vdpau/libvdpau_trace.la
+lib/vdpau/libvdpau_trace.so
+lib/vdpau/libvdpau_trace.so.1
+libdata/pkgconfig/vdpau.pc
+@dirrm include/vdpau
--- 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?86tym1xd6h.fsf>