30a3e8d108
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libbluray
|
|
#
|
|
################################################################################
|
|
|
|
LIBBLURAY_VERSION = 1.0.0
|
|
LIBBLURAY_SITE = http://get.videolan.org/libbluray/$(LIBBLURAY_VERSION)
|
|
LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2
|
|
LIBBLURAY_INSTALL_STAGING = YES
|
|
LIBBLURAY_LICENSE = LGPL-2.1+
|
|
LIBBLURAY_LICENSE_FILES = COPYING
|
|
LIBBLURAY_DEPENDENCIES = host-pkgconf
|
|
|
|
LIBBLURAY_CONF_OPTS = --enable-udf --disable-bdjava
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
LIBBLURAY_DEPENDENCIES += libiconv
|
|
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))
|