package/libfribidi: remove optional dependency to libglib

Fixes vdr compile error:
http://autobuild.buildroot.net/results/725/7252decffe29e19051eed0554786651aee216573/

Instead of fixing fribidi.pc or adding optional CFLAGS to the vdr
package we remove the optional libglib dependency because it does not
contain "any thing substantial" as pointed out in an pull request sent
upstream: https://github.com/behdad/fribidi/pull/14

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2016-10-30 18:29:18 +01:00 committed by Thomas Petazzoni
parent fa92154190
commit bcb98949a6

View file

@ -14,11 +14,9 @@ LIBFRIBIDI_INSTALL_STAGING = YES
# Run autoreconf to regenerate ltmain.sh.
LIBFRIBIDI_AUTORECONF = YES
LIBFRIBIDI_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
LIBFRIBIDI_DEPENDENCIES += libglib2
else
LIBFRIBIDI_CONF_OPTS += --with-glib=no
endif
# libglib2 dependency causes a build failure, and this optional
# dependency is going to be removed usptream, see
# https://github.com/behdad/fribidi/pull/14
LIBFRIBIDI_CONF_OPTS = --with-glib=no
$(eval $(autotools-package))