summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-03-01 10:09:39 +0000
committerPacho Ramos <pacho@gentoo.org>2014-03-01 10:09:39 +0000
commit2028ef41669bf3b6368f80d25a5325617562b5e0 (patch)
tree1a583d739d3efbfcf0c9b7144a1b8b05455757f2 /media-plugins/gst-plugins-vaapi
parentVersion bump, bug 502578. Specify LICENSE more precisely. Remove old. (diff)
downloadgentoo-2-2028ef41669bf3b6368f80d25a5325617562b5e0.tar.gz
gentoo-2-2028ef41669bf3b6368f80d25a5325617562b5e0.tar.bz2
gentoo-2-2028ef41669bf3b6368f80d25a5325617562b5e0.zip
Add vaapi plugin for gstreamer
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'media-plugins/gst-plugins-vaapi')
-rw-r--r--media-plugins/gst-plugins-vaapi/ChangeLog10
-rw-r--r--media-plugins/gst-plugins-vaapi/Manifest4
-rw-r--r--media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.8.ebuild52
-rw-r--r--media-plugins/gst-plugins-vaapi/metadata.xml5
4 files changed, 71 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-vaapi/ChangeLog b/media-plugins/gst-plugins-vaapi/ChangeLog
new file mode 100644
index 000000000000..8386db9788ab
--- /dev/null
+++ b/media-plugins/gst-plugins-vaapi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-plugins/gst-plugins-vaapi
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-vaapi/ChangeLog,v 1.1 2014/03/01 10:09:39 pacho Exp $
+
+*gst-plugins-vaapi-0.5.8 (01 Mar 2014)
+
+ 01 Mar 2014; Pacho Ramos <pacho@gentoo.org> +gst-plugins-vaapi-0.5.8.ebuild,
+ +metadata.xml:
+ Add vaapi plugin
+
diff --git a/media-plugins/gst-plugins-vaapi/Manifest b/media-plugins/gst-plugins-vaapi/Manifest
new file mode 100644
index 000000000000..4b7407518d9d
--- /dev/null
+++ b/media-plugins/gst-plugins-vaapi/Manifest
@@ -0,0 +1,4 @@
+DIST gstreamer-vaapi-0.5.8.tar.bz2 822266 SHA256 24fee8a1ca4cb99ed7739d876b17a4085e81b28550350867dee5105300d343c6 SHA512 f05f4e16183bfaa1d8b2c366385a83d531657addd8f47cea63213c3986a8a88d43fff82723f3f19466ad3e381847c354e16306578b6959e1f9271fc8cfd39f98 WHIRLPOOL f8bc90be677d883559860a3b2706db17d2b66ed34385d40d686e5506edf89f868b371a09c1b1f95bbce8efab68d4c6fa53224bc829ad087eee8d02668e7f5525
+EBUILD gst-plugins-vaapi-0.5.8.ebuild 1185 SHA256 5e7b82470a80b257e8ca3fa6ecdf560e2a42e45550e59884b0561b8c91c316b6 SHA512 2a4e5e8fdbe2e333eb1cec2b082ef25767cd34848adb15a238d3cba36ef99aeaacb779b9c65751a2968a7168fb2030b29ea3c9dc194b9727b4c230d271f2cbc6 WHIRLPOOL 7a59921d0226e342d12e2eb2c6714c20c40f5b0aaf8971303bf575dd49c2dc075ebd80509c95ca38079e210bf99753ba462e0161b84f3e285587839d60dd51cc
+MISC ChangeLog 288 SHA256 247cb1f47805b3b59b320afc4fb17e7ecc345a9897543a4ba8430e0e5b2bda88 SHA512 1a1eb490bd71ad87a57c6acd1378722e31e6d7fa95fd4382d058e66e109fa603074e7c7fe788acd472aee9927a6bfbc338ac81459882e6586aaeb170547c239a WHIRLPOOL 63015563c82731a073e149dd93f2b0e59c333b75ca9c05b55a4bd92074f3265661bfd08e5f8786cb27ada98dfe52845a1c063ac370cc07b9600abbe4f825b431
+MISC metadata.xml 163 SHA256 5be82689c9f32031a2438b08ace0c4bcdc738cec0eb736d9aa7e529cde4b8a6c SHA512 9688f0e23097fe5baefa6b3cf28276c88e53314989b51e1afc9edc0e68a19c215a67dd0bfb84a157b130d424912ac72bf6c85f9ce066c8d9f6776e4c1d019ccc WHIRLPOOL 6609d5606451d3adf31c010aeb51bec29714c3cda8e1a730af0ea1f51289f7139ac86f11c056e59143dddcf46291b9d79ae94083b77488f28717bf51972e0c3b
diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.8.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.8.ebuild
new file mode 100644
index 000000000000..8d047caccc40
--- /dev/null
+++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.8.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.8.ebuild,v 1.1 2014/03/01 10:09:39 pacho Exp $
+
+EAPI="5"
+inherit eutils
+
+MY_PN="gstreamer-vaapi"
+DESCRIPTION="Hardware accelerated video decoding through VA-API plugin"
+HOMEPAGE="http://gitorious.org/vaapi/gstreamer-vaapi"
+SRC_URI="http://www.freedesktop.org/software/vaapi/releases/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="1.0"
+KEYWORDS="~amd64"
+IUSE="+X opengl wayland"
+
+RDEPEND="
+ >=dev-libs/glib-2.28:2
+ >=media-libs/gstreamer-1.2:1.0
+ >=media-libs/gst-plugins-base-1.2:1.0
+ >=media-libs/gst-plugins-bad-1.2:1.0
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libXrandr
+ >=x11-libs/libva-1.1.0[X?,opengl?,wayland?]
+ virtual/opengl
+ virtual/udev
+ wayland? ( >=dev-libs/wayland-1 )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.12
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# --disable-encoders as it needs hardmasked libva version
+src_configure() {
+ econf \
+ --with-gstreamer-api=1.2 \
+ --disable-encoders \
+ --disable-static \
+ --enable-drm \
+ $(use_enable opengl glx) \
+ $(use_enable wayland) \
+ $(use_enable X x11)
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+}
diff --git a/media-plugins/gst-plugins-vaapi/metadata.xml b/media-plugins/gst-plugins-vaapi/metadata.xml
new file mode 100644
index 000000000000..d1096fb54bd8
--- /dev/null
+++ b/media-plugins/gst-plugins-vaapi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gstreamer</herd>
+</pkgmetadata>