mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
new package:
- add ffmpeg-mt for upcoming enna and others
This commit is contained in:
parent
48fee586e0
commit
079cc78f95
6
packages/multimedia/ffmpeg-mt/README
Normal file
6
packages/multimedia/ffmpeg-mt/README
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# to get it from git:
|
||||||
|
|
||||||
|
git clone git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git
|
||||||
|
cd ffmpeg-mt
|
||||||
|
git clone git://git.ffmpeg.org/libswscale/
|
||||||
|
cd ..
|
79
packages/multimedia/ffmpeg-mt/build
Normal file
79
packages/multimedia/ffmpeg-mt/build
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build faad2
|
||||||
|
$SCRIPTS/build zlib
|
||||||
|
|
||||||
|
cd $PKG_BUILD/
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--cpu=$TARGET_CPU \
|
||||||
|
--arch=$TARGET_ARCH \
|
||||||
|
--enable-cross-compile \
|
||||||
|
--cross-prefix=$TARGET_PREFIX \
|
||||||
|
--sysroot=$SYSROOT_PREFIX \
|
||||||
|
--extra-cflags="$CFLAGS" \
|
||||||
|
--disable-debug \
|
||||||
|
--enable-stripping \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-gpl \
|
||||||
|
--enable-yasm \
|
||||||
|
--disable-ffplay \
|
||||||
|
--disable-ffserver \
|
||||||
|
--disable-ffmpeg \
|
||||||
|
--enable-postproc \
|
||||||
|
--disable-avfilter \
|
||||||
|
--disable-avfilter-lavf \
|
||||||
|
--enable-pthreads \
|
||||||
|
--disable-x11grab \
|
||||||
|
--enable-ipv6 \
|
||||||
|
--disable-mpegaudio-hp \
|
||||||
|
--disable-gray \
|
||||||
|
--enable-swscale-alpha \
|
||||||
|
--enable-fastdiv \
|
||||||
|
--enable-small \
|
||||||
|
--enable-aandct \
|
||||||
|
--enable-fft \
|
||||||
|
--enable-golomb \
|
||||||
|
--enable-mdct \
|
||||||
|
--enable-rdft \
|
||||||
|
--disable-vaapi \
|
||||||
|
--disable-vdpau \
|
||||||
|
--enable-encoders \
|
||||||
|
--enable-decoders \
|
||||||
|
--enable-muxers \
|
||||||
|
--enable-demuxers \
|
||||||
|
--enable-parsers \
|
||||||
|
--enable-bsfs \
|
||||||
|
--enable-protocols \
|
||||||
|
--disable-indevs \
|
||||||
|
--disable-outdevs \
|
||||||
|
--disable-devices \
|
||||||
|
--enable-filters \
|
||||||
|
--disable-avisynth \
|
||||||
|
--disable-bzlib \
|
||||||
|
--disable-libopencore-amrnb \
|
||||||
|
--disable-libopencore-amrwb \
|
||||||
|
--disable-libdc1394 \
|
||||||
|
--disable-libdirac \
|
||||||
|
--disable-libfaac \
|
||||||
|
--enable-libfaad \
|
||||||
|
--disable-libfaadbin \
|
||||||
|
--disable-libgsm \
|
||||||
|
--disable-libmp3lame \
|
||||||
|
--disable-libnut \
|
||||||
|
--disable-libopenjpeg \
|
||||||
|
--disable-libschroedinger \
|
||||||
|
--disable-libspeex \
|
||||||
|
--disable-libtheora \
|
||||||
|
--disable-libvorbis \
|
||||||
|
--disable-libx264 \
|
||||||
|
--disable-libxvid \
|
||||||
|
--disable-mlib \
|
||||||
|
--enable-zlib \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
12
packages/multimedia/ffmpeg-mt/install
Normal file
12
packages/multimedia/ffmpeg-mt/install
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install zlib
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libavcodec/libavcodec.so* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libavformat/libavformat.so* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libavutil/libavutil.so* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libswscale/libswscale.so.* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libpostproc/libpostproc.so.* $INSTALL/usr/lib
|
12
packages/multimedia/ffmpeg-mt/patches/01_sdl-config.diff
Normal file
12
packages/multimedia/ffmpeg-mt/patches/01_sdl-config.diff
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur ffmpeg-export-2009-06-13.orig/configure ffmpeg-export-2009-06-13/configure
|
||||||
|
--- ffmpeg-export-2009-06-13.orig/configure 2009-06-10 22:50:53.000000000 +0200
|
||||||
|
+++ ffmpeg-export-2009-06-13/configure 2009-06-21 14:51:52.000000000 +0200
|
||||||
|
@@ -2129,7 +2129,7 @@
|
||||||
|
|
||||||
|
disable sdl_too_old
|
||||||
|
disable sdl
|
||||||
|
-SDL_CONFIG="${cross_prefix}sdl-config"
|
||||||
|
+SDL_CONFIG="sdl-config"
|
||||||
|
if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
|
||||||
|
sdl_cflags=$("${SDL_CONFIG}" --cflags)
|
||||||
|
temp_cflags $sdl_cflags
|
1
packages/multimedia/ffmpeg-mt/url
Normal file
1
packages/multimedia/ffmpeg-mt/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://sources.openelec.tv/svn/ffmpeg-mt-20091002.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user