/packages/multimedia/libva/meta
http://github.com/OpenELEC/OpenELEC.tv · #! · 44 lines · 40 code · 4 blank · 0 comment · 0 complexity · 788e72dc500f37a3db5d7103d8423055 MD5 · raw file
- ################################################################################
- # This file is part of OpenELEC - http://www.openelec.tv
- # Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
- #
- # This Program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2, or (at your option)
- # any later version.
- #
- # This Program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with OpenELEC.tv; see the file COPYING. If not, write to
- # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- # http://www.gnu.org/copyleft/gpl.html
- ################################################################################
- PKG_NAME="libva"
- PKG_VERSION="1.0.15"
- PKG_REV="1"
- PKG_ARCH="i386 x86_64"
- PKG_LICENSE="GPL"
- PKG_SITE="http://freedesktop.org/wiki/Software/vaapi"
- PKG_URL="http://cgit.freedesktop.org/libva/snapshot/$PKG_NAME-$PKG_VERSION.tar.gz"
- PKG_DEPENDS="libX11 libXext libXfixes libdrm Mesa"
- PKG_BUILD_DEPENDS="toolchain libX11 libXext libXfixes libdrm Mesa"
- PKG_PRIORITY="optional"
- PKG_SECTION="multimedia"
- PKG_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)."
- PKG_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."
- PKG_IS_ADDON="no"
- PKG_AUTORECONF="yes"
- get_graphicdrivers
- for drv in $GRAPHIC_DRIVERS; do
- if [ "$drv" = i965 ]; then
- PKG_DEPENDS="$PKG_DEPENDS libva-driver-intel"
- fi
- done