/packages/addons/multimedia/libav/meta

http://github.com/OpenELEC/OpenELEC.tv · #! · 47 lines · 41 code · 6 blank · 0 comment · 0 complexity · 68936c410ca600bcc4fd1f2608aab99c 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="libav"
  21. PKG_VERSION="0.7.2"
  22. PKG_REV="1"
  23. PKG_ARCH="any"
  24. PKG_LICENSE="GPL"
  25. PKG_SITE="http://www.libav.org"
  26. PKG_URL="http://libav.org/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
  27. PKG_DEPENDS=""
  28. PKG_BUILD_DEPENDS="toolchain alsa-lib zlib bzip2 SDL"
  29. PKG_PRIORITY="optional"
  30. PKG_SECTION="lib/multimedia"
  31. PKG_SHORTDESC="libav: A complete audio and video stream library"
  32. PKG_LONGDESC="libav is a complete solution to record, convert and stream audio and video forked from FFMPEG. It includes libavcodec, the leading audio/video codec library."
  33. PKG_IS_ADDON="yes"
  34. PKG_ADDON_TYPE="xbmc.python.script"
  35. PKG_AUTORECONF="no"
  36. if [ "$VDPAU" = yes ]; then
  37. PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libvdpau"
  38. fi
  39. if [ "$VAAPI" = yes ]; then
  40. PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libva"
  41. fi