diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-05-11 10:32:13 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-05-11 10:32:13 +0000 |
commit | c5c77df917859dc2f639b4d3a891c8f8acf15e31 (patch) | |
tree | 2d9f1382cdd2cb9159a815ff5172ac6165f07616 | |
parent | Bump to 9.0 beta1 (diff) | |
download | gentoo-2-c5c77df917859dc2f639b4d3a891c8f8acf15e31.tar.gz gentoo-2-c5c77df917859dc2f639b4d3a891c8f8acf15e31.tar.bz2 gentoo-2-c5c77df917859dc2f639b4d3a891c8f8acf15e31.zip |
initial import, very useful for testing hardware video decoding, ebuild by me
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r-- | media-video/hwdecode-demos/ChangeLog | 11 | ||||
-rw-r--r-- | media-video/hwdecode-demos/hwdecode-demos-0.9.3.ebuild | 35 | ||||
-rw-r--r-- | media-video/hwdecode-demos/metadata.xml | 12 |
3 files changed, 58 insertions, 0 deletions
diff --git a/media-video/hwdecode-demos/ChangeLog b/media-video/hwdecode-demos/ChangeLog new file mode 100644 index 000000000000..2c0ae5802fb8 --- /dev/null +++ b/media-video/hwdecode-demos/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-video/hwdecode-demos +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/hwdecode-demos/ChangeLog,v 1.1 2010/05/11 10:32:13 aballier Exp $ + +*hwdecode-demos-0.9.3 (11 May 2010) + + 11 May 2010; Alexis Ballier <aballier@gentoo.org> + +hwdecode-demos-0.9.3.ebuild, +metadata.xml: + initial import, very useful for testing hardware video decoding, ebuild by + me + diff --git a/media-video/hwdecode-demos/hwdecode-demos-0.9.3.ebuild b/media-video/hwdecode-demos/hwdecode-demos-0.9.3.ebuild new file mode 100644 index 000000000000..975de0a01c59 --- /dev/null +++ b/media-video/hwdecode-demos/hwdecode-demos-0.9.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/hwdecode-demos/hwdecode-demos-0.9.3.ebuild,v 1.1 2010/05/11 10:32:13 aballier Exp $ + +EAPI=2 + +DESCRIPTION="Standalone programs showing off various HW acceleration APIs" +HOMEPAGE="http://www.splitted-desktop.com/~gbeauchesne/hwdecode-demos/" +SRC_URI="http://www.splitted-desktop.com/~gbeauchesne/hwdecode-demos/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="opengl vaapi vdpau" + +RDEPEND="media-video/ffmpeg + opengl? ( virtual/opengl virtual/glu ) + vaapi? ( x11-libs/libva ) + vdpau? ( x11-libs/libvdpau )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_configure() { + econf \ + --disable-crystalhd \ + $(use_enable opengl glx) \ + $(use_enable vaapi) \ + $(use_enable vdpau) \ + --disable-xvba +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc NEWS README +} diff --git a/media-video/hwdecode-demos/metadata.xml b/media-video/hwdecode-demos/metadata.xml new file mode 100644 index 000000000000..6813f03854ed --- /dev/null +++ b/media-video/hwdecode-demos/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>video</herd> + <maintainer> + <email>media-video@gentoo.org</email> + </maintainer> + <use> + <flag name="vaapi">Enables VAAPI (Video Acceleration API) for hardware decoding</flag> + <flag name="vdpau">Enables VDPAU decoders (requires nVidia video cards to offload CPU processing to video card</flag> + </use> +</pkgmetadata> |