- fix ffmpeg build and install
- add README
This commit is contained in:
Stephan Raue 2009-10-03 22:58:39 +02:00
parent 0c5271baaf
commit fd6c5d216f
3 changed files with 10 additions and 15 deletions

View File

@ -0,0 +1,6 @@
# to get it from git:
git clone git://git.ffmpeg.org/ffmpeg/
cd ffmpeg
git clone git://git.ffmpeg.org/libswscale/
cd ..

View File

@ -6,18 +6,6 @@ $SCRIPTS/build toolchain
$SCRIPTS/build zlib
$SCRIPTS/build faad2
if [ "$DEBUG" = yes ]; then
DEBUG_CONFIG="--enable-debug --disable-stripping"
else
DEBUG_CONFIG="--disable-debug --enable-stripping"
fi
if [ "$OPTIMIZATIONS" = size ]; then
OPTIM_CONFIG="--enable-small"
else
OPTIM_CONFIG="--disable-small"
fi
if [ "$DEVTOOLS" = "yes" ]; then
$SCRIPTS/build SDL
$SCRIPTS/build SDL_image
@ -34,6 +22,8 @@ cd $PKG_BUILD/
--prefix=/usr \
--extra-cflags="$CFLAGS" \
--cpu=$TARGET_CPU \
--disable-debug \
--enable-stripping \
--disable-static \
--enable-shared \
--enable-gpl \
@ -45,7 +35,7 @@ cd $PKG_BUILD/
--enable-pthreads \
--disable-x11grab \
--enable-ipv6 \
$OPTIM_CONFIG \
--enable-small \
--enable-encoders \
--enable-decoders \
--enable-muxers \
@ -59,7 +49,6 @@ cd $PKG_BUILD/
--enable-filters \
--enable-zlib \
--enable-libfaad \
$DEBUG_CONFIG \
$DEVTOOLS_CONFIG \
make

View File

@ -15,6 +15,6 @@ if [ "$DEVTOOLS" = "yes" ]; then
$SCRIPTS/install SDL
$SCRIPTS/install SDL_image
$SCRIPTS/install SDL_mixer
mkdir -p $INSTALL/usr/bin && cp -P $BUILD/$1*/ffplay $INSTALL/usr/bin
mkdir -p $INSTALL/usr/bin && cp -P $PKG_BUILD/ffplay $INSTALL/usr/bin
cp -P $PKG_BUILD/libavdevice/libavdevice.so* $INSTALL/usr/lib
fi