1 ################################################################################
5 ################################################################################
8 X265_SOURCE
= x265_
$(X265_VERSION
).
tar.gz
9 X265_SITE
= https
://bitbucket.org
/multicoreware
/x265
/downloads
11 X265_LICENSE_FILES
= COPYING
13 X265_INSTALL_STAGING
= YES
15 ifeq ($(BR2_i386
)$(BR2_x86_64
),y
)
16 X265_DEPENDENCIES
+= host-yasm
19 ifeq ($(BR2_SHARED_LIBS
)$(BR2_SHARED_STATIC_LIBS
),y
)
20 X265_CONF_OPTS
+= -DENABLE_SHARED
=ON
-DENABLE_PIC
=ON
22 X265_CONF_OPTS
+= -DENABLE_SHARED
=OFF
25 ifeq ($(BR2_PACKAGE_X265_CLI
),y
)
26 X265_CONF_OPTS
+= -DENABLE_CLI
=ON
28 X265_CONF_OPTS
+= -DENABLE_CLI
=OFF
31 $(eval
$(cmake-package
))