fontconfig: needs host-gperf
[buildroot-gz.git] / package / libbluray / libbluray.mk
blobdfe58f4e1ca1642b361807b5969f9a118aaca6ac
1 ################################################################################
3 # libbluray
5 ################################################################################
7 LIBBLURAY_VERSION = 0.9.3
8 LIBBLURAY_SITE = http://get.videolan.org/libbluray/$(LIBBLURAY_VERSION)
9 LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2
10 LIBBLURAY_INSTALL_STAGING = YES
11 LIBBLURAY_LICENSE = LGPLv2.1+
12 LIBBLURAY_LICENSE_FILES = COPYING
13 LIBBLURAY_DEPENDENCIES = host-pkgconf
15 LIBBLURAY_CONF_OPTS = --enable-udf --disable-bdjava
17 ifeq ($(BR2_PACKAGE_LIBICONV),y)
18 LIBBLURAY_DEPENDENCIES += libiconv
19 endif
21 ifeq ($(BR2_PACKAGE_FREETYPE),y)
22 LIBBLURAY_DEPENDENCIES += freetype
23 LIBBLURAY_CONF_OPTS += --with-freetype
24 else
25 LIBBLURAY_CONF_OPTS += --without-freetype
26 endif
28 ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
29 LIBBLURAY_DEPENDENCIES += fontconfig
30 LIBBLURAY_CONF_OPTS += --with-fontconfig
31 else
32 LIBBLURAY_CONF_OPTS += --without-fontconfig
33 endif
35 ifeq ($(BR2_PACKAGE_LIBXML2),y)
36 LIBBLURAY_DEPENDENCIES += libxml2
37 LIBBLURAY_CONF_OPTS += --with-libxml2
38 else
39 LIBBLURAY_CONF_OPTS += --without-libxml2
40 endif
42 $(eval $(autotools-package))