253c80291d
cpe:2.3🅰️multicorewareinc:x265 is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Amulticorewareinc%3Ax265 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
40 lines
1010 B
Makefile
40 lines
1010 B
Makefile
################################################################################
|
|
#
|
|
# x265
|
|
#
|
|
################################################################################
|
|
|
|
X265_VERSION = 3.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_CPE_ID_VENDOR = multicorewareinc
|
|
X265_SUBDIR = source
|
|
X265_INSTALL_STAGING = YES
|
|
X265_MAKE = $(MAKE1)
|
|
|
|
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
|
X265_DEPENDENCIES += host-nasm
|
|
endif
|
|
|
|
# disable altivec, it has build issues
|
|
# https://bitbucket.org/multicoreware/x265/issues/320/
|
|
ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y)
|
|
X265_CONF_OPTS += -DENABLE_ALTIVEC=OFF
|
|
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))
|