af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 lines
767 B
Makefile
32 lines
767 B
Makefile
################################################################################
|
|
#
|
|
# x265
|
|
#
|
|
################################################################################
|
|
|
|
X265_VERSION = 2.3
|
|
X265_SOURCE = x265_$(X265_VERSION).tar.gz
|
|
X265_SITE = https://bitbucket.org/multicoreware/x265/downloads
|
|
X265_LICENSE = GPL-2.0+
|
|
X265_LICENSE_FILES = COPYING
|
|
X265_SUBDIR = source
|
|
X265_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
|
X265_DEPENDENCIES += host-yasm
|
|
endif
|
|
|
|
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
|
X265_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_PIC=ON
|
|
else
|
|
X265_CONF_OPTS += -DENABLE_SHARED=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_X265_CLI),y)
|
|
X265_CONF_OPTS += -DENABLE_CLI=ON
|
|
else
|
|
X265_CONF_OPTS += -DENABLE_CLI=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|