cleanup iconv

This commit is contained in:
Stefan Saraev
2013-07-07 21:44:57 +03:00
parent b2a1ebcceb
commit 74a3e2d021
31 changed files with 33 additions and 92 deletions

View File

@@ -31,10 +31,6 @@ PROJECT_DIR="$ROOT/projects"
# Target system library C (eglibc)
TARGET_LIBC="eglibc"
# Target iconv implementation (libiconv)
# leave empty if we are using glibc's gconv
ICONV=""
# Library strip
LIBSTRIP="yes"

View File

@@ -24,17 +24,12 @@
cd $PKG_BUILD
if [ "$ICONV" = "libiconv" ]; then
CONFIG_LIBXML="--with-iconv"
fi
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--enable-static \
--disable-shared \
$CONFIG_LIBXML \
--disable-ipv6 \
--without-python \
--without-crypto

View File

@@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://xmlsoft.org/xslt/"
PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV"
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="textproc"
PKG_SHORTDESC="libxslt"

View File

@@ -39,12 +39,6 @@ NO_KBD=yes
VDR_USER=root
EOF
if [ "$ICONV" = "libiconv" ]; then
cat >> Make.config <<EOF
LIBS += -liconv
EOF
fi
make vdr
make include-dir
make plugins

View File

@@ -22,10 +22,6 @@
. config/options
if [ "$ICONV" = "libiconv" ]; then
export LIBS="-liconv"
fi
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@@ -26,7 +26,7 @@ PKG_LICENSE="GPL"
PKG_SITE="http://wirbel.htpc-forum.de/w_scan/index2.html"
PKG_URL="http://wirbel.htpc-forum.de/w_scan/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="lib/multimedia"
PKG_SHORTDESC="w_scan: eine kleine Anwendung zum Scannen von ATSC/DVB-C/S/T Transpondern/Bouquets nach Sendern und Erstellen einer VDR channels.conf."

View File

@@ -26,7 +26,7 @@ PKG_LICENSE="OSS"
PKG_SITE="http://www.samba.org/ftp/rsync/rsync.html"
PKG_URL="ftp://rsync.samba.org/pub/rsync/src/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network/backup"
PKG_SHORTDESC="rsync: A replacement for rcp that has many more features"

View File

@@ -26,7 +26,7 @@ PKG_LICENSE="OSS"
PKG_SITE="http://sourceforge.net/projects/iperf/"
PKG_URL="$SOURCEFORGE_SRC/iperf/files/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network/testing"
PKG_SHORTDESC="iperf: A modern alternative for measuring maximum TCP and UDP bandwidth performance"

View File

@@ -22,10 +22,6 @@
. config/options $1
if [ "$ICONV" = "libiconv" ]; then
export LIBS="-liconv"
fi
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.transmissionbt.com/"
PKG_URL="http://download.transmissionbt.com/files/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="zlib $ICONV openssl curl libevent"
PKG_BUILD_DEPENDS="toolchain $ICONV zlib openssl curl libevent"
PKG_DEPENDS="zlib openssl curl libevent"
PKG_BUILD_DEPENDS="toolchain zlib openssl curl libevent"
PKG_PRIORITY="optional"
PKG_SECTION="service/downloadmanager"
PKG_SHORTDESC="transmission: a fast, easy and free BitTorrent client"

View File

@@ -25,10 +25,6 @@
# do not build with LTO support
strip_lto
if [ "$ICONV" = "libiconv" ]; then
export LDFLAGS="$LDFLAGS -liconv"
fi
cd $PKG_BUILD
./configure --prefix=/usr \
--arch=$TARGET_ARCH \

View File

@@ -26,8 +26,8 @@ PKG_LICENSE="GPL"
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"
#PKG_URL="https://github.com/downloads/tvheadend/tvheadend/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_URL="$DISTRO_SRC/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS="$ICONV openssl curl"
PKG_BUILD_DEPENDS="toolchain $ICONV openssl curl"
PKG_DEPENDS="openssl curl"
PKG_BUILD_DEPENDS="toolchain openssl curl"
PKG_PRIORITY="optional"
PKG_SECTION="service/multimedia"
PKG_SHORTDESC="tvheadend (Version: $PKG_VERSION): a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources."

View File

@@ -22,10 +22,6 @@
. 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 \
@@ -40,7 +36,6 @@ cd $PKG_BUILD
--disable-xmms-plugin \
--disable-oggtest \
--with-ogg="$SYSROOT_PREFIX/usr" \
$CONFIG_FLAC \
--with-gnu-ld
make

View File

@@ -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="$ICONV libogg"
PKG_BUILD_DEPENDS="toolchain $ICONV libogg"
PKG_DEPENDS="libogg"
PKG_BUILD_DEPENDS="toolchain libogg"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="flac: An Free Lossless Audio Codec"

View File

@@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/libcdio/"
PKG_URL="http://ftp.gnu.org/gnu/libcdio/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV"
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="libcdio: A CD-ROM reading and control library"

View File

@@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://cgit.freedesktop.org/evtest/"
PKG_URL="http://cgit.freedesktop.org/evtest/snapshot/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="$ICONV libxml2"
PKG_BUILD_DEPENDS="toolchain $ICONV libxml2"
PKG_DEPENDS="libxml2"
PKG_BUILD_DEPENDS="toolchain libxml2"
PKG_PRIORITY="optional"
PKG_SECTION="debug/tools"
PKG_SHORTDESC="evtest: Simple tool for input event debugging."

View File

@@ -26,10 +26,6 @@
strip_lto
if [ "$ICONV" = "libiconv" ]; then
CONFIG_GLIB="--with-libiconv"
fi
cd $PKG_BUILD
mkdir -p .build-target && cd .build-target
@@ -63,7 +59,6 @@ glib_cv_va_val_copy='no' \
--with-gnu-ld \
--with-threads=posix \
--with-pcre=system \
$CONFIG_GLIB \
make
$MAKEINSTALL

View File

@@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.gtk.org/"
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.34/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="zlib $ICONV libffi"
PKG_BUILD_DEPENDS="toolchain zlib $ICONV libffi pcre glib-host Python-host"
PKG_DEPENDS="zlib libffi"
PKG_BUILD_DEPENDS="toolchain zlib libffi pcre glib-host Python-host"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="glib: C support library"

View File

@@ -49,9 +49,7 @@ fi
if [ "$XBMC_SCR_RSXS" = yes ]; then
XBMC_RSXS="--enable-rsxs"
# fix build of RSXS Screensaver support if not using libiconv
if [ ! "$ICONV" = "libiconv" ]; then
export jm_cv_func_gettimeofday_clobber=no
fi
export jm_cv_func_gettimeofday_clobber=no
else
XBMC_RSXS="--disable-rsxs"
fi

View File

@@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://sourceforge.net/projects/afpfs-ng/"
PKG_URL="$SOURCEFORGE_SRC/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="$ICONV libgpg-error libgcrypt ncurses"
PKG_BUILD_DEPENDS="toolchain $ICONV libgpg-error libgcrypt ncurses"
PKG_DEPENDS="libgpg-error libgcrypt ncurses"
PKG_BUILD_DEPENDS="toolchain libgpg-error libgcrypt ncurses"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="afpfs-ng: an Apple Filing Protocol client"

Some files were not shown because too many files have changed in this diff Show More