summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/gst-plugins-vaapi/Manifest1
-rw-r--r--media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.9.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-vaapi/Manifest b/media-plugins/gst-plugins-vaapi/Manifest
new file mode 100644
index 00000000..ecab1a85
--- /dev/null
+++ b/media-plugins/gst-plugins-vaapi/Manifest
@@ -0,0 +1 @@
+DIST gstreamer-vaapi-0.5.9.tar.bz2 1320740 SHA256 b5efbb5ccd3e9fd1ce16193dd14cfac327a8ec2662794c0067ff2603c3355003 SHA512 9a5d15d8a96ca29b97f0d3ba2724b75b3867dcf4574dca678dd9aac665a74e567cf0eae6ba39ce9f48910dc1081a03b2d8ac799c91ad388d24eb68c17bd849b0 WHIRLPOOL 56232859b1d6cec0df1efc42959357f06cfddf8b39f4126f31652dc3938ce2617b009bc696fa809106513feb1357e8fa89c69739dd0f029fe4262b4abf3ed2e0
diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.9.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.9.ebuild
new file mode 100644
index 00000000..6e85b698
--- /dev/null
+++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.9.ebuild
@@ -0,0 +1,56 @@
+# 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-r1.ebuild,v 1.5 2014/07/26 09:00:41 ssuominen Exp $
+
+EAPI="5"
+inherit eutils multilib-minimal
+
+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="
+ >=sys-devel/automake-1.14
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
+ >=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-base-1.2.3:1.0[${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-bad-1.2.3:1.0[${MULTILIB_USEDEP}]
+ >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libva-1.2.1-r1[X?,opengl?,wayland?,${MULTILIB_USEDEP}]
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+ >=virtual/libudev-208:=[${MULTILIB_USEDEP}]
+ wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.12
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# --disable-encoders as it needs hardmasked libva version
+# --disable builtin libvpx as it brokes compiling and we have external libvpx anyway
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ --with-gstreamer-api=1.2 \
+ --disable-builtin-libvpx \
+ --disable-encoders \
+ --disable-static \
+ --enable-drm \
+ $(use_enable opengl glx) \
+ $(use_enable wayland) \
+ $(use_enable X x11)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files --modules
+}