From patchwork Thu Apr 24 21:36:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 61846 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 ED158C369D5 for ; Thu, 24 Apr 2025 21:37:09 +0000 (UTC) Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by mx.groups.io with SMTP id smtpd.web11.468.1745530625561781195 for ; Thu, 24 Apr 2025 14:37:06 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.80, mailfrom: f_l_k@t-online.de) Received: from fwd81.aul.t-online.de (fwd81.aul.t-online.de [10.223.144.107]) by mailout01.t-online.de (Postfix) with SMTP id D7CB3A4D for ; Thu, 24 Apr 2025 23:37:02 +0200 (CEST) Received: from intel-corei7-64.fritz.box ([84.154.166.69]) by fwd81.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1u84Fi-1hgHMf0; Thu, 24 Apr 2025 23:37:02 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Subject: [oe-core][PATCH] default-providers.inc: add entries for virtual/libsdl2 Date: Thu, 24 Apr 2025 23:36:55 +0200 Message-ID: <20250424213655.2514554-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1745530622-877FD994-E46A8F00/0/0 CLEAN NORMAL X-TOI-MSGID: 52daae5d-0e3b-4373-b347-157cea8632cb 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:37:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/215405 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..8d7d575fe8 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" 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"