File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ SUMMARY = "H.265/HEVC video encoder"
2
+ DESCRIPTION = "A free software library and application for encoding video streams into the H.265/HEVC format."
3
+ HOMEPAGE = "https://bitbucket.org/multicoreware/x265_git"
4
+
5
+ LICENSE = "GPL-2.0-only"
6
+ LICENSE_FLAGS = "commercial"
7
+ LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091"
8
+
9
+ DEPENDS = "nasm-native gnutls zlib libpcre numactl"
10
+
11
+ SRC_URI = "https://bitbucket.org/multicoreware/x265_git/downloads/x265_${PV} .tar.gz"
12
+ SRC_URI [sha256sum ] = "a31699c6a89806b74b0151e5e6a7df65de4b49050482fe5ebf8a4379d7af8f29"
13
+ S = "${WORKDIR} /x265_${PV} /source"
14
+
15
+ inherit lib_package cmake pkgconfig
16
+
17
+ EXTRA_OECMAKE += "-DENABLE_PIC=ON -DENABLE_SHARED=ON -DENABLE_CLI=ON"
18
+ EXTRA_OECMAKE :append :x86 = " -DENABLE_ASSEMBLY=OFF"
19
+ do_generate_toolchain_file :append () {
20
+ echo "set(CMAKE_ASM_NASM_FLAGS -DPIC --debug-prefix-map ${S} =/usr/src/debug/${PN} /${EXTENDPE}${PV} -${PR} )" >> ${WORKDIR} /toolchain . cmake
21
+ }
22
+
23
+ PACKAGECONFIG ?= "hdr10plus 10bit"
24
+ PACKAGECONFIG [hdr10plus ] = "-DENABLE_HDR10_PLUS=ON,-DENABLE_HDR10_PLUS=OFF"
25
+ PACKAGECONFIG [10 bit ] = "-DHIGH_BIT_DEPTH=ON,-DHIGH_BIT_DEPTH=OFF"
26
+
27
+ FILES :${PN} += "${libdir} /libhdr10plus.so"
28
+ FILES :${PN} -dev = "${includedir} ${libdir} /pkgconfig ${libdir} /libx265.so"
29
+
You can’t perform that action at this time.
0 commit comments