Commit b261a013 authored by Thijs Vermeir's avatar Thijs Vermeir Committed by Peter Korsgaard
Browse files

x265: new package

x265 is a H.265 / HEVC video encoder application library, designed to encode
video or images into an H.265 / HEVC encoded bitstream.

http://x265.org



[Peter: use positive logic for CLI option]
Signed-off-by: default avatarThijs Vermeir <thijsvermeir@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 77a30a05
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -978,6 +978,7 @@ menu "Multimedia"
	source "package/live555/Config.in"
	source "package/mediastreamer/Config.in"
	source "package/x264/Config.in"
	source "package/x265/Config.in"
endmenu

menu "Networking"

package/x265/Config.in

0 → 100644
+23 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_X265
	bool "x265"
	depends on BR2_INSTALL_LIBSTDCPP
	help
	  x265 is an open source free software and library for encoding video
	  using the High Efficiency Video Coding (HEVC/H.265) standard. x265 is
	  offered under either the GNU General Public License (GPL) 2 license or
	  a commercial license, similar to the x264 project.

	  http://x265.org

if BR2_PACKAGE_X265

config BR2_PACKAGE_X265_CLI
	bool "CLI"
	help
	  Command-line tool to encode video streams into the
	  H.265/HEVC compression format.

endif

comment "x265 needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP

package/x265/x265.hash

0 → 100644
+2 −0
Original line number Diff line number Diff line
# Locally generated
sha256 760e6280c688f1ea90c492d19fc6d4084ca1c4b0ea9b2e3c736d32565c30d857 x265_1.8.tar.gz

package/x265/x265.mk

0 → 100644
+31 −0
Original line number Diff line number Diff line
################################################################################
#
# 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)
X265_CONF_OPTS += -DENABLE_SHARED=true -DENABLE_PIC=true
else
X265_CONF_OPTS += -DENABLE_SHARED=false
endif

ifeq ($(BR2_PACKAGE_X265_CLI),y)
X265_CONF_OPTS += -DENABLE_CLI=true
else
X265_CONF_OPTS += -DENABLE_CLI=else
endif

$(eval $(cmake-package))