kodi: User external crossguid

Prune our .pc directory when looking for configure.ac files
Tighten the search regexp to look for just .ac or .in configure
files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj
2017-07-01 14:33:10 -07:00
committed by Martin Jansa
parent 5e9f83d11a
commit aad655a8e4

View File

@@ -18,6 +18,7 @@ DEPENDS = " \
avahi \
boost \
bzip2 \
crossguid \
curl \
dcadec \
enca \
@@ -150,13 +151,12 @@ def enable_glew(bb, d):
do_configure() {
tar xf ${WORKDIR}/${BPN}-${ADDONSPV}-generated-addons.tar.xz -C ${S}/
( for i in $(find ${S} -name "configure.*" ) ; do
( for i in $(find ${S} -name configure.ac -or -name configure.in|grep -v ".pc") ; do
cd $(dirname $i) && gnu-configize --force || true
done )
( for f in ${S}/xbmc/interfaces/python/generated/*.cpp; do
touch `echo $f|sed -e 's/.cpp$/.xml/g'`
done )
make -C tools/depends/target/crossguid PREFIX=${STAGING_DIR_HOST}${prefix}
BOOTSTRAP_STANDALONE=1 make -f bootstrap.mk JSON_BUILDER="${STAGING_BINDIR_NATIVE}/JsonSchemaBuilder"
BOOTSTRAP_STANDALONE=1 make JAVA=/bin/true -f codegenerator.mk JSON_BUILDER="${STAGING_BINDIR_NATIVE}/JsonSchemaBuilder"