mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
new package: add package 'libvpx' for WebM support (fixing the initial commit)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
12c8cde594
commit
2f8a8f3a86
@ -2,16 +2,49 @@
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
case $TARGET_ARCH in
|
||||
i386)
|
||||
TGT=x86-linux-gcc
|
||||
;;
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
x86_64)
|
||||
TGT=x86_64-linux-gcc
|
||||
;;
|
||||
|
||||
arm)
|
||||
TGT=armv7-linux-gcc
|
||||
;;
|
||||
esac
|
||||
|
||||
export MAKEFLAGS=-j1
|
||||
export LD="$CC"
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --target=$TGT \
|
||||
--cpu=$TARGET_CPU \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-sdl \
|
||||
--without-x
|
||||
--enable-runtime-cpu-detect \
|
||||
--enable-optimizations \
|
||||
--enable-extra-warnings \
|
||||
--disable-werror \
|
||||
--log \
|
||||
--enable-vp8 \
|
||||
--enable-postproc \
|
||||
--enable-multithread \
|
||||
--enable-spatial-resampling \
|
||||
--enable-pic \
|
||||
--disable-ccache \
|
||||
--disable-debug \
|
||||
--disable-gprof \
|
||||
--disable-gcov \
|
||||
--disable-install-docs \
|
||||
--enable-install-bins \
|
||||
--enable-install-libs \
|
||||
--disable-install-srcs \
|
||||
--enable-libs \
|
||||
--disable-examples \
|
||||
|
||||
|
||||
make
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
. config/options
|
||||
|
||||
cd $BUILD/$1*
|
||||
|
||||
LIBVPX_SONAME=`ls -d libvpx.so*`
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/libmpeg2/.libs/*.so* $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/libmpeg2/convert/.libs/*.so* $INSTALL/usr/lib
|
||||
cp libvpx.so* $INSTALL/usr/lib
|
||||
ln -sf $LIBVPX_SONAME $INSTALL/usr/lib/libvpx.so.0
|
||||
ln -sf $LIBVPX_SONAME $INSTALL/usr/lib/libvpx.so.0.9
|
@ -1 +1 @@
|
||||
http://webm.googlecode.com/files/libvpx-0.9.0.tar.bz2
|
||||
http://webm.googlecode.com/files/libvpx-0.9.1.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user