/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. PKG_NAME="libva"
  21. PKG_VERSION="1.0.15"
  22. PKG_REV="1"
  23. PKG_ARCH="i386 x86_64"
  24. PKG_LICENSE="GPL"
  25. PKG_SITE="http://freedesktop.org/wiki/Software/vaapi"
  26. PKG_URL="http://cgit.freedesktop.org/libva/snapshot/$PKG_NAME-$PKG_VERSION.tar.gz"
  27. PKG_DEPENDS="libX11 libXext libXfixes libdrm Mesa"
  28. PKG_BUILD_DEPENDS="toolchain libX11 libXext libXfixes libdrm Mesa"
  29. PKG_PRIORITY="optional"
  30. PKG_SECTION="multimedia"
  31. 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)."
  32. 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."
  33. PKG_IS_ADDON="no"
  34. PKG_AUTORECONF="yes"
  35. get_graphicdrivers
  36. for drv in $GRAPHIC_DRIVERS; do
  37. if [ "$drv" = i965 ]; then
  38. PKG_DEPENDS="$PKG_DEPENDS libva-driver-intel"
  39. fi
  40. done