]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libsdl2: Fix non-deterministic configure option for libsamplerate
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Sep 2024 07:16:54 +0000 (08:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Sep 2024 11:09:58 +0000 (12:09 +0100)
The libsamplerate option was floating and being enabled on some systems
and not others. Fix this to be deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/libsdl2/libsdl2_2.30.7.bb

index f3c78a31e2050c671a247d794f098dce4fb2f15e..25bbe2067a357a4187beee7b98492b6765f56065 100644 (file)
@@ -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"