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