diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-12-02 12:15:08 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-12-02 12:15:08 +0000 |
commit | 94e6976f4857a1ea09f138fb24ce9c93370676a4 (patch) | |
tree | c4f6ca8e924f52e70b2b9c8ac7cef63458d95df4 /multimedia | |
parent | c6542b7ce1c1fe6a22e5d5a3cd65f22a6c4f7b56 (diff) | |
download | pkgsrc-94e6976f4857a1ea09f138fb24ce9c93370676a4.tar.gz |
Update libvdpau to 0.5.0. Tested on RHEL.
-
Implement workarounds for Adobe Flash bugs
Implement two workarounds:
1) Swap U and V planes to VdpVideoSurfacePutBitsYCbCr to fix blue-tinged
videos.
2) Disable VdpPresentationQueueSetBackgroundColor, so that Flash doesn't
set the background to pure black or pure white, which would cause the
VDPAU image to bleed through to other parts of the desktop with those
very common colors.
-
vdpau_wrapper.c: Track dynamic library handles and free them on exit
using __attribute__((destructor))
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libvdpau/Makefile | 21 | ||||
-rw-r--r-- | multimedia/libvdpau/PLIST | 3 | ||||
-rw-r--r-- | multimedia/libvdpau/distinfo | 8 |
3 files changed, 21 insertions, 11 deletions
diff --git a/multimedia/libvdpau/Makefile b/multimedia/libvdpau/Makefile index e09460948d6..f6834601a58 100644 --- a/multimedia/libvdpau/Makefile +++ b/multimedia/libvdpau/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2012/10/08 09:21:07 asau Exp $ +# $NetBSD: Makefile,v 1.6 2012/12/02 12:15:08 cheusov Exp $ # -DISTNAME= libvdpau-0.4.1 +DISTNAME= libvdpau-0.5 CATEGORIES= multimedia MASTER_SITES= http://people.freedesktop.org/~aplattner/vdpau/ @@ -10,23 +10,32 @@ HOMEPAGE= http://http.download.nvidia.com/XFree86/vdpau/doxygen/html/index.html COMMENT= Video Decode and Presentation API for Unix LICENSE= mit -ONLY_FOR_PLATFORM= ${VDPAU_AVAILABLE_ON:S/$/-*-*/} - GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config gmake USE_LANGUAGES= c c++ CONFIGURE_ARGS+= --disable-documentation -INSTALLATION_DIRS+= share/doc/libvdpau +AUTO_MKDIRS+= yes PKGCONFIG_OVERRIDE+= vdpau.pc.in +DOCDIR= ${PREFIX}/share/doc/libvdpau +EGDIR= ${PREFIX}/share/examples/libvdpau +CONF_FILES= ${EGDIR}/vdpau_wrapper.cfg \ + ${PKG_SYSCONFDIR}/vdpau_wrapper.cfg + +INSTALL_MAKE_FLAGS= sysconfdir=${EGDIR} + DOCFILES= README NEWS COPYING AUTHORS post-install: set -e; cd ${WRKSRC}; \ - ${INSTALL_DATA} ${DOCFILES} ${DESTDIR}${PREFIX}/share/doc/libvdpau + ${INSTALL_DATA} ${DOCFILES} ${DESTDIR}${DOCDIR} .include "available.mk" +.if ${VDPAU_AVAILABLE} == no +PKG_FAIL_REASON= "VDPAU is not available on this platform" +.endif + .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/multimedia/libvdpau/PLIST b/multimedia/libvdpau/PLIST index c4006cd1083..28877ab4a61 100644 --- a/multimedia/libvdpau/PLIST +++ b/multimedia/libvdpau/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/01 20:41:45 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2012/12/02 12:15:08 cheusov Exp $ include/vdpau/vdpau.h include/vdpau/vdpau_x11.h lib/libvdpau.la @@ -8,3 +8,4 @@ share/doc/libvdpau/AUTHORS share/doc/libvdpau/COPYING share/doc/libvdpau/NEWS share/doc/libvdpau/README +share/examples/libvdpau/vdpau_wrapper.cfg diff --git a/multimedia/libvdpau/distinfo b/multimedia/libvdpau/distinfo index cb5b9a56781..0d023c42d1c 100644 --- a/multimedia/libvdpau/distinfo +++ b/multimedia/libvdpau/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2011/02/20 14:24:05 wiz Exp $ +$NetBSD: distinfo,v 1.4 2012/12/02 12:15:08 cheusov Exp $ -SHA1 (libvdpau-0.4.1.tar.gz) = d09deff305e4927bc96fca8383f991d137e64d45 -RMD160 (libvdpau-0.4.1.tar.gz) = 94bd82e0c1a9d1fd3854bec4718720b9bc6894f1 -Size (libvdpau-0.4.1.tar.gz) = 456607 bytes +SHA1 (libvdpau-0.5.tar.gz) = 1b18b8f75eea52740af84881313d860ad5c27d0b +RMD160 (libvdpau-0.5.tar.gz) = d189dff51a745945c7140bea70b1af20288872e4 +Size (libvdpau-0.5.tar.gz) = 478945 bytes SHA1 (patch-src_Makefile.in) = eee1081fdc114e7bcd8c1a74b8fa60c2f4d479dc |