xref: /OK3568_Linux_fs/buildroot/package/libbluray/libbluray.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# libbluray
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLIBBLURAY_VERSION = 1.3.0
8*4882a593SmuzhiyunLIBBLURAY_SITE = http://download.videolan.org/pub/videolan/libbluray/$(LIBBLURAY_VERSION)
9*4882a593SmuzhiyunLIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2
10*4882a593SmuzhiyunLIBBLURAY_INSTALL_STAGING = YES
11*4882a593SmuzhiyunLIBBLURAY_LICENSE = LGPL-2.1+
12*4882a593SmuzhiyunLIBBLURAY_LICENSE_FILES = COPYING
13*4882a593SmuzhiyunLIBBLURAY_CPE_ID_VENDOR = videolan
14*4882a593SmuzhiyunLIBBLURAY_DEPENDENCIES = host-pkgconf
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunLIBBLURAY_CONF_OPTS = --disable-bdjava-jar
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBICONV),y)
19*4882a593SmuzhiyunLIBBLURAY_DEPENDENCIES += libiconv
20*4882a593Smuzhiyunendif
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBUDFREAD),y)
23*4882a593SmuzhiyunLIBBLURAY_DEPENDENCIES += libudfread
24*4882a593Smuzhiyunendif
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_FREETYPE),y)
27*4882a593SmuzhiyunLIBBLURAY_DEPENDENCIES += freetype
28*4882a593SmuzhiyunLIBBLURAY_CONF_OPTS += --with-freetype
29*4882a593Smuzhiyunelse
30*4882a593SmuzhiyunLIBBLURAY_CONF_OPTS += --without-freetype
31*4882a593Smuzhiyunendif
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_FONTCONFIG),y)
34*4882a593SmuzhiyunLIBBLURAY_DEPENDENCIES += fontconfig
35*4882a593SmuzhiyunLIBBLURAY_CONF_OPTS += --with-fontconfig
36*4882a593Smuzhiyunelse
37*4882a593SmuzhiyunLIBBLURAY_CONF_OPTS += --without-fontconfig
38*4882a593Smuzhiyunendif
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBXML2),y)
41*4882a593SmuzhiyunLIBBLURAY_DEPENDENCIES += libxml2
42*4882a593SmuzhiyunLIBBLURAY_CONF_OPTS += --with-libxml2
43*4882a593Smuzhiyunelse
44*4882a593SmuzhiyunLIBBLURAY_CONF_OPTS += --without-libxml2
45*4882a593Smuzhiyunendif
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun$(eval $(autotools-package))
48