From baa6601026d3dd69cf11d71b733db957f21b283e Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Thu, 3 Nov 2011 09:53:04 +0100
Subject: [PATCH] New package: libva-intel-driver-1.0.15.

---
 srcpkgs/libva-intel-driver/template | 36 +++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 srcpkgs/libva-intel-driver/template

diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template
new file mode 100644
index 0000000000..2b90c00af5
--- /dev/null
+++ b/srcpkgs/libva-intel-driver/template
@@ -0,0 +1,36 @@
+# Template file for 'libva-intel-driver'
+_distname=intel-driver
+pkgname=libva-${_distname}
+version=1.0.15
+wrksrc=${_distname}-${version}
+distfiles="http://cgit.freedesktop.org/vaapi/${_distname}/snapshot/${_distname}-$version.tar.bz2"
+build_style=gnu-configure
+short_desc="Video Acceleration (VA) API - Intel Graphics backend"
+maintainer="Juan RP <xtraeme@gmail.com>"
+homepage="http://freedesktop.org/wiki/Software/vaapi"
+license="MIT"
+checksum=52f16f78129af00ec40afc6a1b8fb07c7b6c6c0da7f43a54e19afd2a41791098
+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).
+
+ This package includes the VA-API backend for Intel G45 chipsets and Intel
+ HD Graphics."
+
+Add_dependency run glibc
+Add_dependency run libdrm
+Add_dependency run libva
+
+Add_dependency build automake
+Add_dependency build pkg-config
+Add_dependency build libva-devel
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vinstall COPYING 644 usr/share/licenses/${pkgname}
+}