2015-10-24 21:50:28 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# x265
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
X265_VERSION = 1.8
|
|
|
|
X265_SOURCE = x265_$(X265_VERSION).tar.gz
|
|
|
|
X265_SITE = https://bitbucket.org/multicoreware/x265/downloads
|
|
|
|
X265_LICENSE = GPLv2+
|
|
|
|
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)
|
2015-10-26 21:16:38 +01:00
|
|
|
X265_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_PIC=ON
|
2015-10-24 21:50:28 +02:00
|
|
|
else
|
2015-10-26 21:16:38 +01:00
|
|
|
X265_CONF_OPTS += -DENABLE_SHARED=OFF
|
2015-10-24 21:50:28 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_X265_CLI),y)
|
2015-10-26 21:16:38 +01:00
|
|
|
X265_CONF_OPTS += -DENABLE_CLI=ON
|
2015-10-24 21:50:28 +02:00
|
|
|
else
|
2015-10-26 21:16:38 +01:00
|
|
|
X265_CONF_OPTS += -DENABLE_CLI=OFF
|
2015-10-24 21:50:28 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|