2014-01-19 22:03:57 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libbluray
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-03-20 19:17:25 +01:00
|
|
|
LIBBLURAY_VERSION = 1.0.0
|
2014-12-19 19:19:51 +01:00
|
|
|
LIBBLURAY_SITE = http://get.videolan.org/libbluray/$(LIBBLURAY_VERSION)
|
2014-01-19 22:03:57 +01:00
|
|
|
LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2
|
|
|
|
LIBBLURAY_INSTALL_STAGING = YES
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBBLURAY_LICENSE = LGPL-2.1+
|
2014-01-19 22:03:57 +01:00
|
|
|
LIBBLURAY_LICENSE_FILES = COPYING
|
|
|
|
LIBBLURAY_DEPENDENCIES = host-pkgconf
|
|
|
|
|
2015-09-29 14:58:23 +02:00
|
|
|
LIBBLURAY_CONF_OPTS = --enable-udf --disable-bdjava
|
2015-09-28 21:27:56 +02:00
|
|
|
|
2014-01-19 22:03:57 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBBLURAY_DEPENDENCIES += libiconv
|
2014-01-19 22:03:57 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBBLURAY_DEPENDENCIES += freetype
|
2015-09-29 20:48:47 +02:00
|
|
|
LIBBLURAY_CONF_OPTS += --with-freetype
|
2014-01-19 22:03:57 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBBLURAY_CONF_OPTS += --without-freetype
|
2014-01-19 22:03:57 +01:00
|
|
|
endif
|
|
|
|
|
2015-09-29 14:58:22 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
|
|
|
LIBBLURAY_DEPENDENCIES += fontconfig
|
2015-09-29 20:48:47 +02:00
|
|
|
LIBBLURAY_CONF_OPTS += --with-fontconfig
|
2015-09-29 14:58:22 +02:00
|
|
|
else
|
|
|
|
LIBBLURAY_CONF_OPTS += --without-fontconfig
|
|
|
|
endif
|
|
|
|
|
2014-01-19 22:03:57 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBBLURAY_DEPENDENCIES += libxml2
|
2015-09-29 20:48:47 +02:00
|
|
|
LIBBLURAY_CONF_OPTS += --with-libxml2
|
2014-01-19 22:03:57 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBBLURAY_CONF_OPTS += --without-libxml2
|
2014-01-19 22:03:57 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|