summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz>2010-09-01 20:41:45 +0000
committerwiz <wiz>2010-09-01 20:41:45 +0000
commitf02ef69a5fa7dabad575edde492a7ad87b259a32 (patch)
tree1dc679ed056db9bb5045d8bdb4b805ebbb3c116f /multimedia
parentdc12c73ea1144456820cd11c556adf00f039b5fa (diff)
downloadpkgsrc-f02ef69a5fa7dabad575edde492a7ad87b259a32.tar.gz
Initial import of libvdpau-0.4, packaged by Aleksey Cheusov for wip.
The Video Decode and Presentation API for Unix (VDPAU) provides a complete solution for decoding, post-processing, compositing, and displaying compressed or uncompressed video streams. These video streams may be combined (composited) with bitmap content, to implement OSDs and other application user interfaces. This VDPAU API allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvdpau/DESCR8
-rw-r--r--multimedia/libvdpau/Makefile33
-rw-r--r--multimedia/libvdpau/PLIST10
-rw-r--r--multimedia/libvdpau/available.mk14
-rw-r--r--multimedia/libvdpau/buildlink3.mk26
-rw-r--r--multimedia/libvdpau/distinfo5
6 files changed, 96 insertions, 0 deletions
diff --git a/multimedia/libvdpau/DESCR b/multimedia/libvdpau/DESCR
new file mode 100644
index 00000000000..b4fc64ebc7a
--- /dev/null
+++ b/multimedia/libvdpau/DESCR
@@ -0,0 +1,8 @@
+The Video Decode and Presentation API for Unix (VDPAU) provides a complete
+solution for decoding, post-processing, compositing, and displaying
+compressed or uncompressed video streams. These video streams may be
+combined (composited) with bitmap content, to implement OSDs and other
+application user interfaces.
+
+This VDPAU API allows video programs to offload portions of the video
+decoding process and video post-processing to the GPU video-hardware.
diff --git a/multimedia/libvdpau/Makefile b/multimedia/libvdpau/Makefile
new file mode 100644
index 00000000000..f352d9538cf
--- /dev/null
+++ b/multimedia/libvdpau/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/01 20:41:45 wiz Exp $
+#
+
+DISTNAME= libvdpau-0.4
+CATEGORIES= multimedia
+MASTER_SITES= http://people.freedesktop.org/~aplattner/vdpau/
+
+MAINTAINER= vle@gmx.net
+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/$/-*-*/}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake
+USE_LANGUAGES= c c++
+
+INSTALLATION_DIRS+= share/doc/libvdpau
+
+PKGCONFIG_OVERRIDE+= vdpau.pc.in
+
+DOCFILES= README NEWS COPYING AUTHORS
+post-install:
+ set -e; cd ${WRKSRC}; \
+ ${INSTALL_DATA} ${DOCFILES} ${DESTDIR}${PREFIX}/share/doc/libvdpau
+
+.include "available.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libvdpau/PLIST b/multimedia/libvdpau/PLIST
new file mode 100644
index 00000000000..c4006cd1083
--- /dev/null
+++ b/multimedia/libvdpau/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/01 20:41:45 wiz Exp $
+include/vdpau/vdpau.h
+include/vdpau/vdpau_x11.h
+lib/libvdpau.la
+lib/pkgconfig/vdpau.pc
+lib/vdpau/libvdpau_trace.la
+share/doc/libvdpau/AUTHORS
+share/doc/libvdpau/COPYING
+share/doc/libvdpau/NEWS
+share/doc/libvdpau/README
diff --git a/multimedia/libvdpau/available.mk b/multimedia/libvdpau/available.mk
new file mode 100644
index 00000000000..3033c5cd489
--- /dev/null
+++ b/multimedia/libvdpau/available.mk
@@ -0,0 +1,14 @@
+# $NetBSD: available.mk,v 1.1.1.1 2010/09/01 20:41:45 wiz Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+# At the moment VDPAU is available only for Linux, FreeBSD and
+# [Open]Solaris. The following condition is here to NOT list these
+# platforms in multiple places, i.e. in mplayer, xine, xbmc etc.
+# Have a look at buildlink3.mk too.
+VDPAU_AVAILABLE_ON= Linux FreeBSD SunOS
+.if !empty(VDPAU_AVAILABLE_ON:M${OPSYS})
+VDPAU_AVAILABLE= yes
+.else
+VDPAU_AVAILABLE= no
+.endif
diff --git a/multimedia/libvdpau/buildlink3.mk b/multimedia/libvdpau/buildlink3.mk
new file mode 100644
index 00000000000..fe1d59d1680
--- /dev/null
+++ b/multimedia/libvdpau/buildlink3.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/09/01 20:41:45 wiz Exp $
+
+#
+# For linking use LDFLAGS.vdpau variable
+#
+
+# Check whether VDPAU is available on this platform
+.include "../../wip/libvdpau/available.mk"
+.if ${VDPAU_AVAILABLE} == "yes"
+
+BUILDLINK_TREE+= libvdpau
+
+. if !defined(LIBVDPAU_BUILDLINK3_MK)
+LIBVDPAU_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libvdpau+= libvdpau>=0.3
+BUILDLINK_PKGSRCDIR.libvdpau?= ../../wip/libvdpau
+
+.include "../../x11/libX11/buildlink3.mk"
+. endif # LIBVDPAU_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libvdpau
+
+LDFLAGS.vdpau= -lvdpau
+
+.endif # Linux, FreeBSD, SunOS...
diff --git a/multimedia/libvdpau/distinfo b/multimedia/libvdpau/distinfo
new file mode 100644
index 00000000000..c2ba6fdafba
--- /dev/null
+++ b/multimedia/libvdpau/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/01 20:41:45 wiz Exp $
+
+SHA1 (libvdpau-0.4.tar.gz) = 3e0304bca10fdcd0ca1f9947612c30426db78141
+RMD160 (libvdpau-0.4.tar.gz) = 791eb94a374c3013d2b8d51ebe167828b0b38544
+Size (libvdpau-0.4.tar.gz) = 452406 bytes