dec265 is now build by default, with or without libsdl

Change the PACKAGECONFIG accordingly

On Thu, Jan 16 2025 at 10:58:59 +01:00:00, Markus Volk <[email protected]> wrote:
This fixes build issues with clang/qemuarm

Signed-off-by: Markus Volk <[email protected] <mailto:[email protected]>>
---
.../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"
--
2.47.1





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114910): 
https://lists.openembedded.org/g/openembedded-devel/message/114910
Mute This Topic: https://lists.openembedded.org/mt/110644740/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to