From patchwork Thu Apr 24 21:39:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 61847 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 EB67FC369D5 for ; Thu, 24 Apr 2025 21:40:09 +0000 (UTC) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) by mx.groups.io with SMTP id smtpd.web10.540.1745530800273938510 for ; Thu, 24 Apr 2025 14:40:00 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.22, mailfrom: f_l_k@t-online.de) Received: from fwd72.aul.t-online.de (fwd72.aul.t-online.de [10.223.144.98]) by mailout12.t-online.de (Postfix) with SMTP id 6D3301E74 for ; Thu, 24 Apr 2025 23:39:58 +0200 (CEST) Received: from intel-corei7-64.fritz.box ([84.154.166.69]) by fwd72.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1u84IY-3P16un0; Thu, 24 Apr 2025 23:39:58 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Subject: [oe-core][PATCHv2] default-providers.inc: add entries for virtual/libsdl2 Date: Thu, 24 Apr 2025 23:39:51 +0200 Message-ID: <20250424213951.2514902-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1745530798-6D7F99F0-47090915/0/0 CLEAN NORMAL X-TOI-MSGID: 62759085-5894-4059-9ede-0a735e8d5b28 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, 24 Apr 2025 21:40:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/215406 virtual/libsdl2 can be provided by 'libsdl2' and 'libsdl2-compat' where the latter is a replacement for libsdl2 that uses libsdl3 behind the scenes and should be favored if applicable. Signed-off-by: Markus Volk --- meta/conf/distro/include/default-providers.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index cebd0400f4..ee91af8796 100644 --- a/meta/conf/distro/include/default-providers.inc +++ b/meta/conf/distro/include/default-providers.inc @@ -4,6 +4,8 @@ BB_RECIPE_VIRTUAL_PROVIDERS = "virtual/cross-cc virtual/cross-c++ virtual/cross-binutils virtual/nativesdk-cross-cc virtual/nativesdk-cross-c++ virtual/nativesdk-cross-binutils" PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg" +PREFERRED_PROVIDER_virtual/libsdl2 ?= "libsdl2" +PREFERRED_PROVIDER_virtual/libsdl2-native ?= "libsdl2-native" PREFERRED_PROVIDER_virtual/egl ?= "mesa" PREFERRED_PROVIDER_virtual/libgl ?= "mesa" PREFERRED_PROVIDER_virtual/libglx ?= "mesa" @@ -32,6 +34,7 @@ VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock" VIRTUAL-RUNTIME_base-utils-syslog ?= "busybox-syslog" VIRTUAL-RUNTIME_keymaps ?= "keymaps" VIRTUAL-RUNTIME_dbus ?= "dbus" +VIRTUAL-RUNTIME_libsdl2 ?= "libsdl2" # # Default recipe providers @@ -62,5 +65,6 @@ PREFERRED_PROVIDER_pkgconfig-native ?= "pkgconfig-native" PREFERRED_RPROVIDER_initd-functions ?= "initscripts" PREFERRED_PROVIDER_nativesdk-mesa ?= "nativesdk-mesa" +PREFERRED_PROVIDER_virtual/nativesdk-libsdl2 ?= "nativesdk-libsdl2" PREFERRED_RPROVIDER_virtual-x-terminal-emulator ?= "rxvt-unicode"