kumquat-buildroot/package/libbluray/libbluray.mk
Bernd Kuhls 698ddd07b4 package/libbluray: add optional support for libudfread
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-16 11:19:56 +02:00

48 lines
1.2 KiB
Makefile

################################################################################
#
# libbluray
#
################################################################################
LIBBLURAY_VERSION = 1.3.0
LIBBLURAY_SITE = http://download.videolan.org/pub/videolan/libbluray/$(LIBBLURAY_VERSION)
LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2
LIBBLURAY_INSTALL_STAGING = YES
LIBBLURAY_LICENSE = LGPL-2.1+
LIBBLURAY_LICENSE_FILES = COPYING
LIBBLURAY_CPE_ID_VENDOR = videolan
LIBBLURAY_DEPENDENCIES = host-pkgconf
LIBBLURAY_CONF_OPTS = --disable-bdjava-jar
ifeq ($(BR2_PACKAGE_LIBICONV),y)
LIBBLURAY_DEPENDENCIES += libiconv
endif
ifeq ($(BR2_PACKAGE_LIBUDFREAD),y)
LIBBLURAY_DEPENDENCIES += libudfread
endif
ifeq ($(BR2_PACKAGE_FREETYPE),y)
LIBBLURAY_DEPENDENCIES += freetype
LIBBLURAY_CONF_OPTS += --with-freetype
else
LIBBLURAY_CONF_OPTS += --without-freetype
endif
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
LIBBLURAY_DEPENDENCIES += fontconfig
LIBBLURAY_CONF_OPTS += --with-fontconfig
else
LIBBLURAY_CONF_OPTS += --without-fontconfig
endif
ifeq ($(BR2_PACKAGE_LIBXML2),y)
LIBBLURAY_DEPENDENCIES += libxml2
LIBBLURAY_CONF_OPTS += --with-libxml2
else
LIBBLURAY_CONF_OPTS += --without-libxml2
endif
$(eval $(autotools-package))