python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / x265 / x265.mk
blob0fbdb01071f0ba4c415abc6a0fc6cc9a2203fac9
1 ################################################################################
3 # x265
5 ################################################################################
7 X265_VERSION = 2.2
8 X265_SOURCE = x265_$(X265_VERSION).tar.gz
9 X265_SITE = https://bitbucket.org/multicoreware/x265/downloads
10 X265_LICENSE = GPLv2+
11 X265_LICENSE_FILES = COPYING
12 X265_SUBDIR = source
13 X265_INSTALL_STAGING = YES
15 ifeq ($(BR2_i386)$(BR2_x86_64),y)
16 X265_DEPENDENCIES += host-yasm
17 endif
19 ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
20 X265_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_PIC=ON
21 else
22 X265_CONF_OPTS += -DENABLE_SHARED=OFF
23 endif
25 ifeq ($(BR2_PACKAGE_X265_CLI),y)
26 X265_CONF_OPTS += -DENABLE_CLI=ON
27 else
28 X265_CONF_OPTS += -DENABLE_CLI=OFF
29 endif
31 $(eval $(cmake-package))