From patchwork Tue Jan 7 16:37:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 55140 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6CECE77197 for ; Tue, 7 Jan 2025 16:36:59 +0000 (UTC) Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by mx.groups.io with SMTP id smtpd.web11.25228.1736267813867086659 for ; Tue, 07 Jan 2025 08:36:54 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.21, mailfrom: f_l_k@t-online.de) Received: from fwd83.aul.t-online.de (fwd83.aul.t-online.de [10.223.144.109]) by mailout10.t-online.de (Postfix) with SMTP id ECC8E24D for ; Tue, 7 Jan 2025 17:36:51 +0100 (CET) Received: from intel-corei7-64.fritz.box ([84.163.46.246]) by fwd83.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1tVCZW-1TnrKj0; Tue, 7 Jan 2025 17:36:50 +0100 From: Markus Volk To: openembedded-devel@lists.openembedded.org Subject: [meta-multimedia][PATCH] x265: update 3.2.1 -> 4.1 Date: Tue, 7 Jan 2025 17:37:05 +0100 Message-ID: <20250107163705.2845178-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1736267810-6F7FD973-84C8959C/0/0 CLEAN NORMAL X-TOI-MSGID: 2364328a-94e0-4617-906f-86fe2945db2c List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 07 Jan 2025 16:36:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114713 - add PACKAGECONFIG for hdr10plus - add numa support Signed-off-by: Markus Volk --- .../recipes-multimedia/x265/x265_3.2.1.bb | 26 ------------------- .../recipes-multimedia/x265/x265_4.1.bb | 23 ++++++++++++++++ 2 files changed, 23 insertions(+), 26 deletions(-) delete mode 100644 meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb create mode 100644 meta-multimedia/recipes-multimedia/x265/x265_4.1.bb diff --git a/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb b/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb deleted file mode 100644 index 225fbdee87..0000000000 --- a/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb +++ /dev/null @@ -1,26 +0,0 @@ -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 = "GPL-2.0-only" -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[sha256sum] = "fb9badcf92364fd3567f8b5aa0e5e952aeea7a39a2b864387cec31e3b58cbbcc" - -inherit lib_package pkgconfig cmake - -do_generate_toolchain_file:append() { - echo "set(CMAKE_ASM_NASM_FLAGS --debug-prefix-map ${S}=${TARGET_DBGSRC_DIR})" >> ${WORKDIR}/toolchain.cmake -} - -EXTRA_OECMAKE:append:x86 = " -DENABLE_ASSEMBLY=OFF" -EXTRA_OECMAKE:append:aarch64 = " -DENABLE_PIC=ON" - -AS[unexport] = "1" diff --git a/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb b/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb new file mode 100644 index 0000000000..f430eddcef --- /dev/null +++ b/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb @@ -0,0 +1,23 @@ +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 = "GPL-2.0-only" +LICENSE_FLAGS = "commercial" +LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091" + +DEPENDS = "nasm-native gnutls zlib libpcre numactl" + +SRC_URI = "https://bitbucket.org/multicoreware/x265_git/downloads/x265_${PV}.tar.gz" +SRC_URI[sha256sum] = "a31699c6a89806b74b0151e5e6a7df65de4b49050482fe5ebf8a4379d7af8f29" +S = "${WORKDIR}/x265_${PV}/source" + +inherit lib_package cmake pkgconfig + +do_generate_toolchain_file:append() { + echo "set(CMAKE_ASM_NASM_FLAGS --debug-prefix-map ${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake +} + +PACKAGECONFIG ?= "hdr10plus" +PACKAGECONFIG[hdr10plus] = "-DENABLE_HDR10_PLUS=ON,-DENABLE_HDR10_PLUS=OFF" +