libpng: add metafile support, cleanups, thanks to cowbalt

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-13 15:05:58 +01:00
parent d07ee1b416
commit 0f72b79761
5 changed files with 16 additions and 6 deletions

View File

@ -2,9 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build zlib
cd $PKG_BUILD
ac_cv_lib_z_zlibVersion=yes \
./configure --host=$TARGET_NAME \
@ -21,4 +18,4 @@ $MAKEINSTALL
$SED "s:\([\"'= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" \
$SYSROOT_PREFIX/usr/bin/libpng*-config
cp -PR $SYSROOT_PREFIX/usr/bin/libpng*-config $ROOT/$TOOLCHAIN/bin
cp -P $SYSROOT_PREFIX/usr/bin/libpng*-config $ROOT/$TOOLCHAIN/bin

View File

@ -3,4 +3,4 @@
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/.libs/libpng14.so* $INSTALL/usr/lib
cp -P $PKG_BUILD/.libs/libpng14.so* $INSTALL/usr/lib

View File

@ -0,0 +1,14 @@
PKG_NAME="libpng"
PKG_VERSION="1.4.4"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.libpng.org/"
PKG_URL="http://downloads.sourceforge.net/libpng/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="zlib"
PKG_BUILD_DEPENDS="toolchain zlib"
PKG_PRIORITY="optional"
PKG_SECTION="graphics"
PKG_SHORTDESC="libpng: Portable Network Graphics (PNG) Reference Library"
PKG_LONGDESC="PNG (Portable Network Graphics) is an extensible file format for the lossless, portable, well-compressed storage of raster images. PNG provides a patent-free replacement for GIF and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are supported, plus an optional alpha channel. Sample depths range from 1 to 16 bits."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://downloads.sourceforge.net/libpng/libpng-1.4.4.tar.bz2