PageRenderTime 25ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/packages/multimedia/libva/meta

http://github.com/OpenELEC/OpenELEC.tv
#! | 44 lines | 40 code | 4 blank | 0 comment | 0 complexity | 788e72dc500f37a3db5d7103d8423055 MD5 | raw file
 1################################################################################
 2#      This file is part of OpenELEC - http://www.openelec.tv
 3#      Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
 4#
 5#  This Program is free software; you can redistribute it and/or modify
 6#  it under the terms of the GNU General Public License as published by
 7#  the Free Software Foundation; either version 2, or (at your option)
 8#  any later version.
 9#
10#  This Program is distributed in the hope that it will be useful,
11#  but WITHOUT ANY WARRANTY; without even the implied warranty of
12#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13#  GNU General Public License for more details.
14#
15#  You should have received a copy of the GNU General Public License
16#  along with OpenELEC.tv; see the file COPYING.  If not, write to
17#  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18#  http://www.gnu.org/copyleft/gpl.html
19################################################################################
20
21PKG_NAME="libva"
22PKG_VERSION="1.0.15"
23PKG_REV="1"
24PKG_ARCH="i386 x86_64"
25PKG_LICENSE="GPL"
26PKG_SITE="http://freedesktop.org/wiki/Software/vaapi"
27PKG_URL="http://cgit.freedesktop.org/libva/snapshot/$PKG_NAME-$PKG_VERSION.tar.gz"
28PKG_DEPENDS="libX11 libXext libXfixes libdrm Mesa"
29PKG_BUILD_DEPENDS="toolchain libX11 libXext libXfixes libdrm Mesa"
30PKG_PRIORITY="optional"
31PKG_SECTION="multimedia"
32PKG_SHORTDESC="libva: The main motivation for VAAPI (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)."
33PKG_LONGDESC="The main motivation for VAAPI (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). Extending XvMC was considered, but due to its original design for MPEG-2 MotionComp only, it made more sense to design an interface from scratch that can fully expose the video decode capabilities in today's GPUs."
34PKG_IS_ADDON="no"
35
36PKG_AUTORECONF="yes"
37
38get_graphicdrivers
39
40for drv in $GRAPHIC_DRIVERS; do
41  if [ "$drv" = i965 ]; then
42    PKG_DEPENDS="$PKG_DEPENDS libva-driver-intel"
43  fi
44done