mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
flac: make build with libiconv optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
0dd519e0b8
commit
cb6268a1c6
@ -22,6 +22,10 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$ICONV" = "libiconv" ]; then
|
||||
CONFIG_FLAC="--with-libiconv-prefix=$SYSROOT_PREFIX/usr"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
@ -36,7 +40,7 @@ cd $PKG_BUILD
|
||||
--disable-xmms-plugin \
|
||||
--disable-oggtest \
|
||||
--with-ogg="$SYSROOT_PREFIX/usr" \
|
||||
--with-libiconv-prefix="$SYSROOT_PREFIX/usr" \
|
||||
$CONFIG_FLAC \
|
||||
--with-gnu-ld
|
||||
|
||||
make
|
||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://flac.sourceforge.net/"
|
||||
PKG_URL="http://downloads.xiph.org/releases/flac/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="libiconv libogg"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv libogg"
|
||||
PKG_DEPENDS="$ICONV libogg"
|
||||
PKG_BUILD_DEPENDS="toolchain $ICONV libogg"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="audio"
|
||||
PKG_SHORTDESC="flac: An Free Lossless Audio Codec"
|
||||
|
Loading…
x
Reference in New Issue
Block a user