From eaaa7b3483761b7fedd5a61d2adec5bb983d08ef Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Aug 2011 21:27:10 +0200 Subject: [PATCH] New package: libva-1.0.14. --- srcpkgs/libva-devel | 1 + srcpkgs/libva/depends | 2 ++ srcpkgs/libva/libva-devel.template | 16 ++++++++++ srcpkgs/libva/template | 39 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 2 ++ 5 files changed, 60 insertions(+) create mode 120000 srcpkgs/libva-devel create mode 100644 srcpkgs/libva/depends create mode 100644 srcpkgs/libva/libva-devel.template create mode 100644 srcpkgs/libva/template diff --git a/srcpkgs/libva-devel b/srcpkgs/libva-devel new file mode 120000 index 00000000000..76a6e927d3a --- /dev/null +++ b/srcpkgs/libva-devel @@ -0,0 +1 @@ +libva \ No newline at end of file diff --git a/srcpkgs/libva/depends b/srcpkgs/libva/depends new file mode 100644 index 00000000000..495cf8ab482 --- /dev/null +++ b/srcpkgs/libva/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.0.14" +api_depends="${abi_depends}" diff --git a/srcpkgs/libva/libva-devel.template b/srcpkgs/libva/libva-devel.template new file mode 100644 index 00000000000..cd0e00ca217 --- /dev/null +++ b/srcpkgs/libva/libva-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/libva/template b/srcpkgs/libva/template new file mode 100644 index 00000000000..253dd071500 --- /dev/null +++ b/srcpkgs/libva/template @@ -0,0 +1,39 @@ +# Template file for 'libva' +pkgname=libva +version=1.0.14 +distfiles="http://cgit.freedesktop.org/libva/snapshot/libva-$version.tar.bz2" +build_style=gnu_configure +configure_args="--enable-i965-driver --enable-glx" +short_desc="Video Acceleration (VA) API" +maintainer="Juan RP " +homepage="http://freedesktop.org/wiki/Software/vaapi" +license="MIT" +checksum=b15ab93b549651a07664ced831b20e559e0f7edabb57169af8049b3e761ea764 +long_desc=" + The main motivation for VA-API (Video Acceleration API) is to enable hardware + accelerated video decode/encode at various entry-points (VLD, IDCT, Motion + Compensation etc.) for the prevailing coding standards today (MPEG-2, + MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3)." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run libX11 +Add_dependency run libXext +Add_dependency run libdrm +Add_dependency run libXfixes +Add_dependency run MesaLib + +Add_dependency build pkg-config +Add_dependency build automake +Add_dependency build libXfixes-devel +Add_dependency build MesaLib-devel + +pre_configure() +{ + autoreconf -fiv +} + +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 678dbaa36d6..a93ee43133e 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -821,3 +821,5 @@ swig-file-file.so go go libblktapctl.so.1 xen xen-devel libmozjs185.so.1 js js-devel libwebp.so libwebp libwebp-devel +libva-x11.so libva libva-devel +libva.so libva libva-devel