Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2011 16:03:36 +0300
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/153726: [new port] multimedia/vdpau-video: A VDPAU-based backend for VAAPI
Message-ID:  <868vyyrxp3.fsf@gmail.com>
Resent-Message-ID: <201101061310.p06DA7re035168@freefall.freebsd.org>

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

>Number:         153726
>Category:       ports
>Synopsis:       [new port] multimedia/vdpau-video: A VDPAU-based backend for VAAPI
>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:   Thu Jan 06 13:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
depends on ports/153725
>Description:
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: multimedia/Makefile
===================================================================
RCS file: /a/.cvsup/ports/multimedia/Makefile,v
retrieving revision 1.402
diff -u -p -r1.402 Makefile
--- multimedia/Makefile	3 Jan 2011 14:37:53 -0000	1.402
+++ multimedia/Makefile	5 Jan 2011 00:19:44 -0000
@@ -322,6 +323,7 @@
     SUBDIR += vcdimager
     SUBDIR += vcdpad
     SUBDIR += vcdtools
+    SUBDIR += vdpau-video
     SUBDIR += vdpauinfo
     SUBDIR += vlc
     SUBDIR += vodcatcher
Index: multimedia/vdpau-video/Makefile
===================================================================
RCS file: multimedia/vdpau-video/Makefile
diff -N multimedia/vdpau-video/Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/vdpau-video/Makefile	5 Jan 2011 12:24:42 -0000
@@ -0,0 +1,50 @@
+# New ports collection makefile for:	vdpau-video
+# Date created:				5 Jan 2011
+# Whom:					Anonymous
+#
+# $FreeBSD$
+#
+
+PORTNAME=	vdpau-video
+DISTVERSION=	0.7.3.pre2
+CATEGORIES=	multimedia
+MASTER_SITES=	http://www.splitted-desktop.com/~gbeauchesne/${PORTNAME}/
+
+MAINTAINER=	swell.k@gmail.com
+COMMENT=	A VDPAU-based backend for VAAPI
+
+LIB_DEPENDS=	va.1:${PORTSDIR}/multimedia/libva \
+		vdpau.1:${PORTSDIR}/multimedia/libvdpau
+
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv2=${WRKSRC}/COPYING
+
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}"
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+
+.include <bsd.port.pre.mk>
+
+VDPAU_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 pthread: | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
+
+.if !defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
+
+.if defined(STRIP) && ${STRIP} != ""
+INSTALL_TARGET=	install-strip
+.endif
+
+post-patch:	.SILENT
+	${REINPLACE_CMD} -e '/LIBS/{ s/-ldl//; \
+		s/-lrt//; s/-lpthread/${PTHREAD_LIBS}/; }' \
+		-e 's|driverdir|& --define-variable prefix=${PREFIX}|' \
+		 ${WRKSRC}/configure
+	${REINPLACE_CMD} 's/^vdpau.*LDFLAGS.*/& \
+		-Wl,-lc ${VDPAU_PTHREAD_LIBS:S/^/-Wl,/}/' \
+		${WRKSRC}/src/Makefile.in
+
+.include <bsd.port.post.mk>
Index: multimedia/vdpau-video/distinfo
===================================================================
RCS file: multimedia/vdpau-video/distinfo
diff -N multimedia/vdpau-video/distinfo
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/vdpau-video/distinfo	4 Jan 2011 22:31:22 -0000
@@ -0,0 +1,2 @@
+SHA256 (vdpau-video-0.7.3.pre2.tar.gz) = b51698e8f176f5ec18cc68ef583aea552e67640d9b6d21143a266e3bfb51ee58
+SIZE (vdpau-video-0.7.3.pre2.tar.gz) = 399979
Index: multimedia/vdpau-video/pkg-descr
===================================================================
RCS file: multimedia/vdpau-video/pkg-descr
diff -N multimedia/vdpau-video/pkg-descr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/vdpau-video/pkg-descr	5 Jan 2011 06:39:31 -0000
@@ -0,0 +1,3 @@
+A VDPAU-based backend for VAAPI
+
+WWW: http://www.splitted-desktop.com/~gbeauchesne/
Index: multimedia/vdpau-video/pkg-plist
===================================================================
RCS file: multimedia/vdpau-video/pkg-plist
diff -N multimedia/vdpau-video/pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ multimedia/vdpau-video/pkg-plist	5 Jan 2011 18:32:14 -0000
@@ -0,0 +1,4 @@
+lib/va/nvidia_drv_video.so
+lib/va/s3g_drv_video.so
+lib/va/vdpau_drv_video.la
+lib/va/vdpau_drv_video.so
--- 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?868vyyrxp3.fsf>