################################################################################ # This file is part of OpenELEC - http://www.openelec.tv # Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) # # OpenELEC 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 of the License, or # (at your option) any later version. # # OpenELEC 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. If not, see . ################################################################################ PKG_NAME="ffmpeg" PKG_VERSION="1.2.4" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="LGPL" PKG_SITE="http://ffmpeg.org" PKG_URL="http://ffmpeg.org/releases/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="yasm zlib bzip2 libvorbis gnutls" PKG_BUILD_DEPENDS="toolchain yasm zlib bzip2 libvorbis gnutls" PKG_PRIORITY="optional" PKG_SECTION="multimedia" PKG_SHORTDESC="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video." PKG_LONGDESC="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video." PKG_IS_ADDON="no" PKG_AUTORECONF="no" if [ "$VAAPI" = yes ]; then PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libva" PKG_DEPENDS="$PKG_DEPENDS libva" fi if [ "$VDPAU" = yes ]; then PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libvdpau" PKG_DEPENDS="$PKG_DEPENDS libvdpau" fi