From cbd445e04485e86ca28ec81b61389efda3dc7f1a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Sep 2024 08:16:54 +0100 Subject: [PATCH] libsdl2: Fix non-deterministic configure option for libsamplerate The libsamplerate option was floating and being enabled on some systems and not others. Fix this to be deterministic. (From OE-Core rev: 7ee654579ccf818708989251a97662ea11218d14) Signed-off-by: Richard Purdie (cherry picked from commit 61455a839e568a3ae7e059ea95c02a1c88d39e1a) Signed-off-by: Steve Sakoman --- meta/recipes-graphics/libsdl2/libsdl2_2.30.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.30.1.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.30.1.bb index 891e91190a..7a14104671 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.30.1.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.30.1.bb @@ -67,6 +67,7 @@ PACKAGECONFIG[directfb] = "-DSDL_DIRECTFB=ON,-DSDL_DIRECTFB=OFF,directfb,direc PACKAGECONFIG[gles2] = "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2" PACKAGECONFIG[jack] = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack" PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm virtual/libgbm" +PACKAGECONFIG[libsamplerate] = "-DSDL_LIBSAMPLERATE=ON,-DSDL_LIBSAMPLERATE=OFF,libsamplerate0" # The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers, # so we'll just use libusb when it's available. PACKAGECONFIG[libusb] = ",,libusb1"