From 85ac101cba0e83045b1012657b9acc276349e47b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 3 Nov 2011 07:41:30 +0100 Subject: [PATCH] New package: libvdpau-0.4.1. --- srcpkgs/libvdpau-devel | 1 + srcpkgs/libvdpau/depends | 2 ++ srcpkgs/libvdpau/libvdpau-devel.template | 16 +++++++++++++ srcpkgs/libvdpau/template | 29 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 49 insertions(+) create mode 120000 srcpkgs/libvdpau-devel create mode 100644 srcpkgs/libvdpau/depends create mode 100644 srcpkgs/libvdpau/libvdpau-devel.template create mode 100644 srcpkgs/libvdpau/template diff --git a/srcpkgs/libvdpau-devel b/srcpkgs/libvdpau-devel new file mode 120000 index 00000000000..3529f1c7ed8 --- /dev/null +++ b/srcpkgs/libvdpau-devel @@ -0,0 +1 @@ +libvdpau \ No newline at end of file diff --git a/srcpkgs/libvdpau/depends b/srcpkgs/libvdpau/depends new file mode 100644 index 00000000000..fed1cb2e2e1 --- /dev/null +++ b/srcpkgs/libvdpau/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.4.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/libvdpau/libvdpau-devel.template b/srcpkgs/libvdpau/libvdpau-devel.template new file mode 100644 index 00000000000..cd0e00ca217 --- /dev/null +++ b/srcpkgs/libvdpau/libvdpau-devel.template @@ -0,0 +1,16 @@ +# Template file for 'libva-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libXfixes-devel +Add_dependency run MesaLib-devel +Add_dependency run libva + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/libvdpau/template b/srcpkgs/libvdpau/template new file mode 100644 index 00000000000..3e0f0792e76 --- /dev/null +++ b/srcpkgs/libvdpau/template @@ -0,0 +1,29 @@ +# Template file for 'libvdpau' +pkgname=libvdpau +version=0.4.1 +distfiles="http://people.freedesktop.org/~aplattner/vdpau/$pkgname-$version.tar.gz" +build_style=gnu-configure +short_desc="The Video Decode and Presentation API for UNIX" +maintainer="Juan RP " +homepage="http://cgit.freedesktop.org/~aplattner/libvdpau" +license="MIT" +checksum=061b6f86c64912f79851bfefcac4f77b401e9a939dbbb7b1ec795bc7d5aaf59b +long_desc=" + 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." + +subpackages="$pkgname-devel" + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ + +Add_dependency build pkg-config +Add_dependency build libX11-devel + +post_install() { + vinstall COPYING 644 usr/share/licenses/${pkgname} +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 10aee975d63..7056808916b 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -954,3 +954,4 @@ libSlice.so.34 libIce Ice-devel libIceSSL.so.34 libIce Ice-devel libIcePatch2.so.34 libIce Ice-devel libIceXML.so.34 libIce Ice-devel +libvdpau.so.1 libvdpau libvdpau-devel