Skip to contentSkip to conversation

x265: add x265 recipe

PATCH In review Scott Branden 2 participants 5 messages Feb 15, 2020 – Mar 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 x265: add x265 recipe

Add x265 recipe for latest tag of Release_3.2 branch (3.2.1).

---
 .../recipes-multimedia/x265/x265_3.2.1.bb     | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb new file +22 -0
new file mode 100644
index 0000000000..21ae596e05
@@ -0,0 +1,22 @@
+SUMMARY = "H.265/HEVC video encoder"
+DESCRIPTION = "A free software library and application for encoding video streams into the H.265/HEVC format."
+HOMEPAGE = "http://www.videolan.org/developers/x265.html"
+
+LICENSE = "GPLv2"
+LICENSE_FLAGS = "commercial"
+LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091"
+
+DEPENDS = "nasm-native gnutls zlib libpcre"
+
+SRC_URI = "http://ftp.videolan.org/pub/videolan/x265/x265_${PV}.tar.gz"
+
+S = "${WORKDIR}/x265_${PV}/source"
+
+SRC_URI[md5sum] = "94808045a34d88a857e5eaf3f68f4bca"
+SRC_URI[sha256sum] = "fb9badcf92364fd3567f8b5aa0e5e952aeea7a39a2b864387cec31e3b58cbbcc"
+
+inherit lib_package pkgconfig cmake
+
+AS[unexport] = "1"
+
+COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
Signature · 1 line
2.17.1
#1 lore raw

Hi Scott

I am getting a textrel issue reported on musl builds see
https://errors.yoctoproject.org/Errors/Details/393681/

this recipe is already applied but would be good to root cause this issue and find appropriate fix

https://errors.yoctoproject.org/Errors/Details/393681/

Quoted 45 lines · Scott Branden via Openembedded-devel

Add x265 recipe for latest tag of Release_3.2 branch (3.2.1).

---
 .../recipes-multimedia/x265/x265_3.2.1.bb     | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb new file +22 -1
new file mode 100644
index 0000000000..21ae596e05
@@ -0,0 +1,22 @@
+SUMMARY = "H.265/HEVC video encoder"
+DESCRIPTION = "A free software library and application for encoding video streams into the H.265/HEVC format."
+HOMEPAGE = "http://www.videolan.org/developers/x265.html"
+
+LICENSE = "GPLv2"
+LICENSE_FLAGS = "commercial"
+LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091"
+
+DEPENDS = "nasm-native gnutls zlib libpcre"
+
+SRC_URI = "http://ftp.videolan.org/pub/videolan/x265/x265_${PV}.tar.gz"
+
+S = "${WORKDIR}/x265_${PV}/source"
+
+SRC_URI[md5sum] = "94808045a34d88a857e5eaf3f68f4bca"
+SRC_URI[sha256sum] = "fb9badcf92364fd3567f8b5aa0e5e952aeea7a39a2b864387cec31e3b58cbbcc"
+
+inherit lib_package pkgconfig cmake
+
+AS[unexport] = "1"
+
+COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 10 lines · Khem Raj

Hi Scott

I am getting a textrel issue reported on musl builds see
https://errors.yoctoproject.org/Errors/Details/393681/

this recipe is already applied but would be good to root cause this issue and find appropriate fix

https://errors.yoctoproject.org/Errors/Details/393681/

disabling asm helps on 32bit x86

EXTRA_OECMAKE_append_i686 = " -DENABLE_ASSEMBLY=OFF"

can you test this fix and see if this will be ok ?

Quoted 48 lines
Quoted 45 lines · Scott Branden via Openembedded-devel

Add x265 recipe for latest tag of Release_3.2 branch (3.2.1).

---
 .../recipes-multimedia/x265/x265_3.2.1.bb     | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb new file +22 -1
new file mode 100644
index 0000000000..21ae596e05
@@ -0,0 +1,22 @@
+SUMMARY = "H.265/HEVC video encoder"
+DESCRIPTION = "A free software library and application for encoding video streams into the H.265/HEVC format."
+HOMEPAGE = "http://www.videolan.org/developers/x265.html"
+
+LICENSE = "GPLv2"
+LICENSE_FLAGS = "commercial"
+LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091"
+
+DEPENDS = "nasm-native gnutls zlib libpcre"
+
+SRC_URI = "http://ftp.videolan.org/pub/videolan/x265/x265_${PV}.tar.gz"
+
+S = "${WORKDIR}/x265_${PV}/source"
+
+SRC_URI[md5sum] = "94808045a34d88a857e5eaf3f68f4bca"
+SRC_URI[sha256sum] = "fb9badcf92364fd3567f8b5aa0e5e952aeea7a39a2b864387cec31e3b58cbbcc"
+
+inherit lib_package pkgconfig cmake
+
+AS[unexport] = "1"
+
+COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Hi Khem,

