kumquat-buildroot/package/libbluray/libbluray.mk

32 lines
830 B
Makefile
Raw Normal View History

################################################################################
#
# libbluray
#
################################################################################
LIBBLURAY_VERSION = 0.5.0
LIBBLURAY_SITE = ftp://ftp.videolan.org/pub/videolan/libbluray/$(LIBBLURAY_VERSION)
LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2
LIBBLURAY_INSTALL_STAGING = YES
LIBBLURAY_LICENSE = LGPLv2.1+
LIBBLURAY_LICENSE_FILES = COPYING
LIBBLURAY_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_LIBICONV),y)
LIBBLURAY_DEPENDENCIES += libiconv
endif
ifeq ($(BR2_PACKAGE_FREETYPE),y)
LIBBLURAY_DEPENDENCIES += freetype
else
LIBBLURAY_CONF_OPT += --without-freetype
endif
ifeq ($(BR2_PACKAGE_LIBXML2),y)
LIBBLURAY_DEPENDENCIES += libxml2
else
LIBBLURAY_CONF_OPT += --without-libxml2
endif
$(eval $(autotools-package))