libav: build and install 'ffplay'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-12-19 17:52:10 +01:00
parent d3bcafcc18
commit aa26d3ccb7
4 changed files with 9 additions and 3 deletions

View File

@ -24,6 +24,7 @@
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
cp $PKG_BUILD/ffmpeg $ADDON_BUILD/$PKG_ADDON_ID/bin
cp $PKG_BUILD/ffplay $ADDON_BUILD/$PKG_ADDON_ID/bin
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/ffmpeg
cp $PKG_BUILD/ffpresets/* $ADDON_BUILD/$PKG_ADDON_ID/ffmpeg

View File

@ -22,6 +22,8 @@
. config/options $1
export pkg_config="$ROOT/$TOOLCHAIN/bin/pkg-config"
# libav fails building with LTO support
strip_lto
@ -69,7 +71,7 @@ cd $PKG_BUILD/
--enable-logging \
--enable-doc \
--enable-ffmpeg \
--disable-ffplay \
--enable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--enable-avdevice \

View File

@ -1,3 +1,6 @@
2.0.1
- add 'ffplay' binary
2.0.0
- prepare for OpenELEC-2.0 release

View File

@ -20,13 +20,13 @@
PKG_NAME="libav"
PKG_VERSION="0.7.2"
PKG_REV="0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.libav.org"
PKG_URL="http://libav.org/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain alsa-lib zlib bzip2"
PKG_BUILD_DEPENDS="toolchain alsa-lib zlib bzip2 SDL"
PKG_PRIORITY="optional"
PKG_SECTION="lib/multimedia"
PKG_SHORTDESC="libav: A complete audio and video stream library"