From patchwork Thu Jan 16 09:58:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 55658 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 7F1BEC02180 for ; Thu, 16 Jan 2025 09:58:49 +0000 (UTC) Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by mx.groups.io with SMTP id smtpd.web10.44807.1737021525572569530 for ; Thu, 16 Jan 2025 01:58:45 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.17, mailfrom: f_l_k@t-online.de) Received: from fwd76.aul.t-online.de (fwd76.aul.t-online.de [10.223.144.102]) by mailout02.t-online.de (Postfix) with SMTP id DF1B2F7D for ; Thu, 16 Jan 2025 10:58:42 +0100 (CET) Received: from intel-corei7-64.fritz.box ([79.219.226.124]) by fwd76.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1tYMe7-3qIWkD0; Thu, 16 Jan 2025 10:58:39 +0100 From: Markus Volk To: openembedded-devel@lists.openembedded.org Subject: [meta-multimedia][PATCHv2] libde265: switch to cmake buildsystem Date: Thu, 16 Jan 2025 10:58:59 +0100 Message-ID: <20250116095859.4084505-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1737021519-B6FFA9C7-041D6C49/0/0 CLEAN NORMAL X-TOI-MSGID: d758ff3f-c076-422b-8123-652fb7d9fc20 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 ; Thu, 16 Jan 2025 09:58:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114909 This fixes build issues with clang/qemuarm Signed-off-by: Markus Volk --- .../recipes-multimedia/libde265/libde265_1.0.15.bb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/libde265/libde265_1.0.15.bb b/meta-multimedia/recipes-multimedia/libde265/libde265_1.0.15.bb index 818654bdb0..12bdb23354 100644 --- a/meta-multimedia/recipes-multimedia/libde265/libde265_1.0.15.bb +++ b/meta-multimedia/recipes-multimedia/libde265/libde265_1.0.15.bb @@ -13,12 +13,10 @@ SRCREV = "17bb8d9fcea62db8cdeb0fc7ef8d15dbd19a22e4" S = "${WORKDIR}/git" -EXTRA_OECONF = "--disable-sherlock265" +inherit cmake pkgconfig -inherit autotools pkgconfig +PACKAGECONFIG ?= "libsdl" +PACKAGECONFIG[libsdl] = "-DENABLE_SDL=ON,-DENABLE_SDL=OFF,libsdl2" -PACKAGECONFIG ?= "dec265" -PACKAGECONFIG[dec265] = "--enable-dec265,--disable-dec265,libsdl2" - -PACKAGES =+ "${PN}-tools" -FILES:${PN}-tools = "${bindir}/*" +FILES:${PN} += "${libdir}/libde265.so" +FILES:${PN}-dev = "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"