mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
new package: add libjpeg-turbo as an fast jpeg alternative
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
eb27e84602
commit
ffdb84d750
25
packages/graphics/libjpeg-turbo/build
Executable file
25
packages/graphics/libjpeg-turbo/build
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
# ensure we dont use size optimization.
|
||||||
|
CFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O3|"`
|
||||||
|
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-Os|-O3|"`
|
||||||
|
|
||||||
|
cd $PKG_BUILD
|
||||||
|
|
||||||
|
$AUTORECONF
|
||||||
|
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
6
packages/graphics/libjpeg-turbo/install
Executable file
6
packages/graphics/libjpeg-turbo/install
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/.libs/*.so* $INSTALL/usr/lib
|
1
packages/graphics/libjpeg-turbo/url
Normal file
1
packages/graphics/libjpeg-turbo/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://sources.openelec.tv/svn/libjpeg-turbo-214.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user