Quoted 9 lines · Khem Raj
Quoted 8 lines · Khem Raj

Hi Scott

I am getting a textrel issue reported on musl builds see
https://errors.yoctoproject.org/Errors/Details/393681/

this recipe is already applied but would be good to root cause this issue and find appropriate fix

Quoted 6 lines
Quoted 1 line

https://errors.yoctoproject.org/Errors/Details/393681/

disabling asm helps on 32bit x86

EXTRA_OECMAKE_append_i686 = " -DENABLE_ASSEMBLY=OFF"

can you test this fix and see if this will be ok ?

I'm sorry, I am unable to test this week.
I am ok with you pushing this for 32bit x86 now though - we only test on 64bit.

Quoted 47 lines
Quoted 47 lines
Quoted 44 lines · Scott Branden via Openembedded-devel

Add x265 recipe for latest tag of Release_3.2 branch (3.2.1).

---
  .../recipes-multimedia/x265/x265_3.2.1.bb     | 22 +++++++++++++++++++
  1 file changed, 22 insertions(+)

create mode 100644 meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb

meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb new file +22 -1
new file mode 100644
index 0000000000..21ae596e05
@@ -0,0 +1,22 @@
+SUMMARY = "H.265/HEVC video encoder"
+DESCRIPTION = "A free software library and application for encoding video streams into the H.265/HEVC format."
+HOMEPAGE = "http://www.videolan.org/developers/x265.html"
+
+LICENSE = "GPLv2"
+LICENSE_FLAGS = "commercial"
+LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091"
+
+DEPENDS = "nasm-native gnutls zlib libpcre"
+
+SRC_URI = "http://ftp.videolan.org/pub/videolan/x265/x265_${PV}.tar.gz"
+
+S = "${WORKDIR}/x265_${PV}/source"
+
+SRC_URI[md5sum] = "94808045a34d88a857e5eaf3f68f4bca"
+SRC_URI[sha256sum] = "fb9badcf92364fd3567f8b5aa0e5e952aeea7a39a2b864387cec31e3b58cbbcc"
+
+inherit lib_package pkgconfig cmake
+
+AS[unexport] = "1"
+
+COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 14 lines · Scott Branden

Hi Khem,

Quoted 10 lines · Khem Raj
Quoted 9 lines · Khem Raj

Hi Scott

I am getting a textrel issue reported on musl builds see
https://errors.yoctoproject.org/Errors/Details/393681/

this recipe is already applied but would be good to root cause this issue and find appropriate fix

https://errors.yoctoproject.org/Errors/Details/393681/

Quoted 8 lines
Quoted 5 lines

disabling asm helps on 32bit x86

EXTRA_OECMAKE_append_i686 = " -DENABLE_ASSEMBLY=OFF"

can you test this fix and see if this will be ok ?

I'm sorry, I am unable to test this week.
I am ok with you pushing this for 32bit x86 now though - we only test on 64bit.

OK thanks for the confirmation, I have pushed the fix for x86

Quoted 48 lines
Quoted 47 lines
Quoted 47 lines
Quoted 44 lines · Scott Branden via Openembedded-devel

Add x265 recipe for latest tag of Release_3.2 branch (3.2.1).

---
  .../recipes-multimedia/x265/x265_3.2.1.bb     | 22 +++++++++++++++++++
  1 file changed, 22 insertions(+)

create mode 100644 meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb

meta-openembedded/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb new file +22 -1
new file mode 100644
index 0000000000..21ae596e05
@@ -0,0 +1,22 @@
+SUMMARY = "H.265/HEVC video encoder"
+DESCRIPTION = "A free software library and application for encoding video streams into the H.265/HEVC format."
+HOMEPAGE = "http://www.videolan.org/developers/x265.html"
+
+LICENSE = "GPLv2"
+LICENSE_FLAGS = "commercial"
+LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091"
+
+DEPENDS = "nasm-native gnutls zlib libpcre"
+
+SRC_URI = "http://ftp.videolan.org/pub/videolan/x265/x265_${PV}.tar.gz"
+
+S = "${WORKDIR}/x265_${PV}/source"
+
+SRC_URI[md5sum] = "94808045a34d88a857e5eaf3f68f4bca"
+SRC_URI[sha256sum] = "fb9badcf92364fd3567f8b5aa0e5e952aeea7a39a2b864387cec31e3b58cbbcc"
+
+inherit lib_package pkgconfig cmake
+
+AS[unexport] = "1"
+
+COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel